diff options
author | Rick Farina <zerochaos@gentoo.org> | 2020-02-21 14:41:36 -0500 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2020-02-21 14:41:48 -0500 |
commit | 0b964121a814f3b4ecd7714f679486564a2974c1 (patch) | |
tree | 487c4a72c9c7e28ac30ab2dc303cce2f1d9a7545 /net-wireless | |
parent | dev-python/zfec: Remove last-rited package (diff) | |
download | gentoo-0b964121a814f3b4ecd7714f679486564a2974c1.tar.gz gentoo-0b964121a814f3b4ecd7714f679486564a2974c1.tar.bz2 gentoo-0b964121a814f3b4ecd7714f679486564a2974c1.zip |
net-wireless/tempestsdr: add a stable candidate
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/tempestsdr/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/tempestsdr/tempestsdr-0.0_p20200221.ebuild | 46 | ||||
-rw-r--r-- | net-wireless/tempestsdr/tempestsdr-9999.ebuild | 21 |
3 files changed, 58 insertions, 10 deletions
diff --git a/net-wireless/tempestsdr/Manifest b/net-wireless/tempestsdr/Manifest new file mode 100644 index 000000000000..d26505e35ffe --- /dev/null +++ b/net-wireless/tempestsdr/Manifest @@ -0,0 +1 @@ +DIST 93c238725bdcf2f50c8a1d3789cf56e90f7bab7f.tar.gz 67322675 BLAKE2B 6ad4b5c4a32e70e7336d1bcac9f9c3e0dd1bdc0ca42e67bef20e9f31475e127f212d3558e20d275e18651cef018c134e233c5b8c0c9e85e558414e2c15993ac6 SHA512 2f29ad22d8ae2e71cdd359e066989928576a7e8c0ff344833445843df4cdb343ae1d6336810595fe720cb3d56867c8c17d8776dcb3bfda02eb53b85c9c930ef1 diff --git a/net-wireless/tempestsdr/tempestsdr-0.0_p20200221.ebuild b/net-wireless/tempestsdr/tempestsdr-0.0_p20200221.ebuild new file mode 100644 index 000000000000..94ad5e3071f5 --- /dev/null +++ b/net-wireless/tempestsdr/tempestsdr-0.0_p20200221.ebuild @@ -0,0 +1,46 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit java-pkg-2 + +DESCRIPTION="Remote video eavesdropping using a software-defined radio platform" +HOMEPAGE="https://github.com/deltj/TempestSDR.git" + +LICENSE="GPL-3" +SLOT="0" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/deltj/TempestSDR.git" +else + KEYWORDS="~amd64 ~x86" + COMMIT="93c238725bdcf2f50c8a1d3789cf56e90f7bab7f" + SRC_URI="https://github.com/deltj/TempestSDR/archive/${COMMIT}.tar.gz" + S="${WORKDIR}/TempestSDR-${COMMIT}" +fi +IUSE="" + +DEPEND=">=virtual/jdk-1.7:* + net-wireless/airspy + net-wireless/uhd:= + net-wireless/rtl-sdr + 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 +} diff --git a/net-wireless/tempestsdr/tempestsdr-9999.ebuild b/net-wireless/tempestsdr/tempestsdr-9999.ebuild index a7f4aecfedad..94ad5e3071f5 100644 --- a/net-wireless/tempestsdr/tempestsdr-9999.ebuild +++ b/net-wireless/tempestsdr/tempestsdr-9999.ebuild @@ -1,17 +1,24 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit git-r3 java-pkg-2 +inherit java-pkg-2 DESCRIPTION="Remote video eavesdropping using a software-defined radio platform" HOMEPAGE="https://github.com/deltj/TempestSDR.git" -EGIT_REPO_URI="https://github.com/deltj/TempestSDR.git" LICENSE="GPL-3" SLOT="0" -KEYWORDS="" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/deltj/TempestSDR.git" +else + KEYWORDS="~amd64 ~x86" + COMMIT="93c238725bdcf2f50c8a1d3789cf56e90f7bab7f" + SRC_URI="https://github.com/deltj/TempestSDR/archive/${COMMIT}.tar.gz" + S="${WORKDIR}/TempestSDR-${COMMIT}" +fi IUSE="" DEPEND=">=virtual/jdk-1.7:* @@ -23,12 +30,6 @@ DEPEND=">=virtual/jdk-1.7:* RDEPEND="${DEPEND}" BDEPEND="" -src_prepare() { - #airspy mini support, but may degrade airspy support, needs testing - #sed -i -e 's#10e6#6e6#g' -e 's#10000000#6000000#g' TSDRPlugin_Airspy/src/TSDRPlugin_Airspy.cpp - default -} - src_compile() { emake all } |