From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-apps/hwdata-gentoo/Manifest | 6 ++++ sys-apps/hwdata-gentoo/files/0.4-openchrome.patch | 22 +++++++++++++ sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild | 40 +++++++++++++++++++++++ sys-apps/hwdata-gentoo/metadata.xml | 12 +++++++ 4 files changed, 80 insertions(+) create mode 100644 sys-apps/hwdata-gentoo/Manifest create mode 100644 sys-apps/hwdata-gentoo/files/0.4-openchrome.patch create mode 100644 sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild create mode 100644 sys-apps/hwdata-gentoo/metadata.xml (limited to 'sys-apps/hwdata-gentoo') diff --git a/sys-apps/hwdata-gentoo/Manifest b/sys-apps/hwdata-gentoo/Manifest new file mode 100644 index 000000000000..6df339528790 --- /dev/null +++ b/sys-apps/hwdata-gentoo/Manifest @@ -0,0 +1,6 @@ +AUX 0.4-openchrome.patch 781 SHA256 760bbb12bd45e054aa9bddb7e19a6dc1aa7a49a0f38d1cfeefce8e93195b85ed SHA512 0fa8effbb7a9ee05780bab67583c9da7b11b38498eaf2b447b5be3190d1b9d924476e07b27bee51b2d6298579a8a07340fc90a2634a579f177f024be0029c9a6 WHIRLPOOL a9857c2d12eddd6ed0d094706ff6313d12ee2385a4b058dca69b065bd0a47e77fe0a6ac626cbafbc9b9f537da52524126e934042035602b6c848a67d4253b8f8 +DIST hwdata-gentoo-0.4.tar.bz2 149060 SHA256 f3bf3853f33cc20be56770f742428fb29ca97769c5984ad80093d2020136918e SHA512 dd62c51986c83ff5a9338fa20d98827cd44d86e808c9a2a52ff327dcdd941d0faed0ea4f85058485e8fc2f78e0c2fa18d3030e27fded8ed1777832ee789c189a WHIRLPOOL a7b35bf6a5b354f2483d6494a5c3f7a19fa9d61cbb6ad91528a12c947ae5562267c3552632bdb86204f494b8ab56ed583fd532bc928300262ef82d523f0b05d9 +EBUILD hwdata-gentoo-0.4.ebuild 851 SHA256 c9aca429983456fa291d63b6d4a678d562f7b6f37627750d9e724f89025a31b4 SHA512 c1c0e2f6036e0e1ecb345a843212ebdcb6bdb497a8bf98113eec0b523ec076e59a3b769677915fbb762ae06f58b5d26cf0f1d5982adbc7cd2128d7f592badc0b WHIRLPOOL 652909c732b61531dff3e4deea81933983ac20a3c86b6691bdbac9b2312a7565b9f6f7278ac73b89b430608b6a7dbc907ece2c95dc4f99b6c50ff3d8c2fe2381 +MISC ChangeLog 2863 SHA256 153dd8b03fc0e1df29b8913e540e96693f0cf2cfe837bd943b86fa3f2f116b07 SHA512 c4eecb0b9506b1abbc6cd8dc8c5a58a05a3aad4788c461c170347ca50be8647787d8e87bc0c32fb4834cc6259f9e8bfec1f4dd3e5927f787e615d5447811ba0a WHIRLPOOL ba78971a6f0ad136c9ffd68b22203e29769cd8c290ec5ca969abcfa11d911542aefe226899ca0c450e1b23b088479322674c1cdb002e2b7b1d7f48b12873937f +MISC ChangeLog-2015 3467 SHA256 857a1b155665676cfe3325e43efd42e8795de003336c68a822818a9edce97223 SHA512 dad7317c562d7f2bd831500b88e8ed54a87aa2fa7ff253a98235d5d8984b59b05cf0ea01069fd37aa5ff265b6bd692311b666808a77d4e5a99dd01cc46349e69 WHIRLPOOL b76106dfee4333bfe6be20cd3c7065d2f23ff736480661aea8acc7493b71ebfc2eb57cb8aecfb564cdd24b90f462fc43551d783016d9d9b61a4a70a2bbac58c2 +MISC metadata.xml 345 SHA256 d1a0d2b2d4bff06d8259f914d84535985b73e871fe0fdaebe8645332c9655b08 SHA512 0d8a0b6099b83e5d54e235442a361a1eceaf6606522aee190382fc03a8b672c1c2559cdd585942b278e7c48acab7c3e9f7021e7faf9e2775e92eea32ecc2c223 WHIRLPOOL 4afb9e710a358d99fc986c29bb8f8b769499ff82ba235f8a71dcef88909bb4bdbc64f85428914982047b47d82c2ddddb8a85146edb0a89debb6c3a8c0a55d243 diff --git a/sys-apps/hwdata-gentoo/files/0.4-openchrome.patch b/sys-apps/hwdata-gentoo/files/0.4-openchrome.patch new file mode 100644 index 000000000000..7b0c6e87c9d5 --- /dev/null +++ b/sys-apps/hwdata-gentoo/files/0.4-openchrome.patch @@ -0,0 +1,22 @@ +--- a/pcitable ++++ b/pcitable +@@ -3688,7 +3688,7 @@ + 0x1106 0x3336 "unknown" "VIA Technologies, Inc.|K8M890CE Host Bridge" + 0x1106 0x3337 "unknown" "VIA Technologies Inc.|VT8237A PCI to ISA Bridge" + 0x1106 0x3340 "unknown" "VIA Technologies, Inc.|PT900 Host Bridge" +-0x1106 0x3344 "unknown" "VIA Technologies, Inc.|UniChrome Pro IGP" ++0x1106 0x3344 "Card:S3 UniChrome" "VIA Technologies, Inc.|UniChrome Pro IGP" + 0x1106 0x3349 "ahci" "VIA Technologies Inc.|VT8251 AHCI/SATA 4-Port Controller" + 0x1106 0x3351 "unknown" "VIA Technologies, Inc.|VT3351 Host Bridge" + 0x1106 0x3364 "unknown" "VIA Technologies, Inc.|P4M900 Host Bridge" +--- a/Cards ++++ b/Cards +@@ -429,7 +429,7 @@ + DRIVER s3 + + NAME S3 UniChrome +-DRIVER via ++DRIVER openchrome + + NAME S3 ViRGE (generic) + DRIVER s3virge diff --git a/sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild b/sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild new file mode 100644 index 000000000000..d3cd08175311 --- /dev/null +++ b/sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="Data for the hwsetup program" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + http://wolf31o2.org/sources/hwdata/${P}.tar.bz2" +HOMEPAGE="http://wolf31o2.org" + +IUSE="opengl binary-drivers" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="!sys-apps/hwdata-redhat" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-openchrome.patch + + if use x86 || use amd64 + then + if use opengl && use binary-drivers + then + continue + else + sed -e 's/DRIVER fglrx/DRIVER radeon/' \ + -e 's/DRIVER nvidia/DRIVER nv/' \ + -i "${S}"/Cards || die + 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..467fca776d12 --- /dev/null +++ b/sys-apps/hwdata-gentoo/metadata.xml @@ -0,0 +1,12 @@ + + + + + livecd@gentoo.org + Gentoo LiveCD Project + + + Adds support for ATI/NVIDIA binary + drivers + + -- cgit v1.2.3