summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2021-04-13 18:15:40 +0300
committerJoonas Niilola <juippis@gentoo.org>2021-04-16 08:39:57 +0300
commitfe9e34ed36987aa50982b7ed4c6b256b4d76a5be (patch)
treefb54ce74ed7a37fc325977610aaff293de56504b /media-libs/gegl
parentwww-apps/kibana-bin: revbump 7.12.0 to populate changes (diff)
downloadgentoo-fe9e34ed36987aa50982b7ed4c6b256b4d76a5be.tar.gz
gentoo-fe9e34ed36987aa50982b7ed4c6b256b4d76a5be.tar.bz2
gentoo-fe9e34ed36987aa50982b7ed4c6b256b4d76a5be.zip
media-libs/gegl: >=0.4.30 drop gnome2-utils eclass
Also improve bash variable call. Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/20367 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs/gegl')
-rw-r--r--media-libs/gegl/gegl-0.4.30.ebuild6
-rw-r--r--media-libs/gegl/gegl-9999.ebuild4
2 files changed, 3 insertions, 7 deletions
diff --git a/media-libs/gegl/gegl-0.4.30.ebuild b/media-libs/gegl/gegl-0.4.30.ebuild
index e99fb1c28e19..db958e5516ed 100644
--- a/media-libs/gegl/gegl-0.4.30.ebuild
+++ b/media-libs/gegl/gegl-0.4.30.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{7..9} )
# vala and introspection support is broken, bug #468208
VALA_USE_DEPEND=vapigen
-inherit meson gnome2-utils optfeature python-any-r1 vala
+inherit meson optfeature python-any-r1 vala
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -103,14 +103,12 @@ src_prepare() {
# fix 'build'headers from *.cl on gentoo-hardened, bug 739816
pushd "${S}/opencl/" || die
for file in *.cl; do
- if [ -f "$file" ]; then
+ if [[ -f ${file} ]]; then
"${EPYTHON}" cltostring.py "${file}" || die
fi
done
popd || die
- gnome2_environment_reset
-
use vala && vala_src_prepare
}
diff --git a/media-libs/gegl/gegl-9999.ebuild b/media-libs/gegl/gegl-9999.ebuild
index 31e6ad02e66d..72e12f1f01b1 100644
--- a/media-libs/gegl/gegl-9999.ebuild
+++ b/media-libs/gegl/gegl-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
VALA_USE_DEPEND=vapigen
-inherit meson gnome2-utils optfeature python-any-r1 vala
+inherit meson optfeature python-any-r1 vala
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -99,8 +99,6 @@ src_prepare() {
-e '/composite-transform.xml/d' \
-i tests/compositions/meson.build || die
- gnome2_environment_reset
-
use vala && vala_src_prepare
}