media-gfx/glimpse: EAPI bump

could not get this to configure (neither before or after
these changes). Same error when running it on a freshly
cloned upstream git repo.

./configure: line 33540: syntax error near unexpected token `)'
./configure: line 33540: `fi)'

Fixing this one, just reveals a new syntax error

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2021-03-16 14:03:12 +01:00
parent d1a3877e8b
commit 64ae89dede

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Based on media-gfx/gimp-2.10.18-r2.ebuild
EAPI=6 # gnome2.eclass doesn't work with EAPI 7.
EAPI=7
GNOME2_EAUTORECONF=yes
WANT_AUTOMAKE=
@@ -77,17 +77,17 @@ DEPEND="
${COMMON_DEPEND}
>=dev-lang/perl-5.10.0
dev-libs/appstream-glib
dev-util/gtk-update-icon-cache
>=dev-util/intltool-0.40.1
sys-apps/findutils
>=sys-devel/gettext-0.19
>=sys-devel/libtool-2.2
virtual/pkgconfig
doc? ( dev-util/gtk-doc )
test? ( x11-base/xorg-server[xvfb] )
"
# TODO: Add BDEPEND after switch to EAPI 7.
BDEPEND="
dev-util/gtk-update-icon-cache
>=sys-devel/libtool-2.2
virtual/pkgconfig
"
DOCS=( "AUTHORS" "HACKING.md" "NEWS" "README.md" )
@@ -118,6 +118,7 @@ src_prepare() {
sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' \
-i configure || die # bug #615144
fgrep -q GIMP_DISABLE_DEPRECATED configure || die # bug #615144, self-test
}
_adjust_sandbox() {
@@ -197,11 +198,3 @@ src_install() {
| sed -E 's/.*\[([2-9]\.[0-9]+)\].*/\1/')
mv "${ED%/}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
}
pkg_postinst() {
gnome2_pkg_postinst
}
pkg_postrm() {
gnome2_pkg_postrm
}