Initial import. Ebuild by me.
authorChris Gianelloni <wolf31o2@gentoo.org>
Fri, 18 Nov 2005 14:59:17 +0000 (14:59 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Fri, 18 Nov 2005 14:59:17 +0000 (14:59 +0000)
Package-Manager: portage-2.0.53_rc7

sys-apps/hwdata-gentoo/ChangeLog [new file with mode: 0644]
sys-apps/hwdata-gentoo/Manifest [new file with mode: 0644]
sys-apps/hwdata-gentoo/files/digest-hwdata-gentoo-0.1 [new file with mode: 0644]
sys-apps/hwdata-gentoo/files/fglrx.patch [new file with mode: 0644]
sys-apps/hwdata-gentoo/files/nvidia.patch [new file with mode: 0644]
sys-apps/hwdata-gentoo/hwdata-gentoo-0.1.ebuild [new file with mode: 0644]
sys-apps/hwdata-gentoo/metadata.xml [new file with mode: 0644]

diff --git a/sys-apps/hwdata-gentoo/ChangeLog b/sys-apps/hwdata-gentoo/ChangeLog
new file mode 100644 (file)
index 0000000..89764b3
--- /dev/null
@@ -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 (file)
index 0000000..4e0ec60
--- /dev/null
@@ -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 (file)
index 0000000..0dcb811
--- /dev/null
@@ -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 (file)
index 0000000..2347eeb
--- /dev/null
@@ -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 (file)
index 0000000..36126c7
--- /dev/null
@@ -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 (file)
index 0000000..75db2dc
--- /dev/null
@@ -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 (file)
index 0000000..88653dd
--- /dev/null
@@ -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>