summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-03-13 19:08:48 +0100
committerDavid Seifert <soap@gentoo.org>2021-03-13 19:08:48 +0100
commit09aa81fc24094d769d1e1e8ea1a38c52b3e9cf8e (patch)
treef837d022bc62531c475da5efed8c861d8aa6cde3 /sci-visualization/g3data
parentsci-visualization/quickplot: Port to EAPI 7 (diff)
downloadgentoo-09aa81fc24094d769d1e1e8ea1a38c52b3e9cf8e.tar.gz
gentoo-09aa81fc24094d769d1e1e8ea1a38c52b3e9cf8e.tar.bz2
gentoo-09aa81fc24094d769d1e1e8ea1a38c52b3e9cf8e.zip
sci-visualization/g3data: Port to EAPI 7
Closes: https://bugs.gentoo.org/741636 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-visualization/g3data')
-rw-r--r--sci-visualization/g3data/files/g3data-1.5.4-desktop-QA.patch11
-rw-r--r--sci-visualization/g3data/g3data-1.5.4.ebuild13
2 files changed, 17 insertions, 7 deletions
diff --git a/sci-visualization/g3data/files/g3data-1.5.4-desktop-QA.patch b/sci-visualization/g3data/files/g3data-1.5.4-desktop-QA.patch
new file mode 100644
index 000000000000..3391659716da
--- /dev/null
+++ b/sci-visualization/g3data/files/g3data-1.5.4-desktop-QA.patch
@@ -0,0 +1,11 @@
+--- a/data/g3data.desktop
++++ b/data/g3data.desktop
+@@ -3,7 +3,7 @@
+ Name=g3data
+ Comment=Data Extraction Tool
+ Exec=g3data
+-Icon=g3data-icon.xpm
++Icon=g3data-icon
+ Terminal=false
+ Type=Application
+ Categories=GNOME;Science;Graphics;
diff --git a/sci-visualization/g3data/g3data-1.5.4.ebuild b/sci-visualization/g3data/g3data-1.5.4.ebuild
index 2a29bfeff753..aff34e279401 100644
--- a/sci-visualization/g3data/g3data-1.5.4.ebuild
+++ b/sci-visualization/g3data/g3data-1.5.4.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit autotools-utils eutils
+EAPI=7
DESCRIPTION="Tool for extracting data from graphs"
HOMEPAGE="https://github.com/pn2200/g3data"
@@ -12,8 +10,9 @@ SRC_URI="https://github.com/downloads/pn2200/g3data/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE=""
RDEPEND="x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-desktop-QA.patch )