diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-03-16 18:54:09 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-03-16 18:54:09 +0000 |
commit | 37fcccebfed2fe1b350757b6e0af36d06fdb45cb (patch) | |
tree | cfb2174edfd99331e881d06c4868569e675e7300 /x11-base/nouveau-drm/nouveau-drm-20100222.ebuild | |
parent | stable x86, bug 308549 (diff) | |
download | historical-37fcccebfed2fe1b350757b6e0af36d06fdb45cb.tar.gz historical-37fcccebfed2fe1b350757b6e0af36d06fdb45cb.tar.bz2 historical-37fcccebfed2fe1b350757b6e0af36d06fdb45cb.zip |
nouveau-drm: new snapshot, remove old
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'x11-base/nouveau-drm/nouveau-drm-20100222.ebuild')
-rw-r--r-- | x11-base/nouveau-drm/nouveau-drm-20100222.ebuild | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/x11-base/nouveau-drm/nouveau-drm-20100222.ebuild b/x11-base/nouveau-drm/nouveau-drm-20100222.ebuild deleted file mode 100644 index 9d3bd87b77a5..000000000000 --- a/x11-base/nouveau-drm/nouveau-drm-20100222.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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-20100222.ebuild,v 1.1 2010/02/22 22:49:57 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 -} |