summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2020-05-25 05:32:49 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-06-25 11:07:42 +0300
commit98740b2afe921b80e9ea842ac68ec46b76581537 (patch)
tree1b48b0601429bc526fea956fd2bdf63a612e57d8 /media-libs/babl
parentmedia-libs/babl: fix missed dependencies (diff)
downloadgentoo-98740b2afe921b80e9ea842ac68ec46b76581537.tar.gz
gentoo-98740b2afe921b80e9ea842ac68ec46b76581537.tar.bz2
gentoo-98740b2afe921b80e9ea842ac68ec46b76581537.zip
media-libs/babl: 9999, fix build: ['vapigen'] not found or not executable
Add new dependency "vala" Closes: https://bugs.gentoo.org/723868 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs/babl')
-rw-r--r--media-libs/babl/babl-9999.ebuild19
1 files changed, 16 insertions, 3 deletions
diff --git a/media-libs/babl/babl-9999.ebuild b/media-libs/babl/babl-9999.ebuild
index 16fe9b5de136..be6f45add6b0 100644
--- a/media-libs/babl/babl-9999.ebuild
+++ b/media-libs/babl/babl-9999.ebuild
@@ -3,7 +3,9 @@
EAPI=7
-inherit meson
+VALA_USE_DEPEND=vapigen
+
+inherit meson gnome2-utils vala
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -19,15 +21,25 @@ HOMEPAGE="http://www.gegl.org/babl/"
LICENSE="LGPL-3"
SLOT="0"
-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"
+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"
+REQUIRED_USE="vala? ( introspection )"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
RDEPEND="
introspection? ( >=dev-libs/gobject-introspection-1.32:= )
lcms? ( >=media-libs/lcms-2.8:2 )
"
DEPEND="${RDEPEND}"
+src_prepare() {
+ default
+ gnome2_environment_reset
+ use vala && vala_src_prepare
+}
+
src_configure() {
# Automagic rsvg support is just for website generation we do not call,
# so we don't need to fix it
@@ -37,6 +49,7 @@ src_configure() {
-Dwith-docs=false
$(meson_use introspection enable-gir)
$(meson_use lcms with-lcms)
+ $(meson_use vala enable-vapi)
$(meson_use cpu_flags_x86_avx2 enable-avx2)
$(meson_use cpu_flags_x86_f16c enable-f16c)
$(meson_use cpu_flags_x86_mmx enable-mmx)