1 |
commit: 98740b2afe921b80e9ea842ac68ec46b76581537 |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Mon May 25 02:32:49 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 25 08:07:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98740b2a |
7 |
|
8 |
media-libs/babl: 9999, fix build: ['vapigen'] not found or not executable |
9 |
|
10 |
Add new dependency "vala" |
11 |
|
12 |
Closes: https://bugs.gentoo.org/723868 |
13 |
|
14 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
media-libs/babl/babl-9999.ebuild | 19 ++++++++++++++++--- |
18 |
media-libs/gegl/gegl-9999.ebuild | 5 ++--- |
19 |
2 files changed, 18 insertions(+), 6 deletions(-) |
20 |
|
21 |
diff --git a/media-libs/babl/babl-9999.ebuild b/media-libs/babl/babl-9999.ebuild |
22 |
index 16fe9b5de13..be6f45add6b 100644 |
23 |
--- a/media-libs/babl/babl-9999.ebuild |
24 |
+++ b/media-libs/babl/babl-9999.ebuild |
25 |
@@ -3,7 +3,9 @@ |
26 |
|
27 |
EAPI=7 |
28 |
|
29 |
-inherit meson |
30 |
+VALA_USE_DEPEND=vapigen |
31 |
+ |
32 |
+inherit meson gnome2-utils vala |
33 |
|
34 |
if [[ ${PV} == *9999* ]]; then |
35 |
inherit git-r3 |
36 |
@@ -19,15 +21,25 @@ HOMEPAGE="http://www.gegl.org/babl/" |
37 |
|
38 |
LICENSE="LGPL-3" |
39 |
SLOT="0" |
40 |
-IUSE="introspection lcms cpu_flags_x86_avx2 cpu_flags_x86_f16c cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1" |
41 |
+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_sse3 cpu_flags_x86_sse4_1" |
42 |
+REQUIRED_USE="vala? ( introspection )" |
43 |
|
44 |
-BDEPEND="virtual/pkgconfig" |
45 |
+BDEPEND=" |
46 |
+ virtual/pkgconfig |
47 |
+ vala? ( $(vala_depend) ) |
48 |
+" |
49 |
RDEPEND=" |
50 |
introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
51 |
lcms? ( >=media-libs/lcms-2.8:2 ) |
52 |
" |
53 |
DEPEND="${RDEPEND}" |
54 |
|
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ gnome2_environment_reset |
58 |
+ use vala && vala_src_prepare |
59 |
+} |
60 |
+ |
61 |
src_configure() { |
62 |
# Automagic rsvg support is just for website generation we do not call, |
63 |
# so we don't need to fix it |
64 |
@@ -37,6 +49,7 @@ src_configure() { |
65 |
-Dwith-docs=false |
66 |
$(meson_use introspection enable-gir) |
67 |
$(meson_use lcms with-lcms) |
68 |
+ $(meson_use vala enable-vapi) |
69 |
$(meson_use cpu_flags_x86_avx2 enable-avx2) |
70 |
$(meson_use cpu_flags_x86_f16c enable-f16c) |
71 |
$(meson_use cpu_flags_x86_mmx enable-mmx) |
72 |
|
73 |
diff --git a/media-libs/gegl/gegl-9999.ebuild b/media-libs/gegl/gegl-9999.ebuild |
74 |
index 7b1deef5bdb..c854f48fae0 100644 |
75 |
--- a/media-libs/gegl/gegl-9999.ebuild |
76 |
+++ b/media-libs/gegl/gegl-9999.ebuild |
77 |
@@ -4,7 +4,6 @@ |
78 |
EAPI=7 |
79 |
|
80 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
81 |
-# vala and introspection support is broken, bug #468208 |
82 |
VALA_USE_DEPEND=vapigen |
83 |
|
84 |
inherit meson gnome2-utils python-any-r1 vala |
85 |
@@ -15,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then |
86 |
SRC_URI="" |
87 |
else |
88 |
SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz" |
89 |
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
90 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
91 |
fi |
92 |
|
93 |
DESCRIPTION="A graph based image processing framework" |
94 |
@@ -39,7 +38,7 @@ RESTRICT="!test? ( test )" |
95 |
RDEPEND=" |
96 |
>=dev-libs/glib-2.44:2 |
97 |
>=dev-libs/json-glib-1.2.6 |
98 |
- >=media-libs/babl-0.1.74[introspection?,lcms?] |
99 |
+ >=media-libs/babl-0.1.78[introspection?,lcms?,vala?] |
100 |
media-libs/libnsgif |
101 |
>=media-libs/libpng-1.6.0:0= |
102 |
>=sys-libs/zlib-1.2.0 |