From: "Rick Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/tempestsdr/
Date: Wed, 22 Jan 2025 17:10:32 +0000 (UTC) [thread overview]
Message-ID: <1737565214.ce19cc9df7e5623a6a1c486e3c0075f58df0f599.zerochaos@gentoo> (raw)
commit: ce19cc9df7e5623a6a1c486e3c0075f58df0f599
Author: Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 22 17:00:14 2025 +0000
Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Jan 22 17:00:14 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce19cc9d
net-wireless/tempestsdr: use the java eclass
Custom launcher didn't work correctly, no reason to be special.
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
net-wireless/tempestsdr/tempestsdr-0.0_p20200221-r1.ebuild | 14 +++-----------
net-wireless/tempestsdr/tempestsdr-9999.ebuild | 14 +++-----------
2 files changed, 6 insertions(+), 22 deletions(-)
diff --git a/net-wireless/tempestsdr/tempestsdr-0.0_p20200221-r1.ebuild b/net-wireless/tempestsdr/tempestsdr-0.0_p20200221-r1.ebuild
index 1301229d0e69..6899df0f0f5b 100644
--- a/net-wireless/tempestsdr/tempestsdr-0.0_p20200221-r1.ebuild
+++ b/net-wireless/tempestsdr/tempestsdr-0.0_p20200221-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,7 +19,6 @@ else
SRC_URI="https://github.com/deltj/TempestSDR/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/TempestSDR-${COMMIT}"
fi
-IUSE=""
DEPEND=">=virtual/jdk-1.8:*
dev-libs/boost:=
@@ -29,19 +28,12 @@ DEPEND=">=virtual/jdk-1.8:*
net-wireless/bladerf:=
net-wireless/hackrf-tools"
RDEPEND="${DEPEND}"
-BDEPEND=""
src_compile() {
emake all
}
src_install() {
- insinto /usr/share/${PN}
- doins JavaGUI/JTempestSDR.jar
- dodir /usr/bin
- cat <<-EOF > "${ED}/usr/bin/tempestsdr"
-#!/bin/sh
-java -jar /usr/share/tempestsdr/JTempestSDR.jar
-EOF
- fperms +x /usr/bin/tempestsdr
+ java-pkg_dojar JavaGUI/JTempestSDR.jar
+ java-pkg_dolauncher tempestsdr --jar JTempestSDR.jar
}
diff --git a/net-wireless/tempestsdr/tempestsdr-9999.ebuild b/net-wireless/tempestsdr/tempestsdr-9999.ebuild
index 1301229d0e69..6899df0f0f5b 100644
--- a/net-wireless/tempestsdr/tempestsdr-9999.ebuild
+++ b/net-wireless/tempestsdr/tempestsdr-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,7 +19,6 @@ else
SRC_URI="https://github.com/deltj/TempestSDR/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/TempestSDR-${COMMIT}"
fi
-IUSE=""
DEPEND=">=virtual/jdk-1.8:*
dev-libs/boost:=
@@ -29,19 +28,12 @@ DEPEND=">=virtual/jdk-1.8:*
net-wireless/bladerf:=
net-wireless/hackrf-tools"
RDEPEND="${DEPEND}"
-BDEPEND=""
src_compile() {
emake all
}
src_install() {
- insinto /usr/share/${PN}
- doins JavaGUI/JTempestSDR.jar
- dodir /usr/bin
- cat <<-EOF > "${ED}/usr/bin/tempestsdr"
-#!/bin/sh
-java -jar /usr/share/tempestsdr/JTempestSDR.jar
-EOF
- fperms +x /usr/bin/tempestsdr
+ java-pkg_dojar JavaGUI/JTempestSDR.jar
+ java-pkg_dolauncher tempestsdr --jar JTempestSDR.jar
}
next reply other threads:[~2025-01-22 17:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-22 17:10 Rick Farina [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-22 18:17 [gentoo-commits] repo/gentoo:master commit in: net-wireless/tempestsdr/ Rick Farina
2025-01-22 17:10 Rick Farina
2025-01-22 17:10 Rick Farina
2023-08-19 13:41 Rick Farina
2022-08-18 2:21 Rick Farina
2021-04-20 15:57 Rick Farina
2020-03-15 3:58 Thomas Deutschmann
2020-03-15 3:56 Thomas Deutschmann
2020-02-21 19:41 Rick Farina
2019-11-12 19:02 Rick Farina
2019-11-12 18:09 Rick Farina
2019-11-10 20:35 Michał Górny
2019-11-09 19:39 Rick Farina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1737565214.ce19cc9df7e5623a6a1c486e3c0075f58df0f599.zerochaos@gentoo \
--to=zerochaos@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox