public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rick Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/tempestsdr/
Date: Sat,  9 Nov 2019 19:39:40 +0000 (UTC)	[thread overview]
Message-ID: <1573328361.1be3799efab53adb3b4d9d3e3abd06f57bb6545c.zerochaos@gentoo> (raw)

commit:     1be3799efab53adb3b4d9d3e3abd06f57bb6545c
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 19:38:42 2019 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 19:39:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1be3799e

net-wireless/tempestsdr: initial commit

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/tempestsdr/metadata.xml           |  9 +++++
 net-wireless/tempestsdr/tempestsdr-9999.ebuild | 46 ++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/net-wireless/tempestsdr/metadata.xml b/net-wireless/tempestsdr/metadata.xml
new file mode 100644
index 00000000000..48e2501c039
--- /dev/null
+++ b/net-wireless/tempestsdr/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zerochaos@gentoo.org</email>
+	</maintainer>
+	<longdescription lang="en">
+	</longdescription>
+</pkgmetadata>

diff --git a/net-wireless/tempestsdr/tempestsdr-9999.ebuild b/net-wireless/tempestsdr/tempestsdr-9999.ebuild
new file mode 100644
index 00000000000..167bdba6e6f
--- /dev/null
+++ b/net-wireless/tempestsdr/tempestsdr-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3 java-pkg-2
+
+DESCRIPTION="Remote video eavesdropping using a software-defined radio platform"
+HOMEPAGE="https://github.com/tanpc/TempestSDR"
+EGIT_REPO_URI="https://github.com/tanpc/TempestSDR.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.7"
+DEPEND=">=virtual/jdk-1.7"
+BDEPEND=""
+
+src_prepare() {
+	sed -i -e 's#javah#javac -h .#' \
+		-e 's#-jni martin.tempest.core.TSDRLibrary##' \
+		-e 's#-o TSDRLibraryNDK.h#../src/martin/tempest/core/TSDRLibrary.java#' JavaGUI/jni/makefile || die
+	sed -i -e 's#TSDRLibraryNDK.h#martin_tempest_core_TSDRLibrary.h#g' JavaGUI/jni/TSDRLibraryNDK.c
+	#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 clean
+	#this absolutely breaks in wierd ways when built parallel
+	emake -j1 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
+}


             reply	other threads:[~2019-11-10 10:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-09 19:39 Rick Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-11-10 20:35 [gentoo-commits] repo/gentoo:master commit in: net-wireless/tempestsdr/ Michał Górny
2019-11-12 18:09 Rick Farina
2019-11-12 19:02 Rick Farina
2020-02-21 19:41 Rick Farina
2020-03-15  3:56 Thomas Deutschmann
2020-03-15  3:58 Thomas Deutschmann
2021-04-20 15:57 Rick Farina
2022-08-18  2:21 Rick Farina
2023-08-19 13:41 Rick Farina
2025-01-22 17:10 Rick Farina
2025-01-22 17:10 Rick Farina
2025-01-22 17:10 Rick Farina
2025-01-22 18:17 Rick Farina
2025-05-06 16:03 Sam James
2025-05-21 21:19 Sam James

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=1573328361.1be3799efab53adb3b4d9d3e3abd06f57bb6545c.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