diff options
author | Rick Farina <zerochaos@gentoo.org> | 2022-08-17 22:20:25 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2022-08-17 22:21:29 -0400 |
commit | 0afe6e688511dd7915afc845344d825f66c3fef9 (patch) | |
tree | ca0f9bdf23097dd3386436af19d626a6eaa2e20b /net-wireless/tempestsdr/tempestsdr-0.0_p20200221-r1.ebuild | |
parent | dev-libs/liblouis: add 3.22.0 (diff) | |
download | gentoo-0afe6e688511dd7915afc845344d825f66c3fef9.tar.gz gentoo-0afe6e688511dd7915afc845344d825f66c3fef9.tar.bz2 gentoo-0afe6e688511dd7915afc845344d825f66c3fef9.zip |
net-wireless/tempestsdr: fix missing dep
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/tempestsdr/tempestsdr-0.0_p20200221-r1.ebuild')
-rw-r--r-- | net-wireless/tempestsdr/tempestsdr-0.0_p20200221-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-wireless/tempestsdr/tempestsdr-0.0_p20200221-r1.ebuild b/net-wireless/tempestsdr/tempestsdr-0.0_p20200221-r1.ebuild new file mode 100644 index 000000000000..1301229d0e69 --- /dev/null +++ b/net-wireless/tempestsdr/tempestsdr-0.0_p20200221-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 -> ${P}.tar.gz" + S="${WORKDIR}/TempestSDR-${COMMIT}" +fi +IUSE="" + +DEPEND=">=virtual/jdk-1.8:* + dev-libs/boost:= + 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 +} |