1 |
commit: 5d9f9424aaec4ef34da6d064b067ba36aec058db |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 16 20:43:31 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 16 20:53:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d9f9424 |
7 |
|
8 |
media-libs/graphene: Version bump to 1.10.6 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
media-libs/graphene/Manifest | 1 + |
13 |
media-libs/graphene/graphene-1.10.6.ebuild | 59 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/graphene/Manifest b/media-libs/graphene/Manifest |
17 |
index c9d4938db59..7de672b12f0 100644 |
18 |
--- a/media-libs/graphene/Manifest |
19 |
+++ b/media-libs/graphene/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST graphene-1.10.2.tar.xz 292372 BLAKE2B 94553a32dc57216402a9676e11525552c010d970caeb1256dde50ca842b4d673ad78d004d57e7c7a017b8c6e64ad75fc3b03603cba746027ab10befa76d32955 SHA512 a8a8ef1e4ccffee2313a18b9b8dda06c7ede6d49fdde8578694500634e3c90278fd30af7d88938d5ecb08c519cc3e09d21fe69d0f21cb766e056ceedbb3eafb0 |
22 |
+DIST graphene-1.10.6.tar.xz 333332 BLAKE2B d353efb22510b78c7360b748b7e83237309b88c170909e521d50e95618e907bd8b2424c3583a5db3ff2ca57954bf793646a69251bbb31caac55155c15981ed3a SHA512 075e8c712509655d0614258a7fd2943e67a9642334cdabdc15d2489a88c961e278f7464a513080cd287f5371c7ece8ceb7565d1718a8b71fea4a4977f82aeb72 |
23 |
|
24 |
diff --git a/media-libs/graphene/graphene-1.10.6.ebuild b/media-libs/graphene/graphene-1.10.6.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..74cf717498d |
27 |
--- /dev/null |
28 |
+++ b/media-libs/graphene/graphene-1.10.6.ebuild |
29 |
@@ -0,0 +1,59 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+inherit xdg-utils meson multilib-minimal python-any-r1 |
37 |
+ |
38 |
+DESCRIPTION="A thin layer of types for graphic libraries" |
39 |
+HOMEPAGE="https://ebassi.github.io/graphene/" |
40 |
+SRC_URI="https://github.com/ebassi/graphene/releases/download/${PV}/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
45 |
+IUSE="cpu_flags_arm_neon cpu_flags_x86_sse2 doc +introspection test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-libs/glib-2.30.0:2[${MULTILIB_USEDEP}] |
50 |
+ introspection? ( dev-libs/gobject-introspection:= ) |
51 |
+" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+# Python is only needed with USE=introspection or FEATURES=test, but not bothering with conditional python_setup, as meson uses it too anyway |
54 |
+BDEPEND=" |
55 |
+ ${PYTHON_DEPS} |
56 |
+ doc? ( |
57 |
+ dev-util/gtk-doc |
58 |
+ app-text/docbook-xml-dtd:4.3 |
59 |
+ ) |
60 |
+ virtual/pkgconfig |
61 |
+" |
62 |
+ |
63 |
+multilib_src_configure() { |
64 |
+ # TODO: Do we want G_DISABLE_ASSERT as buildtype=release would do upstream? |
65 |
+ local emesonargs=( |
66 |
+ -Dgtk_doc=$(multilib_native_usex doc true false) |
67 |
+ -Dgobject_types=true |
68 |
+ -Dintrospection=$(multilib_native_usex introspection enabled disabled) |
69 |
+ -Dgcc_vector=true # if built-in support tests fail, it'll just not enable vector intrinsics; unfortunately this probably means disabled on clang too, due to it claiming to be <gcc-4.9 |
70 |
+ $(meson_use cpu_flags_x86_sse2 sse2) |
71 |
+ $(meson_use cpu_flags_arm_neon arm_neon) |
72 |
+ $(meson_use test tests) |
73 |
+ -Dinstalled_tests=false |
74 |
+ ) |
75 |
+ meson_src_configure |
76 |
+} |
77 |
+ |
78 |
+multilib_src_compile() { |
79 |
+ meson_src_compile |
80 |
+} |
81 |
+ |
82 |
+multilib_src_test() { |
83 |
+ meson_src_test |
84 |
+} |
85 |
+ |
86 |
+multilib_src_install() { |
87 |
+ meson_src_install |
88 |
+} |