diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-02-17 20:46:42 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-02-17 20:46:42 +0000 |
commit | 064585a79896d84530804a10af8072976305f5d5 (patch) | |
tree | ae57625f7af28a3f0eff8cf916b3414fb8d61ae8 /x11-base/nouveau-drm | |
parent | old (diff) | |
download | gentoo-2-064585a79896d84530804a10af8072976305f5d5.tar.gz gentoo-2-064585a79896d84530804a10af8072976305f5d5.tar.bz2 gentoo-2-064585a79896d84530804a10af8072976305f5d5.zip |
nouveau-drm: new snapshot
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'x11-base/nouveau-drm')
-rw-r--r-- | x11-base/nouveau-drm/ChangeLog | 8 | ||||
-rw-r--r-- | x11-base/nouveau-drm/nouveau-drm-20100216.ebuild | 57 |
2 files changed, 64 insertions, 1 deletions
diff --git a/x11-base/nouveau-drm/ChangeLog b/x11-base/nouveau-drm/ChangeLog index 950172b07fca..7b6c7944ee4d 100644 --- a/x11-base/nouveau-drm/ChangeLog +++ b/x11-base/nouveau-drm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-base/nouveau-drm # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/nouveau-drm/ChangeLog,v 1.1 2010/02/15 21:13:57 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/nouveau-drm/ChangeLog,v 1.2 2010/02/17 20:46:42 chithanh Exp $ + +*nouveau-drm-20100216 (17 Feb 2010) + + 17 Feb 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +nouveau-drm-20100216.ebuild: + new snapshot *nouveau-drm-20100212 (15 Feb 2010) diff --git a/x11-base/nouveau-drm/nouveau-drm-20100216.ebuild b/x11-base/nouveau-drm/nouveau-drm-20100216.ebuild new file mode 100644 index 000000000000..6e4a5c73e85d --- /dev/null +++ b/x11-base/nouveau-drm/nouveau-drm-20100216.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-base/nouveau-drm/nouveau-drm-20100216.ebuild,v 1.1 2010/02/17 20:46:42 chithanh Exp $ + +EAPI=2 + +inherit linux-info linux-mod + +DESCRIPTION="Nouveau DRM Kernel Modules for X11" +HOMEPAGE="http://nouveau.freedesktop.org/" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +DEPEND="virtual/linux-sources" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/master + +CONFIG_CHECK="~BACKLIGHT_CLASS_DEVICE ~DEBUG_FS !DRM ~FB_CFB_FILLRECT ~FB_CFB_COPYAREA ~FB_CFB_IMAGEBLIT ~FRAMEBUFFER_CONSOLE ~!FB_VESA ~!FB_UVESA ~I2C_ALGOBIT ~VGA_ARB" + +pkg_setup() { + linux-mod_pkg_setup + if kernel_is lt 2 6 32; then + eerror "You need kernel 2.6.32 for nouveau-drm" + die "Incompatible kernel version" + fi + if kernel_is ge 2 6 33; then + elog "For newer kernels newer than 2.6.32 there is integrated nouveau DRM." + elog "Use that if you experience build issues." + fi +} + +src_compile() { + set_arch_to_kernel + emake \ + LINUXDIR="${KERNEL_DIR}" \ + NOUVEAUROOTDIR="${PWD}" \ + -f "${FILESDIR}"/${PN}-20100212-Makefile \ + || die "Compiling kernel modules failed" +} + +src_install() { + insinto /lib/modules/${KV_FULL}/${PN} + doins drivers/gpu/drm/{*/,}*.ko || die "doins failed" +} + +pkg_postinst() { + 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 +} |