summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2012-03-17 02:05:26 +0000
committerMatt Turner <mattst88@gentoo.org>2012-03-17 02:05:26 +0000
commit330971097208f623e605d147d74dfb69b80b2692 (patch)
treea141fa95be2b7d3c3e835bda3b08ec21b7fb1a1f /x11-libs
parentCall the new Makefile for src_compile and src_install. (diff)
downloadgentoo-2-330971097208f623e605d147d74dfb69b80b2692.tar.gz
gentoo-2-330971097208f623e605d147d74dfb69b80b2692.tar.bz2
gentoo-2-330971097208f623e605d147d74dfb69b80b2692.zip
Version bump. Fixes bug 371899.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libdrm/ChangeLog7
-rw-r--r--x11-libs/libdrm/libdrm-2.4.32.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/x11-libs/libdrm/ChangeLog b/x11-libs/libdrm/ChangeLog
index 423a0de9a5d9..c4e47e18ff0b 100644
--- a/x11-libs/libdrm/ChangeLog
+++ b/x11-libs/libdrm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/libdrm
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.184 2012/03/03 16:31:39 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.185 2012/03/17 02:05:26 mattst88 Exp $
+
+*libdrm-2.4.32 (17 Mar 2012)
+
+ 17 Mar 2012; Matt Turner <mattst88@gentoo.org> +libdrm-2.4.32.ebuild:
+ Version bump. Fixes bug 371899.
03 Mar 2012; Brent Baude <ranger@gentoo.org> libdrm-2.4.27.ebuild:
Marking libdrm-2.4.27 ppc64 stable for bug 394393
diff --git a/x11-libs/libdrm/libdrm-2.4.32.ebuild b/x11-libs/libdrm/libdrm-2.4.32.ebuild
new file mode 100644
index 000000000000..d645667b6ee1
--- /dev/null
+++ b/x11-libs/libdrm/libdrm-2.4.32.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-libs/libdrm/libdrm-2.4.32.ebuild,v 1.1 2012/03/17 02:05:26 mattst88 Exp $
+
+EAPI=4
+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 ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
+VIDEO_CARDS="intel nouveau radeon vmware"
+for card in ${VIDEO_CARDS}; do
+ IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS} libkms"
+RESTRICT="test" # see bug #236845
+
+RDEPEND="dev-libs/libpthread-stubs
+ video_cards_intel? ( >=x11-libs/libpciaccess-0.10 )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.4.28-solaris.patch
+)
+
+pkg_setup() {
+ XORG_CONFIGURE_OPTIONS=(
+ --enable-udev
+ $(use_enable video_cards_intel intel)
+ $(use_enable video_cards_nouveau nouveau-experimental-api)
+ $(use_enable video_cards_radeon radeon)
+ $(use_enable video_cards_vmware vmwgfx-experimental-api)
+ $(use_enable libkms)
+ )
+
+ use elibc_FreeBSD && XORG_EAUTORECONF=yes
+
+ xorg-2_pkg_setup
+}