diff options
Diffstat (limited to 'x11-libs/libdrm')
-rw-r--r-- | x11-libs/libdrm/ChangeLog | 6 | ||||
-rw-r--r-- | x11-libs/libdrm/libdrm-2.4.20-r1.ebuild | 48 |
2 files changed, 53 insertions, 1 deletions
diff --git a/x11-libs/libdrm/ChangeLog b/x11-libs/libdrm/ChangeLog index 8d3efca8a39e..c311e379bb00 100644 --- a/x11-libs/libdrm/ChangeLog +++ b/x11-libs/libdrm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-libs/libdrm # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.147 2011/02/15 13:34:46 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.148 2011/02/18 12:21:41 chithanh Exp $ + + 18 Feb 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +libdrm-2.4.20-r1.ebuild: + Re-add libdrm-2.4.20-r1 for xf86-video-intel-2.9.1 15 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> -libdrm-2.4.20-r1.ebuild: diff --git a/x11-libs/libdrm/libdrm-2.4.20-r1.ebuild b/x11-libs/libdrm/libdrm-2.4.20-r1.ebuild new file mode 100644 index 000000000000..66396e5c7c00 --- /dev/null +++ b/x11-libs/libdrm/libdrm-2.4.20-r1.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-libs/libdrm/libdrm-2.4.20-r1.ebuild,v 1.11 2011/02/18 12:21:41 chithanh Exp $ + +EAPI=3 +inherit xorg-2 + +EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm" + +DESCRIPTION="X.Org libdrm library" +HOMEPAGE="http://dri.freedesktop.org/" +if [[ ${PV} = 9999* ]]; then + SRC_URI="" +else + SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2" +fi + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="kernel_linux" +RESTRICT="test" # see bug #236845 + +RDEPEND="dev-libs/libpthread-stubs" +DEPEND="${RDEPEND}" + +PATCHES=( + # Fixes buidling of x11-drivers/xf86-video-openchrome, Gentoo bug 298352, + # upstream bug 26994 + "${FILESDIR}"/2.4.18-0001-datatypes.patch + ) + +pkg_setup() { + # libdrm_intel fails to build on some arches if dev-libs/libatomic_ops is + # installed, bugs 297630, bug 316421 and bug 316541, and is presently only + # useful on amd64 and x86. + CONFIGURE_OPTIONS="--enable-udev + --enable-nouveau-experimental-api + --enable-vmwgfx-experimental-api + $(use_enable kernel_linux libkms) + $(! use amd64 && ! use x86 && ! use x86-fbsd && echo "--disable-intel")" +} + +pkg_postinst() { + x-modular_pkg_postinst + + ewarn "libdrm's ABI may have changed without change in library name" + ewarn "Please rebuild media-libs/mesa, x11-base/xorg-server and" + ewarn "your video drivers in x11-drivers/*." +} |