summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-11-18 14:59:17 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-11-18 14:59:17 +0000
commitfb4c687fe91f93fff52d0ff3fb6b1347e901512a (patch)
tree6203585556317b9e5bdcd15d5185a201ddcd7d31 /sys-apps/hwdata-gentoo
parentAdded openal to RDEPEND and closing bug #112906. (diff)
downloadhistorical-fb4c687fe91f93fff52d0ff3fb6b1347e901512a.tar.gz
historical-fb4c687fe91f93fff52d0ff3fb6b1347e901512a.tar.bz2
historical-fb4c687fe91f93fff52d0ff3fb6b1347e901512a.zip
Initial import. Ebuild by me.
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'sys-apps/hwdata-gentoo')
-rw-r--r--sys-apps/hwdata-gentoo/ChangeLog10
-rw-r--r--sys-apps/hwdata-gentoo/Manifest6
-rw-r--r--sys-apps/hwdata-gentoo/files/digest-hwdata-gentoo-0.11
-rw-r--r--sys-apps/hwdata-gentoo/files/fglrx.patch12
-rw-r--r--sys-apps/hwdata-gentoo/files/nvidia.patch16
-rw-r--r--sys-apps/hwdata-gentoo/hwdata-gentoo-0.1.ebuild42
-rw-r--r--sys-apps/hwdata-gentoo/metadata.xml5
7 files changed, 92 insertions, 0 deletions
diff --git a/sys-apps/hwdata-gentoo/ChangeLog b/sys-apps/hwdata-gentoo/ChangeLog
new file mode 100644
index 000000000000..89764b35eb73
--- /dev/null
+++ b/sys-apps/hwdata-gentoo/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-apps/hwdata-gentoo
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwdata-gentoo/ChangeLog,v 1.1 2005/11/18 14:59:16 wolf31o2 Exp $
+
+*hwdata-gentoo-0.1 (18 Nov 2005)
+
+ 18 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org> +files/fglrx.patch,
+ +files/nvidia.patch, +metadata.xml, +hwdata-gentoo-0.1.ebuild:
+ Initial import. Ebuild by me.
+
diff --git a/sys-apps/hwdata-gentoo/Manifest b/sys-apps/hwdata-gentoo/Manifest
new file mode 100644
index 000000000000..4e0ec606e6e8
--- /dev/null
+++ b/sys-apps/hwdata-gentoo/Manifest
@@ -0,0 +1,6 @@
+MD5 42ec45d0c36abf6442a608ef9a2ab405 ChangeLog 426
+MD5 205c0ec7301daabd8ca6c67c437ae7e8 files/digest-hwdata-gentoo-0.1 70
+MD5 b830f494f246fd467e4156e12d016876 files/fglrx.patch 318
+MD5 c1074707476f78fda268efac7d5135bd files/nvidia.patch 385
+MD5 e418918e96429549a6b2e47e94f9e867 hwdata-gentoo-0.1.ebuild 1051
+MD5 d86e5b5e47260e5a965eae2afe6d6d40 metadata.xml 159
diff --git a/sys-apps/hwdata-gentoo/files/digest-hwdata-gentoo-0.1 b/sys-apps/hwdata-gentoo/files/digest-hwdata-gentoo-0.1
new file mode 100644
index 000000000000..0dcb8112be19
--- /dev/null
+++ b/sys-apps/hwdata-gentoo/files/digest-hwdata-gentoo-0.1
@@ -0,0 +1 @@
+MD5 fa1e24e23d2275d9bfebcddb55151213 hwdata-gentoo-0.1.tar.bz2 139481
diff --git a/sys-apps/hwdata-gentoo/files/fglrx.patch b/sys-apps/hwdata-gentoo/files/fglrx.patch
new file mode 100644
index 000000000000..2347eeb371a4
--- /dev/null
+++ b/sys-apps/hwdata-gentoo/files/fglrx.patch
@@ -0,0 +1,12 @@
+diff -urN hwdata-gentoo-0.1.orig/Cards hwdata-gentoo-0.1/Cards
+--- hwdata-gentoo-0.1.orig/Cards 2005-11-18 08:28:25.000000000 -0500
++++ hwdata-gentoo-0.1/Cards 2005-11-18 08:29:04.000000000 -0500
+@@ -36,7 +36,7 @@
+ DRIVER fbdev
+
+ NAME ATI Radeon (fglrx)
+-DRIVER radeon
++DRIVER fglrx
+
+ NAME ATI Radeon
+ DRIVER radeon
diff --git a/sys-apps/hwdata-gentoo/files/nvidia.patch b/sys-apps/hwdata-gentoo/files/nvidia.patch
new file mode 100644
index 000000000000..36126c7cea93
--- /dev/null
+++ b/sys-apps/hwdata-gentoo/files/nvidia.patch
@@ -0,0 +1,16 @@
+diff -urN hwdata-gentoo-0.1.orig/Cards hwdata-gentoo-0.1/Cards
+--- hwdata-gentoo-0.1.orig/Cards 2005-11-18 08:28:25.000000000 -0500
++++ hwdata-gentoo-0.1/Cards 2005-11-18 08:30:25.000000000 -0500
+@@ -322,10 +322,10 @@
+ DRIVER cyrix
+
+ NAME NVIDIA Legacy
+-DRIVER nv
++DRIVER nvidia
+
+ NAME NVIDIA GeForce
+-DRIVER nv
++DRIVER nvidia
+
+ NAME NVIDIA GeForce 256 (generic)
+ SEE NVIDIA Legacy
diff --git a/sys-apps/hwdata-gentoo/hwdata-gentoo-0.1.ebuild b/sys-apps/hwdata-gentoo/hwdata-gentoo-0.1.ebuild
new file mode 100644
index 000000000000..75db2dc6e97b
--- /dev/null
+++ b/sys-apps/hwdata-gentoo/hwdata-gentoo-0.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwdata-gentoo/hwdata-gentoo-0.1.ebuild,v 1.1 2005/11/18 14:59:16 wolf31o2 Exp $
+
+inherit eutils
+
+DESCRIPTION="Data for the hwsetup program"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ http://dev.gentoo.org/~wolf31o2/sources/hwdata-gentoo/${P}.tar.bz2"
+HOMEPAGE="http://www.gentoo.org"
+
+IUSE="opengl livecd"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="!sys-apps/hwdata
+ !sys-apps/hwdata-knoppix"
+
+src_unpack() {
+ unpack ${A}
+ if use x86
+ then
+ if use livecd && use opengl
+ then
+ epatch ${FILESDIR}/fglrx.patch || die "patching for ATI"
+ epatch ${FILESDIR}/nvidia.patch || die "patching for nVidia"
+ fi
+ elif use amd64
+ then
+ if use livecd && use opengl
+ then
+ epatch ${FILESDIR}/nvidia.patch || die "patching for nVidia"
+ fi
+ fi
+}
+
+src_install() {
+ dodoc ChangeLog check-cards
+ insinto /usr/share/hwdata
+ doins Cards MonitorsDB pcitable blacklist
+}
diff --git a/sys-apps/hwdata-gentoo/metadata.xml b/sys-apps/hwdata-gentoo/metadata.xml
new file mode 100644
index 000000000000..88653ddd7172
--- /dev/null
+++ b/sys-apps/hwdata-gentoo/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>livecd</herd>
+</pkgmetadata>