summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2016-11-14 10:49:46 -0800
committerMatt Turner <mattst88@gentoo.org>2016-11-14 13:35:09 -0800
commitdb07b1fe13e683ba204ea722cbfdc9327a5f2684 (patch)
tree0a55a8267b5cec4eceb919bc9f7d44419dd43899 /x11-libs
parentx11-themes/mate-themes-meta: Support gtk+ 3.22 (diff)
downloadgentoo-db07b1fe13e683ba204ea722cbfdc9327a5f2684.tar.gz
gentoo-db07b1fe13e683ba204ea722cbfdc9327a5f2684.tar.bz2
gentoo-db07b1fe13e683ba204ea722cbfdc9327a5f2684.zip
x11-libs/libdrm: Version bump to 2.4.72.
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libdrm/Manifest1
-rw-r--r--x11-libs/libdrm/libdrm-2.4.72.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/x11-libs/libdrm/Manifest b/x11-libs/libdrm/Manifest
index 427f9bf25454..323b3519b5c9 100644
--- a/x11-libs/libdrm/Manifest
+++ b/x11-libs/libdrm/Manifest
@@ -3,3 +3,4 @@ DIST libdrm-2.4.65.tar.bz2 645877 SHA256 71960ac8bde7d710992b1bc8879935e8300a870
DIST libdrm-2.4.68.tar.bz2 735554 SHA256 5b4bd9a5922929bc716411cb74061fbf31b06ba36feb89bc1358a91a8d0ca9df SHA512 646ce2eb6b4d81120d5767f0c4014bfd042ea7030e33aa9a1d016129222d22a0dd012e530d37e1d580f4cc9f4d38e35176ce4d7abeccc086b38ba685cff8e38e WHIRLPOOL 75defa050c11874c7cda511b0aafc559a9a94adb8d6f5beb0434ddd387b6014580462362e1c2a025c5057ee5273497d1e43e840e5230635408fd9f04837f21c8
DIST libdrm-2.4.70.tar.bz2 692277 SHA256 b17d4b39ed97ca0e4cffa0db06ff609e617bac94646ec38e8e0579d530540e7b SHA512 f23833885f675168ce0590e7ed3d41ef081e864262007f17c3d02613dd13b9540a06420ed2ec2c83316a83039ebabbe3fc9759d9b61fc402be8830e993a799a5 WHIRLPOOL e69761297eda6c52ec8f434a0f41f39bb47f92a2ed05b6dee413a63d88dd0b07f936382f0d46b63a4f5acf5b4c5c091ccea634dcb4912195aa86b8244f222c63
DIST libdrm-2.4.71.tar.bz2 722278 SHA256 c66287ddeee5f46ea8f8880b94b80acb3bbc33ba6321d17767eef145046df9b8 SHA512 82c7a0228c601feed612131919c296a62ce7f41287810ab7cc75e01d7ba8af884044077a0dacd8b09be077dc54a4ceab80d9104f285db4a93bc0e66d00d6c77d WHIRLPOOL d22fa6297c20bd67018cca34bbf194aeb36f9bca59ce7a26c320d4bf41371588d84680202fc17904037471709b6c92a66df3b513b6ff619f5b4a3c4def4f52ba
+DIST libdrm-2.4.72.tar.bz2 773803 SHA256 16295ef61a7dec87216fd74a06225f68e3ac3e95224cb31454d2577ac46ccc89 SHA512 81ef810cfb662dec34f18d7b18d9e94cc8871104afe9343995dd15dfba322a456993378d1bd854b56b167c5327e469a7819722d690462718f8ff8c5df9dcfac3 WHIRLPOOL f1ad10cae861cf2132ddd0ea2972d28b5c58f99e46d43ef0f409086313ab29afd3e9916a85e2f57e9cf12f7bafb111ef1a61628d28da542ff2b175ca595eb404
diff --git a/x11-libs/libdrm/libdrm-2.4.72.ebuild b/x11-libs/libdrm/libdrm-2.4.72.ebuild
new file mode 100644
index 000000000000..db7a6a2fbfd0
--- /dev/null
+++ b/x11-libs/libdrm/libdrm-2.4.72.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+XORG_MULTILIB=yes
+inherit xorg-2
+
+DESCRIPTION="X.Org libdrm library"
+HOMEPAGE="https://dri.freedesktop.org/"
+if [[ ${PV} = 9999* ]]; then
+ EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
+else
+ SRC_URI="https://dri.freedesktop.org/${PN}/${P}.tar.bz2"
+fi
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux"
+VIDEO_CARDS="amdgpu exynos freedreno intel nouveau omap radeon tegra vc4 vivante vmware"
+for card in ${VIDEO_CARDS}; do
+ IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS} libkms valgrind"
+RESTRICT="test" # see bug #236845
+
+RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1:=[${MULTILIB_USEDEP}]
+ video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )
+ abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}
+ valgrind? ( dev-util/valgrind )"
+
+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=(
+ # Udev is only used by tests now.
+ --disable-udev
+ --disable-cairo-tests
+ $(use_enable video_cards_amdgpu amdgpu)
+ $(use_enable video_cards_exynos exynos-experimental-api)
+ $(use_enable video_cards_freedreno freedreno)
+ $(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_tegra tegra-experimental-api)
+ $(use_enable video_cards_vc4 vc4)
+ $(use_enable video_cards_vivante etnaviv-experimental-api)
+ $(use_enable video_cards_vmware vmwgfx)
+ $(use_enable libkms)
+ # valgrind installs its .pc file to the pkgconfig for the primary arch
+ --enable-valgrind=$(usex valgrind auto no)
+ )
+
+ xorg-2_src_configure
+}