Add patch to include driver for Moblity Radeon HD 5470.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Jan 2010 18:37:45 +0000 (19:37 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Jan 2010 18:37:45 +0000 (19:37 +0100)
x11-drivers/xf86-video-radeonhd/Manifest [new file with mode: 0644]
x11-drivers/xf86-video-radeonhd/files/1.3.0-mobility-radeonhd-5470.patch [new file with mode: 0644]
x11-drivers/xf86-video-radeonhd/xf86-video-radeonhd-1.3.0.ebuild [new file with mode: 0644]

diff --git a/x11-drivers/xf86-video-radeonhd/Manifest b/x11-drivers/xf86-video-radeonhd/Manifest
new file mode 100644 (file)
index 0000000..210a496
--- /dev/null
@@ -0,0 +1,3 @@
+AUX 1.3.0-mobility-radeonhd-5470.patch 664 RMD160 fd1e61f4482c48f4f30df61d98a6dd254c98594d SHA1 7ba588955c611c3f323adedb74a68737ebf7514d SHA256 2fc100af903d57afc1b00a86db97106ccd604957faf9fd0e349bf54e3adde7fd
+DIST xf86-video-radeonhd-1.3.0.tar.bz2 772985 RMD160 1f396df814872caf2b58f36929f7b6d1db16959f SHA1 4cdcdbcdc6ec7cd4caa19afdbfc34a8bec461f56 SHA256 5adad675e60e973f2e3522a01457d9214157fbb5005090fe48092e6e5e698ad5
+EBUILD xf86-video-radeonhd-1.3.0.ebuild 886 RMD160 472533718b5a0767e2ae6ee721308e0eacdc72cb SHA1 6b9a140496e3cef10b74bce84dd57cb310e85c62 SHA256 6e49e0a6af078cc5017639023035182d0a6912fd604992c947c97ae346fba41f
diff --git a/x11-drivers/xf86-video-radeonhd/files/1.3.0-mobility-radeonhd-5470.patch b/x11-drivers/xf86-video-radeonhd/files/1.3.0-mobility-radeonhd-5470.patch
new file mode 100644 (file)
index 0000000..a409aab
--- /dev/null
@@ -0,0 +1,12 @@
+diff --git a/src/rhd_id.c b/src/rhd_id.c
+index 6dfaa29..8804256 100644
+--- a/src/rhd_id.c
++++ b/src/rhd_id.c
+@@ -313,6 +313,7 @@ const PCI_ID_LIST = {
+     RHD_DEVICE_MATCH(  0x954F, RHD_RV710 ), /* ATI RADEON HD 4350 */
+     RHD_DEVICE_MATCH(  0x9552, RHD_M92 ),   /* Mobility Radeon HD 4300 Series */
+     RHD_DEVICE_MATCH(  0x9553, RHD_M92 ),   /* Mobility Radeon HD 4500 Series */
++    RHD_DEVICE_MATCH(  0x68E2, RHD_M92 ),   /* Mobility Radeon HD 5400 Series */
+     RHD_DEVICE_MATCH(  0x9555, RHD_M93 ),   /* Mobility Radeon M93 */
+     RHD_DEVICE_MATCH(  0x9557, RHD_M93 ),   /* ATI FirePro RG220 */
+     RHD_DEVICE_MATCH(  0x9580, RHD_RV630 ), /* RV630 */
diff --git a/x11-drivers/xf86-video-radeonhd/xf86-video-radeonhd-1.3.0.ebuild b/x11-drivers/xf86-video-radeonhd/xf86-video-radeonhd-1.3.0.ebuild
new file mode 100644 (file)
index 0000000..758d442
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-radeonhd/xf86-video-radeonhd-1.3.0.ebuild,v 1.5 2009/12/27 18:03:19 josejx Exp $
+
+XDPVER=-1
+inherit x-modular
+
+DESCRIPTION="Experimental Radeon HD video driver."
+HOMEPAGE="http://wiki.x.org/wiki/radeonhd"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=x11-base/xorg-server-1.3.0
+       sys-apps/pciutils"
+DEPEND="${RDEPEND}
+       x11-proto/xextproto
+       x11-proto/xproto"
+
+PATCHES=(
+       "${FILESDIR}/${PV}-mobility-radeonhd-5470.patch"
+)
+
+src_install() {
+       x-modular_src_install
+       dobin utils/conntest/rhd_{conntest,dump}
+}
+
+pkg_postinst() {
+       ewarn "You will need dri from either a 2.6.30 kernel or x11-drm via git."
+       ewarn "See http://wiki.x.org/wiki/radeonhd for details"
+       x-modular_pkg_postinst
+}