1 |
commit: 6b4d370c80d54fb56b6fb933c6f346f3651e7c66 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 30 17:20:43 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 30 17:24:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b4d370c |
7 |
|
8 |
x11-apps/mesa-progs: Version bump to 8.5.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/841779 |
11 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
12 |
|
13 |
x11-apps/mesa-progs/Manifest | 1 + |
14 |
x11-apps/mesa-progs/mesa-progs-8.5.0.ebuild | 78 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 79 insertions(+) |
16 |
|
17 |
diff --git a/x11-apps/mesa-progs/Manifest b/x11-apps/mesa-progs/Manifest |
18 |
index 3f7b33bcee0b..4b8c4f40c9af 100644 |
19 |
--- a/x11-apps/mesa-progs/Manifest |
20 |
+++ b/x11-apps/mesa-progs/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST mesa-demos-8.4.0.tar.bz2 10073259 BLAKE2B d251e705c6e3d2fe959161d736401fd06ba267a9c389341098373670b6f44ca7cdb451d96e94e3b22f006b696a9b19e38096423f6438544539f46beda91c03f4 SHA512 b72d03cad36e0535ff18dcfb222ec4200064b9264f6da51a6e5f03b0dd912abe188bc1d600b6698de3ce6f63b28d2ce01565886ca8e7079edc4967fbf2fb0957 |
23 |
+DIST mesa-demos-8.5.0.tar.bz2 10367517 BLAKE2B 60e9edfcfe6d28f73964b81ae4e016fdbeb45d9d6d91de71bf736c86fa6181749f2e12729c8c716f6e6f5d4e39075de131877d1f09c3e511a4338b0f44ddb6a6 SHA512 df6a7f09638ca389d6e8bc569e599dcc59c9aa280bcfb95976d83e5cd3edfe74bb3a31f0953956dc16faa540ee5b09990e3377e1341d836fc527e50ace6e60b8 |
24 |
|
25 |
diff --git a/x11-apps/mesa-progs/mesa-progs-8.5.0.ebuild b/x11-apps/mesa-progs/mesa-progs-8.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..0de99d7b802b |
28 |
--- /dev/null |
29 |
+++ b/x11-apps/mesa-progs/mesa-progs-8.5.0.ebuild |
30 |
@@ -0,0 +1,78 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit meson-multilib |
37 |
+ |
38 |
+MY_PN="${PN/progs/demos}" |
39 |
+MY_P="${MY_PN}-${PV}" |
40 |
+ |
41 |
+DESCRIPTION="Mesa's OpenGL utility and demo programs (glxgears and glxinfo)" |
42 |
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/ https://gitlab.freedesktop.org/mesa/demos" |
43 |
+if [[ ${PV} = 9999* ]]; then |
44 |
+ inherit git-r3 |
45 |
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/demos.git" |
46 |
+else |
47 |
+ SRC_URI="https://mesa.freedesktop.org/archive/demos/${MY_P}.tar.bz2 |
48 |
+ https://mesa.freedesktop.org/archive/demos/${PV}/${MY_P}.tar.bz2" |
49 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
50 |
+ S="${WORKDIR}/${MY_P}" |
51 |
+fi |
52 |
+LICENSE="LGPL-2" |
53 |
+SLOT="0" |
54 |
+IUSE="gles2 wayland X" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ media-libs/mesa[${MULTILIB_USEDEP},egl(+),gles2?,wayland?,X?] |
58 |
+ wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] ) |
59 |
+ X? ( |
60 |
+ x11-libs/libX11[${MULTILIB_USEDEP}] |
61 |
+ x11-libs/libXext[${MULTILIB_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+DEPEND="${RDEPEND} |
65 |
+ wayland? ( >=dev-libs/wayland-protocols-1.12 ) |
66 |
+ X? ( x11-base/xorg-proto ) |
67 |
+" |
68 |
+BDEPEND=" |
69 |
+ virtual/pkgconfig |
70 |
+ wayland? ( dev-util/wayland-scanner ) |
71 |
+" |
72 |
+ |
73 |
+PATCHES=( |
74 |
+ "${FILESDIR}"/8.5.0-Disable-things-we-don-t-want.patch |
75 |
+) |
76 |
+ |
77 |
+pkg_setup() { |
78 |
+ MULTILIB_CHOST_TOOLS+=( |
79 |
+ /usr/bin/eglinfo |
80 |
+ ) |
81 |
+ |
82 |
+ use X && MULTILIB_CHOST_TOOLS+=( |
83 |
+ /usr/bin/glxgears |
84 |
+ /usr/bin/glxinfo |
85 |
+ ) |
86 |
+ |
87 |
+ use gles2 && use X && MULTILIB_CHOST_TOOLS+=( |
88 |
+ /usr/bin/es2_info |
89 |
+ /usr/bin/es2gears_x11 |
90 |
+ ) |
91 |
+ |
92 |
+ use gles2 && use wayland && MULTILIB_CHOST_TOOLS+=( |
93 |
+ /usr/bin/es2gears_wayland |
94 |
+ ) |
95 |
+} |
96 |
+ |
97 |
+multilib_src_configure() { |
98 |
+ local emesonargs=( |
99 |
+ -Dlibdrm=disabled |
100 |
+ -Degl=enabled |
101 |
+ -Dgles1=disabled |
102 |
+ $(meson_feature gles2) |
103 |
+ -Dosmesa=disabled |
104 |
+ $(meson_feature wayland) |
105 |
+ $(meson_feature X x11) |
106 |
+ ) |
107 |
+ meson_src_configure |
108 |
+} |