summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2018-02-19 11:51:36 -0500
committerZero_Chaos <zerochaos@gentoo.org>2018-02-19 12:29:23 -0500
commit9a5e1b8399ed2d3dde2ba6e60912626841bc9558 (patch)
tree3ee33d6031813e38a1405d323117f93f3851be34
parentnet-wireless/soapysdr: import from pentoo (diff)
downloadgentoo-9a5e1b8399ed2d3dde2ba6e60912626841bc9558.tar.gz
gentoo-9a5e1b8399ed2d3dde2ba6e60912626841bc9558.tar.bz2
gentoo-9a5e1b8399ed2d3dde2ba6e60912626841bc9558.zip
net-wireless/soapy_power: import from pentoo
rewrite of rtl_power using soapy backend Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r--net-wireless/soapy_power/Manifest1
-rw-r--r--net-wireless/soapy_power/metadata.xml19
-rw-r--r--net-wireless/soapy_power/soapy_power-1.6.1-r1.ebuild31
-rw-r--r--net-wireless/soapy_power/soapy_power-9999.ebuild31
4 files changed, 82 insertions, 0 deletions
diff --git a/net-wireless/soapy_power/Manifest b/net-wireless/soapy_power/Manifest
new file mode 100644
index 000000000000..2a98d84b3655
--- /dev/null
+++ b/net-wireless/soapy_power/Manifest
@@ -0,0 +1 @@
+DIST soapy_power-1.6.1.tar.gz 14672 BLAKE2B 7cc16fed02a02f91cb62d3937a1cf73144f8a427acbba1bacf4c8949f8d270d7bf5a443ddd227b0a53183d79f62fa2fc5e13f67ac188dfc3a2a385d22634076a SHA512 19aa0e80a7b67cb29d842343c09b8ca2e3068583c8117a8151c5b47f1a34369f0ec833f038595323712986c9348b14a43dc1fdc6516adb40de6b42a281d782e1
diff --git a/net-wireless/soapy_power/metadata.xml b/net-wireless/soapy_power/metadata.xml
new file mode 100644
index 000000000000..e93f0c7982e8
--- /dev/null
+++ b/net-wireless/soapy_power/metadata.xml
@@ -0,0 +1,19 @@
+<?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>
+ <name>Rick Farina</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+ </maintainer>
+ <use>
+ <flag name="faster">Use <pkg>sci-libs/scipy</pkg> to speed up drawing</flag>
+ <flag name="fastest">Use <pkg>dev-python/pyFFTW</pkg> to speed up drawing to the max</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">csete/gqrx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-wireless/soapy_power/soapy_power-1.6.1-r1.ebuild b/net-wireless/soapy_power/soapy_power-1.6.1-r1.ebuild
new file mode 100644
index 000000000000..cbaacd16f220
--- /dev/null
+++ b/net-wireless/soapy_power/soapy_power-1.6.1-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+inherit distutils-r1
+
+DESCRIPTION="Obtain power spectrum from SoapySDR devices"
+HOMEPAGE="https://github.com/xmikos/soapy_power"
+
+LICENSE="MIT"
+SLOT="0"
+
+if [ "${PV}" = "9999" ]; then
+ KEYWORDS=""
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/xmikos/soapy_power.git"
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/xmikos/soapy_power/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+IUSE="faster +fastest"
+
+DEPEND=""
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/simplespectral[${PYTHON_USEDEP}]
+ >=dev-python/simplesoapy-1.5.0[${PYTHON_USEDEP}]
+ faster? ( sci-libs/scipy[${PYTHON_USEDEP}] )
+ fastest? ( dev-python/pyFFTW[${PYTHON_USEDEP}] )"
diff --git a/net-wireless/soapy_power/soapy_power-9999.ebuild b/net-wireless/soapy_power/soapy_power-9999.ebuild
new file mode 100644
index 000000000000..cbaacd16f220
--- /dev/null
+++ b/net-wireless/soapy_power/soapy_power-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+inherit distutils-r1
+
+DESCRIPTION="Obtain power spectrum from SoapySDR devices"
+HOMEPAGE="https://github.com/xmikos/soapy_power"
+
+LICENSE="MIT"
+SLOT="0"
+
+if [ "${PV}" = "9999" ]; then
+ KEYWORDS=""
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/xmikos/soapy_power.git"
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/xmikos/soapy_power/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+IUSE="faster +fastest"
+
+DEPEND=""
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/simplespectral[${PYTHON_USEDEP}]
+ >=dev-python/simplesoapy-1.5.0[${PYTHON_USEDEP}]
+ faster? ( sci-libs/scipy[${PYTHON_USEDEP}] )
+ fastest? ( dev-python/pyFFTW[${PYTHON_USEDEP}] )"