summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-04-20 20:33:58 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-04-20 20:33:58 +0000
commit97ad01619ab5608a817ea7105595f41c6d49a31d (patch)
tree5686d36df083bbddb86c2710bd4c6b018c6c4bdb /x11-libs/libdrm
parentBump to latest beta. Import of Emil Karlson's ebuild from the x11 overlay. (diff)
downloadgentoo-2-97ad01619ab5608a817ea7105595f41c6d49a31d.tar.gz
gentoo-2-97ad01619ab5608a817ea7105595f41c6d49a31d.tar.bz2
gentoo-2-97ad01619ab5608a817ea7105595f41c6d49a31d.zip
Version bump, bug #466550.
(Portage version: 2.1.11.55/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'x11-libs/libdrm')
-rw-r--r--x11-libs/libdrm/ChangeLog8
-rw-r--r--x11-libs/libdrm/libdrm-2.4.42.ebuild4
-rw-r--r--x11-libs/libdrm/libdrm-2.4.44.ebuild57
3 files changed, 66 insertions, 3 deletions
diff --git a/x11-libs/libdrm/ChangeLog b/x11-libs/libdrm/ChangeLog
index 3180d465ddf1..3af0516f30b8 100644
--- a/x11-libs/libdrm/ChangeLog
+++ b/x11-libs/libdrm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/libdrm
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.219 2013/03/27 10:40:54 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.220 2013/04/20 20:33:58 chithanh Exp $
+
+*libdrm-2.4.44 (20 Apr 2013)
+
+ 20 Apr 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +libdrm-2.4.44.ebuild, libdrm-2.4.42.ebuild:
+ Version bump, bug #466550.
*libdrm-2.4.43 (27 Mar 2013)
diff --git a/x11-libs/libdrm/libdrm-2.4.42.ebuild b/x11-libs/libdrm/libdrm-2.4.42.ebuild
index d05ca5604b1d..eca756ba5b38 100644
--- a/x11-libs/libdrm/libdrm-2.4.42.ebuild
+++ b/x11-libs/libdrm/libdrm-2.4.42.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-2.4.42.ebuild,v 1.2 2013/02/27 05:40:26 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-2.4.42.ebuild,v 1.3 2013/04/20 20:33:58 chithanh Exp $
EAPI=5
inherit xorg-2
@@ -15,7 +15,7 @@ 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 ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-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}"
diff --git a/x11-libs/libdrm/libdrm-2.4.44.ebuild b/x11-libs/libdrm/libdrm-2.4.44.ebuild
new file mode 100644
index 000000000000..2a6e0fc7e9f0
--- /dev/null
+++ b/x11-libs/libdrm/libdrm-2.4.44.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-2.4.44.ebuild,v 1.1 2013/04/20 20:33:58 chithanh Exp $
+
+EAPI=5
+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 ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
+VIDEO_CARDS="exynos freedreno intel nouveau omap radeon vmware"
+for card in ${VIDEO_CARDS}; do
+ IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS} libkms"
+REQUIRED_USE="video_cards_exynos? ( 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_freedreno freedreno-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)
+ $(use_enable libkms)
+ )
+ xorg-2_src_configure
+}