1 |
commit: 9dc282fb7b31e7f7beb5e63c8846e5b0721375d5 |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Mon Dec 28 23:02:08 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 01:54:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc282fb |
7 |
|
8 |
media-libs/babl: 0.1.84 version bump |
9 |
|
10 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
media-libs/babl/Manifest | 1 + |
14 |
media-libs/babl/babl-0.1.84.ebuild | 61 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 62 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest |
18 |
index e52c4aea7c8..0535b744eab 100644 |
19 |
--- a/media-libs/babl/Manifest |
20 |
+++ b/media-libs/babl/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST babl-0.1.78.tar.xz 298920 BLAKE2B 654baf0ed09fbbad54578bf8bba60f45152e446d8b3d3ee49ca57084f220d22ed9478bc95851c5c1b17deeacdacfc14a39ab4d6e3f0448012eb212eef8b357b2 SHA512 d40f68cbd3d7703066a8985958b6cc49eaefe842c0fb3b7bbf6a5d6e6198642b55c4f95bdbf0d25a29d24a975c9b94acfd084792c60b18ec5f66260dfe54893b |
23 |
+DIST babl-0.1.84.tar.xz 299216 BLAKE2B 80db725230f5bee71a9e2056e40cfe9c4dda7669fe3004d73c2d1525c9a89362491edc5addef47f28a94938ab3cdefef0496b38404fc4ab11931e7b9e0daaebe SHA512 a8cba80bd3a434ee9bbd1a0d1fcd6e5e38f9c657b189a70631ff3fe4e4c270e64762d1be13d48e8514d4166ac4175745001499fcda68eb1ea93e03c18b2a5d06 |
24 |
|
25 |
diff --git a/media-libs/babl/babl-0.1.84.ebuild b/media-libs/babl/babl-0.1.84.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..cd9637db782 |
28 |
--- /dev/null |
29 |
+++ b/media-libs/babl/babl-0.1.84.ebuild |
30 |
@@ -0,0 +1,61 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+VALA_USE_DEPEND=vapigen |
37 |
+ |
38 |
+inherit meson gnome2-utils vala |
39 |
+ |
40 |
+if [[ ${PV} == *9999* ]]; then |
41 |
+ inherit git-r3 |
42 |
+ EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/babl.git" |
43 |
+ SRC_URI="" |
44 |
+else |
45 |
+ SRC_URI="https://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz" |
46 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
47 |
+fi |
48 |
+ |
49 |
+DESCRIPTION="A dynamic, any to any, pixel format conversion library" |
50 |
+HOMEPAGE="https://gegl.org/babl/" |
51 |
+ |
52 |
+LICENSE="LGPL-3" |
53 |
+SLOT="0" |
54 |
+IUSE="introspection lcms vala cpu_flags_x86_avx2 cpu_flags_x86_f16c cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1" |
55 |
+REQUIRED_USE="vala? ( introspection )" |
56 |
+ |
57 |
+BDEPEND=" |
58 |
+ virtual/pkgconfig |
59 |
+ vala? ( $(vala_depend) ) |
60 |
+" |
61 |
+RDEPEND=" |
62 |
+ introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
63 |
+ lcms? ( >=media-libs/lcms-2.8:2 ) |
64 |
+" |
65 |
+DEPEND="${RDEPEND}" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ gnome2_environment_reset |
70 |
+ use vala && vala_src_prepare |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ # Automagic rsvg support is just for website generation we do not call, |
75 |
+ # so we don't need to fix it |
76 |
+ # w3m is used for dist target thus no issue for us that it is automagically |
77 |
+ # detected |
78 |
+ local emesonargs=( |
79 |
+ -Dwith-docs=false |
80 |
+ $(meson_use introspection enable-gir) |
81 |
+ $(meson_use lcms with-lcms) |
82 |
+ $(meson_use vala enable-vapi) |
83 |
+ $(meson_use cpu_flags_x86_avx2 enable-avx2) |
84 |
+ $(meson_use cpu_flags_x86_f16c enable-f16c) |
85 |
+ $(meson_use cpu_flags_x86_mmx enable-mmx) |
86 |
+ $(meson_use cpu_flags_x86_sse enable-sse) |
87 |
+ $(meson_use cpu_flags_x86_sse2 enable-sse2) |
88 |
+ $(meson_use cpu_flags_x86_sse4_1 enable-sse4_1) |
89 |
+ ) |
90 |
+ meson_src_configure |
91 |
+} |