summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2011-04-16 23:15:12 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2011-04-16 23:15:12 +0000
commit62d619af2667cbdbbb744ec5c4d54838ec1118aa (patch)
tree527bf6f12dd78d80ec4e2ae09f21d867b57b286a /x11-base/nouveau-drm
parentSet SUPPORT_PYTHON_ABIS (bug #363893). Fix dependency on Perl. (diff)
downloadgentoo-2-62d619af2667cbdbbb744ec5c4d54838ec1118aa.tar.gz
gentoo-2-62d619af2667cbdbbb744ec5c4d54838ec1118aa.tar.bz2
gentoo-2-62d619af2667cbdbbb744ec5c4d54838ec1118aa.zip
New snapshot.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'x11-base/nouveau-drm')
-rw-r--r--x11-base/nouveau-drm/ChangeLog10
-rw-r--r--x11-base/nouveau-drm/nouveau-drm-20110415.ebuild48
2 files changed, 56 insertions, 2 deletions
diff --git a/x11-base/nouveau-drm/ChangeLog b/x11-base/nouveau-drm/ChangeLog
index 7595dcc76b29..dadd99c910cd 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.15 2010/11/22 16:32:26 chithanh Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-base/nouveau-drm/ChangeLog,v 1.16 2011/04/16 23:15:12 chithanh Exp $
+
+*nouveau-drm-20110415 (16 Apr 2011)
+
+ 16 Apr 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +nouveau-drm-20110415.ebuild:
+ New snapshot.
*nouveau-drm-20101107 (22 Nov 2010)
diff --git a/x11-base/nouveau-drm/nouveau-drm-20110415.ebuild b/x11-base/nouveau-drm/nouveau-drm-20110415.ebuild
new file mode 100644
index 000000000000..1a08907484b2
--- /dev/null
+++ b/x11-base/nouveau-drm/nouveau-drm-20110415.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-base/nouveau-drm/nouveau-drm-20110415.ebuild,v 1.1 2011/04/16 23:15:12 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=""
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/master
+
+CONFIG_CHECK="~ACPI_VIDEO ~BACKLIGHT_CLASS_DEVICE ~DEBUG_FS !DRM ~FB_CFB_FILLRECT ~FB_CFB_COPYAREA ~FB_CFB_IMAGEBLIT ~FRAMEBUFFER_CONSOLE ~!FB_NVIDIA ~!FB_RIVA ~!FB_UVESA ~!FB_VGA16 ~I2C_ALGOBIT ~VGA_ARB"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ if kernel_is lt 2 6 39; then
+ eerror "You need kernel 2.6.39 for this version of nouveau-drm"
+ die "Incompatible kernel version"
+ fi
+ elog "For newer kernels newer than 2.6.32 there is integrated nouveau DRM."
+ elog "Use that if you experience build issues."
+}
+
+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"
+}