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