summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2020-05-25 05:36:33 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-06-25 11:07:42 +0300
commit86f4ec082cdb2eed86350d71ac917b486b6105b4 (patch)
tree612bb44d4e54d118977c47e89cc9eeee2b081a5f /media-gfx/gimp
parentmedia-libs/babl: 9999, fix build: ['vapigen'] not found or not executable (diff)
downloadgentoo-86f4ec082cdb2eed86350d71ac917b486b6105b4.tar.gz
gentoo-86f4ec082cdb2eed86350d71ac917b486b6105b4.tar.bz2
gentoo-86f4ec082cdb2eed86350d71ac917b486b6105b4.zip
media-gfx/gimp: update babl, gegl dependencies in 9999.ebuild
vala support is always currently enabled because of upstream broken configure phase with '--without-vala' option: "configure: error: conditional "ENABLE_VAPIGEN" was never defined. Usually this means the macro was only invoked conditionally." Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/15958 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/gimp')
-rw-r--r--media-gfx/gimp/gimp-9999.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild
index f73b18199f44..1ba63b659607 100644
--- a/media-gfx/gimp/gimp-9999.ebuild
+++ b/media-gfx/gimp/gimp-9999.ebuild
@@ -5,8 +5,10 @@ EAPI=6
PYTHON_COMPAT=( python3_{6,7,8} )
GNOME2_EAUTORECONF=yes
+VALA_MIN_API_VERSION="0.40"
+VALA_USE_DEPEND=vapigen
-inherit autotools git-r3 gnome2 python-single-r1 virtualx
+inherit autotools git-r3 gnome2 python-single-r1 vala virtualx
DESCRIPTION="GNU Image Manipulation Program"
HOMEPAGE="https://www.gimp.org/"
@@ -29,16 +31,16 @@ COMMON_DEPEND="
>=app-text/poppler-0.69[cairo]
>=app-text/poppler-data-0.4.9
>=dev-libs/atk-2.4.0
- >=dev-libs/glib-2.56.0:2
+ >=dev-libs/glib-2.56.2:2
>=dev-libs/json-glib-1.2.6
dev-libs/libxml2
dev-libs/libxslt
>=gnome-base/librsvg-2.40.6:2
>=media-gfx/mypaint-brushes-1.3.0
- >=media-libs/babl-0.1.74[introspection]
+ >=media-libs/babl-0.1.78[introspection,lcms,vala]
>=media-libs/fontconfig-2.12.4
>=media-libs/freetype-2.1.7
- >=media-libs/gegl-0.4.20:0.4[cairo,introspection]
+ >=media-libs/gegl-0.4.24:0.4[cairo,introspection,lcms,vala]
>=media-libs/gexiv2-0.10.6
>=media-libs/harfbuzz-0.9.19
>=media-libs/lcms-2.8:2
@@ -99,6 +101,7 @@ DEPEND="
>=dev-util/gtk-doc-1.0
dev-util/gtk-doc-am
)
+ $(vala_depend)
"
DOCS=( "AUTHORS" "HACKING" "NEWS" "README" "README.i18n" )
@@ -125,6 +128,8 @@ src_prepare() {
gnome2_src_prepare # calls eautoreconf
+ vala_src_prepare
+
sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
}
@@ -156,6 +161,7 @@ src_configure() {
--with-appdata-test
--with-bug-report-url=https://bugs.gentoo.org/
--with-xmc
+ --with-vala
--without-libbacktrace
--without-webkit
--without-xvfb-run