initial import of x11-drivers/nouveau-firmware for bug #253705
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Mon, 15 Feb 2010 21:38:01 +0000 (21:38 +0000)
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Mon, 15 Feb 2010 21:38:01 +0000 (21:38 +0000)
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64

x11-drivers/xf86-video-nouveau/ChangeLog [new file with mode: 0644]
x11-drivers/xf86-video-nouveau/Manifest [new file with mode: 0644]
x11-drivers/xf86-video-nouveau/metadata.xml [new file with mode: 0644]
x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild [new file with mode: 0644]

diff --git a/x11-drivers/xf86-video-nouveau/ChangeLog b/x11-drivers/xf86-video-nouveau/ChangeLog
new file mode 100644 (file)
index 0000000..9761ea4
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for x11-drivers/xf86-video-nouveau
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/ChangeLog,v 1.1 2010/02/15 21:38:01 chithanh Exp $
+
+*xf86-video-nouveau-0.0.15_pre20100213 (15 Feb 2010)
+
+  15 Feb 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +xf86-video-nouveau-0.0.15_pre20100213.ebuild, +metadata.xml:
+  Initial import for bug #253705
+
diff --git a/x11-drivers/xf86-video-nouveau/Manifest b/x11-drivers/xf86-video-nouveau/Manifest
new file mode 100644 (file)
index 0000000..3544ab3
--- /dev/null
@@ -0,0 +1,4 @@
+DIST xf86-video-nouveau-0.0.15_pre20100213.tar.bz2 73648 RMD160 e92e5e67750101d19de48a4acb788852a93f4926 SHA1 eed1e5e7554bd91fb25496540235e5ad19892c9d SHA256 370144495606f9cfd21185393a66be2618978c3e8487fb5c0638ccf78f2e73ec
+EBUILD xf86-video-nouveau-0.0.15_pre20100213.ebuild 1262 RMD160 12c605384ac3ab62da0219ed4edbd8bbe75e1728 SHA1 7437779dc8410638360d4d64ded6cd142c933c17 SHA256 3bd7de9b0866f132e8710fa82e3aedd47bdf46ae6fd3ff1f182d0db2008394d3
+MISC ChangeLog 456 RMD160 9077db27595f28d78211d0f3fab39882d457308c SHA1 1b13ffe35502d574416afcb0d813e6d82212c775 SHA256 40a0b0311cd4ef7645218d4894cc3f69d654edeb555764867aae4d4e28947ff5
+MISC metadata.xml 265 RMD160 24a368e280b83393abb1cda7b15e7888e1570a04 SHA1 b60c32aece47cc1c4febe46e54786494a3b913bf SHA256 1240cc1d6dda0bc1a42ca2bffe70aa6a1d34f85f28112615ceb327f58a594a16
diff --git a/x11-drivers/xf86-video-nouveau/metadata.xml b/x11-drivers/xf86-video-nouveau/metadata.xml
new file mode 100644 (file)
index 0000000..40a4ce9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+       <email>chithanh@gentoo.org</email>
+       <name>Chí-Thanh Christopher Nguyễn</name>
+</maintainer>
+<herd>x11</herd>
+</pkgmetadata>
diff --git a/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild b/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild
new file mode 100644 (file)
index 0000000..b65cb2f
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild,v 1.1 2010/02/15 21:38:01 chithanh Exp $
+
+EAPI=2
+SNAPSHOT="yes"
+inherit linux-info x-modular
+
+DESCRIPTION="Nouveau video driver"
+HOMEPAGE="http://nouveau.freedesktop.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=x11-base/xorg-server-1.7[-minimal]
+       >=x11-libs/libdrm-2.4.18_pre"
+
+DEPEND="${RDEPEND}
+       x11-proto/fontsproto
+       x11-proto/randrproto
+       x11-proto/renderproto
+       x11-proto/videoproto
+       x11-proto/xextproto
+       x11-proto/xf86driproto
+       x11-proto/xproto"
+
+pkg_postinst() {
+       x-modular_pkg_postinst
+       if ! has_version x11-base/nouveau-drm; then
+               if ! linux_config_exists || ! linux_chkconfig_present DRM_NOUVEAU; then
+                       ewarn "Nouveau DRM not detected. If you want any kind of"
+                       ewarn "acceleration with nouveau, emerge x11-base/nouveau-drm or"
+                       ewarn "enable CONFIG_DRM_NOUVEAU in the kernel."
+               fi
+       fi
+       if ! has_version x11-drivers/nouveau-firmware; then
+               ewarn "Nouveau firmware not detected, for acceleration on NV50 (G80)"
+               ewarn "and newer chipsets, emerge x11-drivers/nouveau-firmware."
+       fi
+}