1 |
commit: 266d203d051c217d125e68e148e0283702c7156b |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 31 20:10:06 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 31 20:44:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=266d203d |
7 |
|
8 |
media-libs/waffle: Version bump to 1.6.1 |
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.1.ebuild | 64 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 65 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/waffle/Manifest b/media-libs/waffle/Manifest |
17 |
index 0b0146e39dc..514148b1a6d 100644 |
18 |
--- a/media-libs/waffle/Manifest |
19 |
+++ b/media-libs/waffle/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST waffle-1.6.0.tar.xz 224400 BLAKE2B 458add99b346bd75dc757243b9e7db6ac269fb2c1e488333d921c640e10efd182e51e8a5e0312d334593033936adf047fc2339d21e675654d89d66edfb8922b3 SHA512 c8796ab8adf968df2c5c88e2941c83955fe41e87eb2b75b6a5cc61b0d0c06eaa44df2f255f573a51816036dc8bc3ec63f3fb51ccfb7efbfe83cdd50b3f1be13f |
22 |
+DIST waffle-1.6.1.tar.xz 227152 BLAKE2B 360782636809fa3716589e5c3f2d365ce2a916f3da4dde7ec271ce7e142f94160388f9ae12f1ef0ea79890f45eba9d6ef536e12861ee44cbd88282e3c4f01f52 SHA512 1d5839d517d1067efea163ffd76c05f32f30c3ef0f42dfa1b3a9830d4377829cce368d28889ec5a3be639a5e81db2fb4833d98eafc5ffa5e27578ff11977258f |
23 |
|
24 |
diff --git a/media-libs/waffle/waffle-1.6.1.ebuild b/media-libs/waffle/waffle-1.6.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..b508b016a13 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/waffle/waffle-1.6.1.ebuild |
29 |
@@ -0,0 +1,64 @@ |
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}/-/raw/website/files/release/${P}/${P}.tar.xz" |
40 |
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
41 |
+fi |
42 |
+inherit meson multilib-minimal ${GIT_ECLASS} |
43 |
+ |
44 |
+DESCRIPTION="Library that allows selection of GL API and of window system at runtime" |
45 |
+HOMEPAGE="http://www.waffle-gl.org/ https://gitlab.freedesktop.org/mesa/waffle" |
46 |
+ |
47 |
+LICENSE="BSD-2" |
48 |
+SLOT="0" |
49 |
+IUSE="doc +egl +gbm wayland X" |
50 |
+RESTRICT="test" # gl_basic tests don't work when run from portage |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=media-libs/mesa-9.1.6[egl?,gbm?,${MULTILIB_USEDEP}] |
54 |
+ >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] |
55 |
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
56 |
+ >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}] |
57 |
+ gbm? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] ) |
58 |
+ wayland? ( >=dev-libs/wayland-1.10[${MULTILIB_USEDEP}] ) |
59 |
+" |
60 |
+DEPEND="${RDEPEND} |
61 |
+ >=x11-base/xcb-proto-1.8-r3[${MULTILIB_USEDEP}] |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ dev-libs/libxslt |
65 |
+ app-text/docbook-xml-dtd:4.2 |
66 |
+" |
67 |
+ |
68 |
+MULTILIB_CHOST_TOOLS=( |
69 |
+ /usr/bin/wflinfo$(get_exeext) |
70 |
+) |
71 |
+ |
72 |
+multilib_src_configure() { |
73 |
+ local emesonargs=( |
74 |
+ $(meson_feature X glx) |
75 |
+ $(meson_feature wayland) |
76 |
+ $(meson_feature X x11_egl) |
77 |
+ $(meson_feature gbm) |
78 |
+ $(meson_feature egl surfaceless_egl) |
79 |
+ -Dbuild-manpages=true |
80 |
+ -Dbuild-tests=false |
81 |
+ ) |
82 |
+ meson_src_configure |
83 |
+} |
84 |
+ |
85 |
+multilib_src_compile() { |
86 |
+ meson_src_compile |
87 |
+} |
88 |
+ |
89 |
+multilib_src_install() { |
90 |
+ meson_src_install |
91 |
+ |
92 |
+ ! use doc && rm -rf "${D}"/usr/share/doc/waffle1 |
93 |
+} |