1 |
commit: c87497c4f1b0a461426af9e5a6465c1493f39fb9 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 31 14:42:31 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 14:48:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c87497c4 |
7 |
|
8 |
x11-libs/libdrm: Version bump to 2.4.113 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/864529 |
11 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
12 |
|
13 |
x11-libs/libdrm/Manifest | 1 + |
14 |
x11-libs/libdrm/libdrm-2.4.113.ebuild | 66 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 67 insertions(+) |
16 |
|
17 |
diff --git a/x11-libs/libdrm/Manifest b/x11-libs/libdrm/Manifest |
18 |
index 41ba4ec1362d..2eded30e2663 100644 |
19 |
--- a/x11-libs/libdrm/Manifest |
20 |
+++ b/x11-libs/libdrm/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libdrm-2.4.112.tar.xz 451872 BLAKE2B a41cbd714e169edd8c6bc6bba5cec8a7a703f553665575c35f43909e2927ed3c1652ddba25b98e63974f0734ca26e818e6ee75613159eb68ea85ba45934df393 SHA512 df8a207d9cce220ee2cf67877eda65394733fbfd0ff85fdbadb2b20ba9bacc41421b32452506c8caecddaf8361564ca68cd6c74d4faf3b1569ab30a3243e4340 |
23 |
+DIST libdrm-2.4.113.tar.xz 457064 BLAKE2B 30dab032f047a4bd3646b53c64c118d02855ee003025bb97b904f95101d2e945b0ed3d9ae00eb733f9a273afca3c18d10fa215b67c9c364a9819140a99d40115 SHA512 fca9834ce090f63ce6dc6d04491a2c5e86162fdddfc8ea70d55a6cdeb401be656388aae1577e58f463a78d8dc502be0a641908784819874e20bbec9a39a057e0 |
24 |
|
25 |
diff --git a/x11-libs/libdrm/libdrm-2.4.113.ebuild b/x11-libs/libdrm/libdrm-2.4.113.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..efae644e1d3b |
28 |
--- /dev/null |
29 |
+++ b/x11-libs/libdrm/libdrm-2.4.113.ebuild |
30 |
@@ -0,0 +1,66 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/drm.git" |
37 |
+PYTHON_COMPAT=( python3_{8..11} ) |
38 |
+ |
39 |
+if [[ ${PV} = 9999* ]]; then |
40 |
+ GIT_ECLASS="git-r3" |
41 |
+fi |
42 |
+ |
43 |
+inherit ${GIT_ECLASS} python-any-r1 meson-multilib |
44 |
+ |
45 |
+DESCRIPTION="X.Org libdrm library" |
46 |
+HOMEPAGE="https://dri.freedesktop.org/ https://gitlab.freedesktop.org/mesa/drm" |
47 |
+if [[ ${PV} = 9999* ]]; then |
48 |
+ SRC_URI="" |
49 |
+else |
50 |
+ SRC_URI="https://dri.freedesktop.org/libdrm/${P}.tar.xz" |
51 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
52 |
+fi |
53 |
+ |
54 |
+VIDEO_CARDS="amdgpu exynos freedreno intel nouveau omap radeon tegra vc4 vivante vmware" |
55 |
+for card in ${VIDEO_CARDS}; do |
56 |
+ IUSE_VIDEO_CARDS+=" video_cards_${card}" |
57 |
+done |
58 |
+ |
59 |
+IUSE="${IUSE_VIDEO_CARDS} valgrind" |
60 |
+RESTRICT="test" # see bug #236845 |
61 |
+LICENSE="MIT" |
62 |
+SLOT="0" |
63 |
+ |
64 |
+RDEPEND=" |
65 |
+ video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )" |
66 |
+DEPEND="${RDEPEND} |
67 |
+ valgrind? ( dev-util/valgrind )" |
68 |
+BDEPEND="${PYTHON_DEPS} |
69 |
+ $(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')" |
70 |
+ |
71 |
+python_check_deps() { |
72 |
+ python_has_version "dev-python/docutils[${PYTHON_USEDEP}]" |
73 |
+} |
74 |
+ |
75 |
+multilib_src_configure() { |
76 |
+ local emesonargs=( |
77 |
+ # Udev is only used by tests now. |
78 |
+ -Dudev=false |
79 |
+ -Dcairo-tests=disabled |
80 |
+ $(meson_feature video_cards_amdgpu amdgpu) |
81 |
+ $(meson_feature video_cards_exynos exynos) |
82 |
+ $(meson_feature video_cards_freedreno freedreno) |
83 |
+ $(meson_feature video_cards_intel intel) |
84 |
+ $(meson_feature video_cards_nouveau nouveau) |
85 |
+ $(meson_feature video_cards_omap omap) |
86 |
+ $(meson_feature video_cards_radeon radeon) |
87 |
+ $(meson_feature video_cards_tegra tegra) |
88 |
+ $(meson_feature video_cards_vc4 vc4) |
89 |
+ $(meson_feature video_cards_vivante etnaviv) |
90 |
+ $(meson_feature video_cards_vmware vmwgfx) |
91 |
+ # valgrind installs its .pc file to the pkgconfig for the primary arch |
92 |
+ -Dvalgrind=$(usex valgrind auto disabled) |
93 |
+ -Dtests=false # Tests are restricted |
94 |
+ ) |
95 |
+ meson_src_configure |
96 |
+} |