commit: 64ae89dede3d0fdfce28a45dd2c18ec8169c7d77
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Mar 16 13:03:12 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Mar 16 13:03:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64ae89de
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 <AT> riseup.net>
media-gfx/glimpse/glimpse-0.2.0.ebuild | 23 ++++++++---------------
1 file changed, 8 insertions(+), 15 deletions(-)
diff --git a/media-gfx/glimpse/glimpse-0.2.0.ebuild
b/media-gfx/glimpse/glimpse-0.2.0.ebuild
index 4fa67cce..0057314e 100644
--- a/media-gfx/glimpse/glimpse-0.2.0.ebuild
+++ b/media-gfx/glimpse/glimpse-0.2.0.ebuild
@@ -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
-}