1 |
commit: b53bdc16d5d6b60439c13cbb0175f56c791cc66f |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 29 18:42:13 2017 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 29 18:42:33 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b53bdc16 |
7 |
|
8 |
x11-libs/libdrm: Version bump to 2.4.76 |
9 |
|
10 |
x11-libs/libdrm/Manifest | 1 + |
11 |
x11-libs/libdrm/libdrm-2.4.76.ebuild | 62 ++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 63 insertions(+) |
13 |
|
14 |
diff --git a/x11-libs/libdrm/Manifest b/x11-libs/libdrm/Manifest |
15 |
index a42507cd717..aeb8332f7c4 100644 |
16 |
--- a/x11-libs/libdrm/Manifest |
17 |
+++ b/x11-libs/libdrm/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST libdrm-2.4.75.tar.bz2 774589 SHA256 2d5a500eef412cc287d12268eed79d571e262d4957a2ec9258073f305985054f SHA512 7d30029dfc384024eb6a82a04122064366572f5888ac4594fd9e02bc0a22ed2d154bef1840bd24f0543b77460d6359d7e424d424e10f4256ee3c898041be2292 WHIRLPOOL 24134409e59fe48bae02890b8153c063a49b114bcad9911487aa25ee594fe622ba04a3b2e486a2944ebe4177e205a8a970dd8d584550022780a70cb0447decf9 |
20 |
+DIST libdrm-2.4.76.tar.bz2 783155 SHA256 7cdfb83ea77def453299dd95332aa9257c9f3534ff5844f5c0ce87265c275f3a SHA512 29aa3085fe71f9adaca654e408e74b3f850b82c4af7035fe147d848ad038dac8749619dfa91b1ef24e2ab1d97719d91de4fa67684ef7582285ebc9802aa4d615 WHIRLPOOL 7ae06791574a768f6a01d0ef110fb5c1b1a1925d39e6918145b7b1004b4216e2c4efca980db80ad57c116ed28d47ed121fff8011f8fb52ff704f008b3908c627 |
21 |
|
22 |
diff --git a/x11-libs/libdrm/libdrm-2.4.76.ebuild b/x11-libs/libdrm/libdrm-2.4.76.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..595bd79fadc |
25 |
--- /dev/null |
26 |
+++ b/x11-libs/libdrm/libdrm-2.4.76.ebuild |
27 |
@@ -0,0 +1,62 @@ |
28 |
+# Copyright 1999-2017 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=5 |
32 |
+ |
33 |
+XORG_MULTILIB=yes |
34 |
+inherit xorg-2 |
35 |
+ |
36 |
+DESCRIPTION="X.Org libdrm library" |
37 |
+HOMEPAGE="https://dri.freedesktop.org/" |
38 |
+if [[ ${PV} = 9999* ]]; then |
39 |
+ EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm" |
40 |
+else |
41 |
+ SRC_URI="https://dri.freedesktop.org/${PN}/${P}.tar.bz2" |
42 |
+fi |
43 |
+ |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
45 |
+VIDEO_CARDS="amdgpu exynos freedreno intel nouveau omap radeon tegra vc4 vivante vmware" |
46 |
+for card in ${VIDEO_CARDS}; do |
47 |
+ IUSE_VIDEO_CARDS+=" video_cards_${card}" |
48 |
+done |
49 |
+ |
50 |
+IUSE="${IUSE_VIDEO_CARDS} libkms valgrind" |
51 |
+RESTRICT="test" # see bug #236845 |
52 |
+ |
53 |
+RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1:=[${MULTILIB_USEDEP}] |
54 |
+ video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] ) |
55 |
+ abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ valgrind? ( dev-util/valgrind )" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ if [[ ${PV} = 9999* ]]; then |
61 |
+ # tests are restricted, no point in building them |
62 |
+ sed -ie 's/tests //' "${S}"/Makefile.am |
63 |
+ fi |
64 |
+ xorg-2_src_prepare |
65 |
+} |
66 |
+ |
67 |
+src_configure() { |
68 |
+ XORG_CONFIGURE_OPTIONS=( |
69 |
+ # Udev is only used by tests now. |
70 |
+ --disable-udev |
71 |
+ --disable-cairo-tests |
72 |
+ $(use_enable video_cards_amdgpu amdgpu) |
73 |
+ $(use_enable video_cards_exynos exynos-experimental-api) |
74 |
+ $(use_enable video_cards_freedreno freedreno) |
75 |
+ $(use_enable video_cards_intel intel) |
76 |
+ $(use_enable video_cards_nouveau nouveau) |
77 |
+ $(use_enable video_cards_omap omap-experimental-api) |
78 |
+ $(use_enable video_cards_radeon radeon) |
79 |
+ $(use_enable video_cards_tegra tegra-experimental-api) |
80 |
+ $(use_enable video_cards_vc4 vc4) |
81 |
+ $(use_enable video_cards_vivante etnaviv-experimental-api) |
82 |
+ $(use_enable video_cards_vmware vmwgfx) |
83 |
+ $(use_enable libkms) |
84 |
+ # valgrind installs its .pc file to the pkgconfig for the primary arch |
85 |
+ --enable-valgrind=$(usex valgrind auto no) |
86 |
+ ) |
87 |
+ |
88 |
+ xorg-2_src_configure |
89 |
+} |