1 |
commit: a02851558f8b75890482b5c95841c8f5f59113c0 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 30 17:37:52 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 30 17:46:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0285155 |
7 |
|
8 |
media-libs/waffle: Version bump to 1.6.2 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
media-libs/waffle/Manifest | 1 + |
13 |
media-libs/waffle/waffle-1.6.2.ebuild | 71 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 72 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/waffle/Manifest b/media-libs/waffle/Manifest |
17 |
index 894e938a881..c5a09e0f9ba 100644 |
18 |
--- a/media-libs/waffle/Manifest |
19 |
+++ b/media-libs/waffle/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST waffle-1.6.1.tar.xz 227152 BLAKE2B 360782636809fa3716589e5c3f2d365ce2a916f3da4dde7ec271ce7e142f94160388f9ae12f1ef0ea79890f45eba9d6ef536e12861ee44cbd88282e3c4f01f52 SHA512 1d5839d517d1067efea163ffd76c05f32f30c3ef0f42dfa1b3a9830d4377829cce368d28889ec5a3be639a5e81db2fb4833d98eafc5ffa5e27578ff11977258f |
22 |
+DIST waffle-v1.6.2.tar.bz2 259740 BLAKE2B 62708dcda7800d2728ea708f88af5e9c3ff5bbeeef653d064c457ebf86620f67d8dfcd934425810ffb66a452814337e3ed13b6f3e8a4d420363a0b66ceeaf2cf SHA512 2b1e153277366731cb5cb3790c6ae1b884efa8e5e0d5a9499a218f1a902370a066e3253f9922297314943aa751596f70a33faff10c2e480ccc1ceace93ccecbf |
23 |
|
24 |
diff --git a/media-libs/waffle/waffle-1.6.2.ebuild b/media-libs/waffle/waffle-1.6.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..a1d9e8bbbf2 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/waffle/waffle-1.6.2.ebuild |
29 |
@@ -0,0 +1,71 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+if [[ ${PV} = *9999* ]]; then |
36 |
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/${PN}" |
37 |
+ GIT_ECLASS="git-r3" |
38 |
+else |
39 |
+ SRC_URI="https://gitlab.freedesktop.org/mesa/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" |
40 |
+ KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 x86" |
41 |
+ S="${WORKDIR}"/${PN}-v${PV} |
42 |
+fi |
43 |
+inherit meson multilib-minimal ${GIT_ECLASS} |
44 |
+ |
45 |
+DESCRIPTION="Library that allows selection of GL API and of window system at runtime" |
46 |
+HOMEPAGE="http://www.waffle-gl.org/ https://gitlab.freedesktop.org/mesa/waffle" |
47 |
+ |
48 |
+LICENSE="BSD-2" |
49 |
+SLOT="0" |
50 |
+IUSE="doc +egl +gbm wayland X" |
51 |
+RESTRICT="test" # gl_basic tests don't work when run from portage |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ >=media-libs/mesa-9.1.6[egl?,gbm?,${MULTILIB_USEDEP}] |
55 |
+ >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] |
56 |
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
57 |
+ >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}] |
58 |
+ gbm? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] ) |
59 |
+ wayland? ( >=dev-libs/wayland-1.10[${MULTILIB_USEDEP}] ) |
60 |
+" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ >=x11-base/xcb-proto-1.8-r3[${MULTILIB_USEDEP}] |
63 |
+" |
64 |
+BDEPEND=" |
65 |
+ dev-libs/libxslt |
66 |
+ app-text/docbook-xml-dtd:4.2 |
67 |
+" |
68 |
+ |
69 |
+PATCHES=( |
70 |
+ "${FILESDIR}"/${PN}-1.6.0-meson-Generate-cmake-config-and-version-files-if-mes.patch |
71 |
+) |
72 |
+ |
73 |
+MULTILIB_CHOST_TOOLS=( |
74 |
+ /usr/bin/wflinfo$(get_exeext) |
75 |
+) |
76 |
+ |
77 |
+multilib_src_configure() { |
78 |
+ local emesonargs=( |
79 |
+ $(meson_feature X glx) |
80 |
+ $(meson_feature wayland) |
81 |
+ $(meson_feature X x11_egl) |
82 |
+ $(meson_feature gbm) |
83 |
+ $(meson_feature egl surfaceless_egl) |
84 |
+ -Dbuild-manpages=$(multilib_is_native_abi && echo true || echo false) |
85 |
+ -Dbuild-tests=false |
86 |
+ ) |
87 |
+ meson_src_configure |
88 |
+} |
89 |
+ |
90 |
+multilib_src_compile() { |
91 |
+ meson_src_compile |
92 |
+} |
93 |
+ |
94 |
+multilib_src_install() { |
95 |
+ meson_src_install |
96 |
+ |
97 |
+ ! use doc && rm -rf \ |
98 |
+ "${D}"/usr/share/doc/waffle1 \ |
99 |
+ "${D}"/usr/share/man/man{3,7} |
100 |
+} |