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
commit116348387e9d3c8b947cc7e3c1999041614c81b3 (patch)
tree06ca5c9a97ea6711301a41ffe03d89b0014cf853 /sys-apps/hwdata-gentoo
parentAdded openal to RDEPEND and closing bug #112906. (diff)
downloadgentoo-2-116348387e9d3c8b947cc7e3c1999041614c81b3.tar.gz
gentoo-2-116348387e9d3c8b947cc7e3c1999041614c81b3.tar.bz2
gentoo-2-116348387e9d3c8b947cc7e3c1999041614c81b3.zip
Initial import. Ebuild by me.
(Portage version: 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/Manifest5
-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, 91 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..d72380739b6a
--- /dev/null
+++ b/sys-apps/hwdata-gentoo/Manifest
@@ -0,0 +1,5 @@
+MD5 205c0ec7301daabd8ca6c67c437ae7e8 files/digest-hwdata-gentoo-0.1 70
+MD5 b830f494f246fd467e4156e12d016876 files/fglrx.patch 318
+MD5 c1074707476f78fda268efac7d5135bd files/nvidia.patch 385
+MD5 7c9772117640ac747a1f028f0cf349e2 hwdata-gentoo-0.1.ebuild 1059
+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>