1 |
commit: c92431d2777eebaa40ebfdfc43d858bc4ccf479d |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 19 09:49:00 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 19 09:49:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=c92431d2 |
7 |
|
8 |
x11-libs/libdrm: version bump to 2.4.93 |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
x11-libs/libdrm/Manifest | 1 + |
13 |
x11-libs/libdrm/libdrm-2.4.93.ebuild | 77 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 78 insertions(+) |
15 |
|
16 |
diff --git a/x11-libs/libdrm/Manifest b/x11-libs/libdrm/Manifest |
17 |
index 77b11d5..a190c7a 100644 |
18 |
--- a/x11-libs/libdrm/Manifest |
19 |
+++ b/x11-libs/libdrm/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libdrm-2.4.91.tar.bz2 815419 BLAKE2B 7df2a4bdb4b2708cc00b71173e7e261ab7f8645a473984a7cbda2c7073f14b7f87d53eb39cc075b743e72e4cda03b2c4fca6b9df6c7d5db2c739398a13f13f35 SHA512 07578c00c121ba37033db7172590e26d1545f81c242bbce2cfb7fb904bde504822c275d6468e5c5d20360d0046ae73d9b058aa0459ba35eb11927141cc998772 |
22 |
+DIST libdrm-2.4.93.tar.bz2 826579 BLAKE2B 6b2775a6bc631001be874d1337ef9607ee8ff5b86ce5e3d8ff6c6eb58182a30e2c70592cb4eb9e88c9e046d73b510f632272c57621706afd1db416acc6ce366c SHA512 ba4221e8d6a3a9872fb6d30a0ea391e30ea0e17f249c66f067bed9c2161ed1ad8083959cb2c212834c6566c3e025f4daae31e9533d77aae19bbbbb9de6c2ab3d |
23 |
|
24 |
diff --git a/x11-libs/libdrm/libdrm-2.4.93.ebuild b/x11-libs/libdrm/libdrm-2.4.93.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..e94d943 |
27 |
--- /dev/null |
28 |
+++ b/x11-libs/libdrm/libdrm-2.4.93.ebuild |
29 |
@@ -0,0 +1,77 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+EGIT_REPO_URI="https://anongit.freedesktop.org/git/mesa/drm.git" |
36 |
+ |
37 |
+if [[ ${PV} = 9999* ]]; then |
38 |
+ GIT_ECLASS="git-r3" |
39 |
+fi |
40 |
+ |
41 |
+inherit ${GIT_ECLASS} meson multilib-minimal |
42 |
+ |
43 |
+DESCRIPTION="X.Org libdrm library" |
44 |
+HOMEPAGE="https://dri.freedesktop.org/" |
45 |
+if [[ ${PV} = 9999* ]]; then |
46 |
+ SRC_URI="" |
47 |
+else |
48 |
+ SRC_URI="https://dri.freedesktop.org/libdrm/${P}.tar.bz2" |
49 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86" |
50 |
+fi |
51 |
+ |
52 |
+VIDEO_CARDS="amdgpu exynos freedreno intel nouveau omap radeon tegra vc4 vivante vmware" |
53 |
+for card in ${VIDEO_CARDS}; do |
54 |
+ IUSE_VIDEO_CARDS+=" video_cards_${card}" |
55 |
+done |
56 |
+ |
57 |
+IUSE="${IUSE_VIDEO_CARDS} libkms valgrind" |
58 |
+RESTRICT="test" # see bug #236845 |
59 |
+LICENSE="MIT" |
60 |
+SLOT="0" |
61 |
+ |
62 |
+RDEPEND="elibc_FreeBSD? ( >=dev-libs/libpthread-stubs-0.4:=[${MULTILIB_USEDEP}] ) |
63 |
+ video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )" |
64 |
+DEPEND="${RDEPEND} |
65 |
+ valgrind? ( dev-util/valgrind )" |
66 |
+PATCHES=( "${FILESDIR}"/fix-ioctl.patch ) |
67 |
+ |
68 |
+src_unpack() { |
69 |
+ default |
70 |
+ [[ $PV = 9999* ]] && git-r3_src_unpack |
71 |
+} |
72 |
+ |
73 |
+multilib_src_configure() { |
74 |
+ local emesonargs=( |
75 |
+ # Udev is only used by tests now. |
76 |
+ -Dudev=false |
77 |
+ -Dcairo-tests=false |
78 |
+ -Damdgpu=$(usex video_cards_amdgpu true false) |
79 |
+ -Dexynos=$(usex video_cards_exynos true false) |
80 |
+ -Dfreedreno=$(usex video_cards_freedreno true false) |
81 |
+ -Dintel=$(usex video_cards_intel true false) |
82 |
+ -Dnouveau=$(usex video_cards_nouveau true false) |
83 |
+ -Domap=$(usex video_cards_omap true false) |
84 |
+ -Dradeon=$(usex video_cards_radeon true false) |
85 |
+ -Dtegra=$(usex video_cards_tegra true false) |
86 |
+ -Dvc4=$(usex video_cards_vc4 true false) |
87 |
+ -Detnaviv=$(usex video_cards_vivante true false) |
88 |
+ -Dvmwgfx=$(usex video_cards_vmware true false) |
89 |
+ -Dlibkms=$(usex libkms true false) |
90 |
+ # valgrind installs its .pc file to the pkgconfig for the primary arch |
91 |
+ -Dvalgrind=$(usex valgrind auto false) |
92 |
+ ) |
93 |
+ meson_src_configure |
94 |
+} |
95 |
+ |
96 |
+multilib_src_compile() { |
97 |
+ meson_src_compile |
98 |
+} |
99 |
+ |
100 |
+multilib_src_test() { |
101 |
+ meson_src_test |
102 |
+} |
103 |
+ |
104 |
+multilib_src_install() { |
105 |
+ meson_src_install |
106 |
+} |