diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2011-11-21 11:16:42 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2011-11-21 11:16:42 +0000 |
commit | 7a31c265f72bb0974399b1e3a2234472fc42a731 (patch) | |
tree | e63c5bf235de79a8da3f554d2b82853966589c7f /x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.16_pre20111109.ebuild | |
parent | Use java-vm-2.eclass to set PaX markings (diff) | |
download | gentoo-2-7a31c265f72bb0974399b1e3a2234472fc42a731.tar.gz gentoo-2-7a31c265f72bb0974399b1e3a2234472fc42a731.tar.bz2 gentoo-2-7a31c265f72bb0974399b1e3a2234472fc42a731.zip |
New snapshot.
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.16_pre20111109.ebuild')
-rw-r--r-- | x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.16_pre20111109.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.16_pre20111109.ebuild b/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.16_pre20111109.ebuild new file mode 100644 index 000000000000..cd34b69071a1 --- /dev/null +++ b/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.16_pre20111109.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2011 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.16_pre20111109.ebuild,v 1.1 2011/11/21 11:16:42 chithanh Exp $ + +EAPI=4 +XORG_EAUTORECONF="yes" +XORG_DRI="always" +inherit linux-info xorg-2 + +DESCRIPTION="Accelerated Open Source driver for nVidia cards" +HOMEPAGE="http://nouveau.freedesktop.org/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=">=x11-libs/libdrm-2.4.24[video_cards_nouveau]" +DEPEND="${RDEPEND} + x11-proto/glproto + x11-proto/xf86driproto + x11-proto/dri2proto" + +pkg_postinst() { + xorg-2_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, enable CONFIG_DRM_NOUVEAU" + ewarn "in the kernel." + fi + fi +} |