summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-05-25 13:33:49 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-25 13:33:49 +0200
commitf28ff0b01d47374a864d205e4aeeb6890d9875d6 (patch)
tree12ebeee53ddeb6da06752e0ce2ac2ec23023cbf9
parentdev-java/openjdk: Stabilize 11.0.11_p9-r1 ppc64, #788118 (diff)
downloadgentoo-f28ff0b0.tar.gz
gentoo-f28ff0b0.tar.bz2
gentoo-f28ff0b0.zip
sci-geosciences/gtk-g-rays2: Port to EAPI 7
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--sci-geosciences/gtk-g-rays2/gtk-g-rays2-2.05.ebuild25
1 files changed, 9 insertions, 16 deletions
diff --git a/sci-geosciences/gtk-g-rays2/gtk-g-rays2-2.05.ebuild b/sci-geosciences/gtk-g-rays2/gtk-g-rays2-2.05.ebuild
index 00bc08d3f4cb..cc7fe5207ea4 100644
--- a/sci-geosciences/gtk-g-rays2/gtk-g-rays2-2.05.ebuild
+++ b/sci-geosciences/gtk-g-rays2/gtk-g-rays2-2.05.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
inherit autotools gnome2
@@ -12,33 +12,26 @@ SRC_URI="http://www.zen35309.zen.co.uk/gps/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE=""
RDEPEND="
- dev-libs/glib:2
dev-libs/dbus-glib
+ dev-libs/glib:2
dev-libs/libgudev
+ net-wireless/bluez
x11-libs/cairo
x11-libs/gtk+:3
- virtual/freedesktop-icon-theme
- net-wireless/bluez
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
+ virtual/freedesktop-icon-theme"
+DEPEND="${RDEPEND}"
+BDEPEND="
sys-devel/gettext
-"
-
-DOCS="README AUTHORS ChangeLog"
+ virtual/pkgconfig"
src_prepare() {
+ default
+
# werror is bad idea
sed -i -e 's:-Werror::g' configure.ac || die
# we run this ourselves
sed -i -e '/gtk-update-icon-cache/d' Makefile.am || die
eautoreconf
}
-
-src_configure() {
- econf \
- --docdir="${EPREFIX}/usr/share/doc/${PF}"
-}