summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-09-01 11:08:07 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-09-01 11:08:07 +0000
commitd918b071c08dbcd3fd121670da294c7e7b88543c (patch)
tree5adbfa6e2838d8d2683c9be2a56d75d09356c8b6 /x11-libs
parentInitial commit. Ebuild from gentoo-zh overlay, polished by dlan and me. (diff)
downloadgentoo-2-d918b071c08dbcd3fd121670da294c7e7b88543c.tar.gz
gentoo-2-d918b071c08dbcd3fd121670da294c7e7b88543c.tar.bz2
gentoo-2-d918b071c08dbcd3fd121670da294c7e7b88543c.zip
Version bump.
(Portage version: 2.2.0_alpha123/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.39.ebuild55
2 files changed, 62 insertions, 1 deletions
diff --git a/x11-libs/libdrm/ChangeLog b/x11-libs/libdrm/ChangeLog
index 43dadb1e828c..c4efa0944d3c 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.200 2012/08/26 18:56:13 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.201 2012/09/01 11:08:07 chithanh Exp $
+
+*libdrm-2.4.39 (01 Sep 2012)
+
+ 01 Sep 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +libdrm-2.4.39.ebuild:
+ Version bump.
26 Aug 2012; Raúl Porcel <armin76@gentoo.org> libdrm-2.4.33.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #419473
diff --git a/x11-libs/libdrm/libdrm-2.4.39.ebuild b/x11-libs/libdrm/libdrm-2.4.39.ebuild
new file mode 100644
index 000000000000..7fccb16ebc7e
--- /dev/null
+++ b/x11-libs/libdrm/libdrm-2.4.39.ebuild
@@ -0,0 +1,55 @@
+# 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.39.ebuild,v 1.1 2012/09/01 11:08:07 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 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
+VIDEO_CARDS="exynos intel nouveau omap 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
+)
+
+src_prepare() {
+ if [[ ${PV} = 9999* ]]; then
+ # tests are restricted, no point in building them
+ sed -ie 's/tests //' "${S}"/Makefile.am
+ fi
+ xorg-2_src_prepare
+}
+
+src_configure() {
+ XORG_CONFIGURE_OPTIONS=(
+ --enable-udev
+ $(use_enable video_cards_exynos exynos-experimental-api)
+ $(use_enable video_cards_intel intel)
+ $(use_enable video_cards_nouveau nouveau)
+ $(use_enable video_cards_omap omap-experimental-api)
+ $(use_enable video_cards_radeon radeon)
+ $(use_enable video_cards_vmware vmwgfx-experimental-api)
+ $(use_enable libkms)
+ )
+ xorg-2_src_configure
+}