summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-01-26 14:05:44 +0100
committerArthur Zamarin <arthurzam@gentoo.org>2024-04-10 22:37:45 +0300
commit8aefed45a9fbdb82ceb8399a07525785aedeea7c (patch)
tree31918113f38c3b1c970df355519d3856f89204ed /sci-geosciences
parentdev-python/snakeoil: drop 0.10.5, 0.10.6, 0.10.7 (diff)
downloadgentoo-8aefed45a9fbdb82ceb8399a07525785aedeea7c.tar.gz
gentoo-8aefed45a9fbdb82ceb8399a07525785aedeea7c.tar.bz2
gentoo-8aefed45a9fbdb82ceb8399a07525785aedeea7c.zip
sci-geosciences/bt747: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/914467 Closes: https://bugs.gentoo.org/916574 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/bt747/bt747-2.1.7-r3.ebuild (renamed from sci-geosciences/bt747/bt747-2.1.7-r2.ebuild)26
1 files changed, 10 insertions, 16 deletions
diff --git a/sci-geosciences/bt747/bt747-2.1.7-r2.ebuild b/sci-geosciences/bt747/bt747-2.1.7-r3.ebuild
index 72062ed3a7cf..8e3037d93822 100644
--- a/sci-geosciences/bt747/bt747-2.1.7-r2.ebuild
+++ b/sci-geosciences/bt747/bt747-2.1.7-r3.ebuild
@@ -1,19 +1,21 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit desktop java-pkg-2 java-ant-2
DESCRIPTION="MTK GPS Datalogger Device Control"
HOMEPAGE="https://www.bt747.org"
-SRC_URI="mirror://sourceforge/${PN}/Stable/BT747_${PV}_full.zip
+SRC_URI="mirror://sourceforge/project/bt747/Development/BT747_${PV}_full.zip
https://www.bt747.org/icon/bt747_128x128.gif -> ${PN}.gif"
+S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="1"
KEYWORDS="~amd64 ~x86"
+BDEPEND="app-arch/unzip:0"
CDEPEND="
dev-java/commons-imaging:0
dev-java/jcalendar:1.2
@@ -24,17 +26,12 @@ CDEPEND="
dev-java/swingx:1.6
dev-java/swingx-ws:bt747
"
-
-RDEPEND="
- ${CDEPEND}
+RDEPEND="${CDEPEND}
dev-libs/glib:2[dbus]
- >=virtual/jre-1.7
+ >=virtual/jre-1.8:*
"
-
-DEPEND="
- ${CDEPEND}
- >=virtual/jdk-1.7
- app-arch/unzip
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.8:*
"
EANT_BUILD_TARGET="dist.j2se"
@@ -42,9 +39,8 @@ EANT_EXTRA_ARGS="-Dskip.proguard=yes -Dsvn=true -Dsvnversion=true -Dbuild.curren
EANT_GENTOO_CLASSPATH="commons-imaging,jcalendar-1.2,jchart2d,jopt-simple,rxtx-2,swing-layout-1,swingx-1.6,swingx-ws-bt747"
JAVA_ANT_REWRITE_CLASSPATH="yes"
-S="${WORKDIR}"
-
src_prepare() {
+ java-pkg-2_src_prepare
# Fix for newer jchart2d.
eapply "${FILESDIR}/jchart2d-3.2.patch"
@@ -54,8 +50,6 @@ src_prepare() {
# GraphicsUtilities moved in later SwingX versions.
sed -i "s:org\.jdesktop\.swingx\.graphics\.GraphicsUtilities:org.jdesktop.swingx.util.GraphicsUtilities:g" \
src_j2se/net/sf/bt747/j2se/app/list/FileListCellRenderer.java || die
-
- eapply_user
}
src_install() {