diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2012-07-31 00:27:56 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2012-07-31 00:27:56 +0000 |
commit | 164ce95a96127697e5af23d62b9bc71e1a207661 (patch) | |
tree | 38baf5a4d94f42d434bbbdbe8d2bd1a836b293d3 /x11-base | |
parent | Version bump. (diff) | |
download | gentoo-2-164ce95a96127697e5af23d62b9bc71e1a207661.tar.gz gentoo-2-164ce95a96127697e5af23d62b9bc71e1a207661.tar.bz2 gentoo-2-164ce95a96127697e5af23d62b9bc71e1a207661.zip |
New snapshot.
(Portage version: 2.2.0_alpha115/cvs/Linux x86_64)
Diffstat (limited to 'x11-base')
-rw-r--r-- | x11-base/nouveau-drm/ChangeLog | 9 | ||||
-rw-r--r-- | x11-base/nouveau-drm/nouveau-drm-20120728.ebuild | 48 |
2 files changed, 55 insertions, 2 deletions
diff --git a/x11-base/nouveau-drm/ChangeLog b/x11-base/nouveau-drm/ChangeLog index 4aa5173d6eb8..3ce18b75b037 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-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/nouveau-drm/ChangeLog,v 1.23 2012/06/07 11:20:05 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/nouveau-drm/ChangeLog,v 1.24 2012/07/31 00:27:56 chithanh Exp $ + +*nouveau-drm-20120728 (31 Jul 2012) + + 31 Jul 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +nouveau-drm-20120728.ebuild: + New snapshot. *nouveau-drm-20120605 (07 Jun 2012) @@ -132,4 +138,3 @@ +nouveau-drm-20100212.ebuild, +files/nouveau-drm-20100212-Makefile, +metadata.xml: Initial import for bug #253705 - diff --git a/x11-base/nouveau-drm/nouveau-drm-20120728.ebuild b/x11-base/nouveau-drm/nouveau-drm-20120728.ebuild new file mode 100644 index 000000000000..053cbd0ecbac --- /dev/null +++ b/x11-base/nouveau-drm/nouveau-drm-20120728.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-base/nouveau-drm/nouveau-drm-20120728.ebuild,v 1.1 2012/07/31 00:27:56 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 ~MXM_WMI ~VGA_ARB" + +pkg_setup() { + linux-mod_pkg_setup + if kernel_is lt 3 5; then + eerror "You need kernel 3.5 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" +} |