summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-02-08 02:13:45 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-02-08 02:13:45 +0000
commit6d6ff21781a9eeb08f5c3817f0e48c916d281f69 (patch)
treed2740e8a93ac1a837e3d0f2c6d2d8afcc98ddba1 /x11-libs
parentversion bump (bug #366321) with contributions from at least Jon Severinsson, ... (diff)
downloadgentoo-2-6d6ff21781a9eeb08f5c3817f0e48c916d281f69.tar.gz
gentoo-2-6d6ff21781a9eeb08f5c3817f0e48c916d281f69.tar.bz2
gentoo-2-6d6ff21781a9eeb08f5c3817f0e48c916d281f69.zip
Version bump.
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libdrm/ChangeLog8
-rw-r--r--x11-libs/libdrm/libdrm-2.4.31.ebuild49
2 files changed, 56 insertions, 1 deletions
diff --git a/x11-libs/libdrm/ChangeLog b/x11-libs/libdrm/ChangeLog
index 748e6ba00a98..a387b3799cf5 100644
--- a/x11-libs/libdrm/ChangeLog
+++ b/x11-libs/libdrm/ChangeLog
@@ -1,6 +1,12 @@
# 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.180 2012/01/07 20:47:41 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.181 2012/02/08 02:13:45 chithanh Exp $
+
+*libdrm-2.4.31 (08 Feb 2012)
+
+ 08 Feb 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +libdrm-2.4.31.ebuild:
+ Version bump.
*libdrm-2.4.30 (07 Jan 2012)
diff --git a/x11-libs/libdrm/libdrm-2.4.31.ebuild b/x11-libs/libdrm/libdrm-2.4.31.ebuild
new file mode 100644
index 000000000000..7d50968a2256
--- /dev/null
+++ b/x11-libs/libdrm/libdrm-2.4.31.ebuild
@@ -0,0 +1,49 @@
+# 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.31.ebuild,v 1.1 2012/02/08 02:13:45 chithanh 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}
+ >=x11-libs/libpciaccess-0.10"
+
+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
+}