mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
qspectrumanalyzer/soapysdr: well, that hurt a little
This commit is contained in:
parent
58b664b006
commit
0bd770fcd9
33 changed files with 607 additions and 187 deletions
1
dev-python/pyFFTW/Manifest
Normal file
1
dev-python/pyFFTW/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST pyFFTW-0.10.4.tar.gz 97736 SHA256 0a361f0e97156dfd12344765fed0b13b7e783d6241a9bbd0c62431a6861dd303 SHA512 d3743e3834ae753898c1abd49762ce5ec6bf808ececb2db93337698ee6b6f4f92969d6a9e61a88230709095ed1b276e722a92330855f349c60b8a9936ab53680 WHIRLPOOL f3bcd65ac67e43c60db7abbf050c2794c873affdac7022deaaa33c55914ee0b23e81ce05cf6c6478616d5605f3203882ed0bf6fde7700193ff6717c64abc4513
|
||||
28
dev-python/pyFFTW/pyFFTW-0.10.4.ebuild
Normal file
28
dev-python/pyFFTW/pyFFTW-0.10.4.ebuild
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pythonic python wrapper around FFTW"
|
||||
HOMEPAGE="https://github.com/pyFFTW/pyFFTW"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/pyFFTW/pyFFTW.git"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/pyFFTW/pyFFTW/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
>=sci-libs/fftw-3.3:3.0="
|
||||
RDEPEND="${DEPEND}"
|
||||
28
dev-python/pyFFTW/pyFFTW-9999.ebuild
Normal file
28
dev-python/pyFFTW/pyFFTW-9999.ebuild
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pythonic python wrapper around FFTW"
|
||||
HOMEPAGE="https://github.com/pyFFTW/pyFFTW"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/pyFFTW/pyFFTW.git"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/pyFFTW/pyFFTW/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
>=sci-libs/fftw-3.3:3.0="
|
||||
RDEPEND="${DEPEND}"
|
||||
1
dev-python/qtpy/Manifest
Normal file
1
dev-python/qtpy/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST qtpy-0.6.9.tar.gz 24878 SHA256 421db39c390b9f6d5978f1ed9a1c16faf4e569aa93c06a95498cd130ea2cfcc6 SHA512 9578fb2adb54bdb3a27a161485d8b791971636947a8fd6f6e93ca82eba69bd9906555824fc43197a7953208b7ae6c04ff6e926cf733941f309324dcf44a7c217 WHIRLPOOL 5d2e0aa6a2d2a609540bb3d1a3b8d709987565c446e34e026e821c0059031aca7bab78ff97dfc3e578244afe40350dc5b1330d6de482d7e0e8b4c98da2888433
|
||||
35
dev-python/qtpy/qtpy-0.6.9.ebuild
Normal file
35
dev-python/qtpy/qtpy-0.6.9.ebuild
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Minimal Python 2 & 3 shim around all Qt bindings"
|
||||
HOMEPAGE="https://github.com/mottosso/Qt.py"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/mottosso/Qt.py.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/mottosso/Qt.py/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/Qt.py-"${PV}"
|
||||
fi
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
|| (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[${PYTHON_USEDEP}]
|
||||
dev-python/pyside[${PYTHON_USEDEP}]
|
||||
)"
|
||||
35
dev-python/qtpy/qtpy-9999.ebuild
Normal file
35
dev-python/qtpy/qtpy-9999.ebuild
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Minimal Python 2 & 3 shim around all Qt bindings"
|
||||
HOMEPAGE="https://github.com/mottosso/Qt.py"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/mottosso/Qt.py.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/mottosso/Qt.py/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/Qt.py-"${PV}"
|
||||
fi
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
|| (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[${PYTHON_USEDEP}]
|
||||
dev-python/pyside[${PYTHON_USEDEP}]
|
||||
)"
|
||||
1
dev-python/simplesoapy/Manifest
Normal file
1
dev-python/simplesoapy/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST simplesoapy-1.3.0.tar.gz 5768 SHA256 f6ab435c1fed1d480084938cc2bdf4f6db1397b86f0c62c140dbca3d7e98f077 SHA512 16ae71a7e4779b6781be99950429587ffbf43fe6ee6498b8e314533e00f40ca3532baef81719ec848ad2445be904133132868bc421242c8a3934e6a36505e0b5 WHIRLPOOL 27799fdca26f296823258dcd2484a6524ab2e73ef24ef98f3df174f6e349280e0f6291399566c0c0ed08263e089b5d7b884229720d93a6a9892e80453927564d
|
||||
27
dev-python/simplesoapy/simplesoapy-1.3.0.ebuild
Normal file
27
dev-python/simplesoapy/simplesoapy-1.3.0.ebuild
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Copyright 1999-2017 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="Simple pythonic wrapper for SoapySDR library"
|
||||
HOMEPAGE="https://github.com/xmikos/simplesoapy"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/xmikos/simplesoapy.git"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/xmikos/simplesoapy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
|
||||
net-wireless/soapysdr"
|
||||
27
dev-python/simplesoapy/simplesoapy-9999.ebuild
Normal file
27
dev-python/simplesoapy/simplesoapy-9999.ebuild
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Copyright 1999-2017 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="Simple pythonic wrapper for SoapySDR library"
|
||||
HOMEPAGE="https://github.com/xmikos/simplesoapy"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/xmikos/simplesoapy.git"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/xmikos/simplesoapy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
|
||||
net-wireless/soapysdr"
|
||||
1
dev-python/simplespectral/Manifest
Normal file
1
dev-python/simplespectral/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST simplespectral-1.0.0.tar.gz 5750 SHA256 4342741f7054c71f7c5fb9d38df49e048e0a4e20eb53cefd247e47937644cad0 SHA512 16da3cb19cd7c567b64709a26ed5def7eb3047b08e2cb48db6962036a6c3e34c122dadf71821b6a22df55ebcf3c2ff95e3af3898efc8b4a6d5902e48de8e050c WHIRLPOOL e11ab0cdec0e30315da0a7b565e7de33371c329854ea62a396be1353d857e1cc9b6659a25b628f7be8d0bc44b6a913b56b5876f02ef84c1e3da8aadc37014cf6
|
||||
29
dev-python/simplespectral/simplespectral-1.0.0.ebuild
Normal file
29
dev-python/simplespectral/simplespectral-1.0.0.ebuild
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Copyright 1999-2017 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="Heavily simplified scipy.signal.spectral module"
|
||||
HOMEPAGE="https://github.com/xmikos/simplespectral"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/xmikos/simplespectral.git"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/xmikos/simplespectral/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
IUSE="faster +fastest"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
|
||||
faster? ( sci-libs/scipy[${PYTHON_USEDEP}] )
|
||||
fastest? ( dev-python/pyFFTW[${PYTHON_USEDEP}] )"
|
||||
29
dev-python/simplespectral/simplespectral-9999.ebuild
Normal file
29
dev-python/simplespectral/simplespectral-9999.ebuild
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Copyright 1999-2017 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="Heavily simplified scipy.signal.spectral module"
|
||||
HOMEPAGE="https://github.com/xmikos/simplespectral"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/xmikos/simplespectral.git"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/xmikos/simplespectral/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
IUSE="faster +fastest"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
|
||||
faster? ( sci-libs/scipy[${PYTHON_USEDEP}] )
|
||||
fastest? ( dev-python/pyFFTW[${PYTHON_USEDEP}] )"
|
||||
1
net-wireless/qspectrumanalyzer/Manifest
Normal file
1
net-wireless/qspectrumanalyzer/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST qspectrumanalyzer-2.1.0.tar.gz 46425 SHA256 e981cef65759462c186645626be0014d6c2939538101540cee2db439646b566e SHA512 8749c3374bb951cf7f7691799aa2893bd765b267dbcb17228a87f6da0dd64a3191797619a79b0c548af3944077710f2b00d50b446d04f5d0cbba0faea378bd39 WHIRLPOOL 53e7db5a3e35931efcc092ab5b03a230f92622f5d091b5b6484bd5fa922dbfa3210d384e2877817621385756f35d753d8ed433978c581fab4982493b842019aa
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{3,4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="vendor and platform neutral SDR support library"
|
||||
HOMEPAGE="https://github.com/xmikos/qspectrumanalyzer"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/xmikos/qspectrumanalyzer.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/xmikos/qspectrumanalyzer/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
net-wireless/soapy_power[${PYTHON_USEDEP}]
|
||||
dev-python/pyqtgraph[${PYTHON_USEDEP}]
|
||||
dev-python/qtpy[${PYTHON_USEDEP}]"
|
||||
|
|
@ -1,63 +1,32 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{3,4,5} )
|
||||
|
||||
inherit git-r3 distutils-r1
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="vendor and platform neutral SDR support library"
|
||||
HOMEPAGE="http://github.com/pothosware/SoapySDR"
|
||||
#EGIT_REPO_URI="https://github.com/miek/qspectrumanalyzer.git"
|
||||
EGIT_REPO_URI="https://github.com/xmikos/qspectrumanalyzer.git"
|
||||
#EGIT_CLONE_TYPE="shallow"
|
||||
HOMEPAGE="https://github.com/xmikos/qspectrumanalyzer"
|
||||
|
||||
#LICENSE="Boost-1.0"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
#IUSE="python"
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/xmikos/qspectrumanalyzer.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/xmikos/qspectrumanalyzer/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/pyqtgraph[${PYTHON_USEDEP}]"
|
||||
|
||||
#src_prepare() {
|
||||
# use python && python_copy_sources
|
||||
#}
|
||||
|
||||
#src_configure() {
|
||||
# configuration() {
|
||||
# local mycmakeargs=(
|
||||
# -DPYTHON_BASENAME="-${EPYTHON}"
|
||||
# -DPYTHON_SUFFIX="-${EPYTHON}"
|
||||
# $(cmake-utils_use_enable python PYTHON)
|
||||
# )
|
||||
#if python_is_python3; then
|
||||
#mycmakeargs+=( -DBUILD_PYTHON3=ON )
|
||||
#else
|
||||
#mycmakeargs+=( -DBUILD_PYTHON3=OFF )
|
||||
#fi
|
||||
|
||||
# CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_configure
|
||||
# }
|
||||
# use python && python_foreach_impl configuration || configuration
|
||||
#}
|
||||
|
||||
#src_compile() {
|
||||
# compilation() {
|
||||
# CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_make
|
||||
# }
|
||||
# use python && python_foreach_impl compilation || compilation
|
||||
#}
|
||||
|
||||
#src_install() {
|
||||
# installation() {
|
||||
# CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_install DESTDIR="${D}"
|
||||
# use python && python_optimize
|
||||
# }
|
||||
# use python && python_foreach_impl installation || installation
|
||||
#}
|
||||
net-wireless/soapy_power[${PYTHON_USEDEP}]
|
||||
dev-python/pyqtgraph[${PYTHON_USEDEP}]
|
||||
dev-python/qtpy[${PYTHON_USEDEP}]"
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
EBUILD rx_tools-9999.ebuild 841 SHA256 bae6a124333e6af756d43ff797cd0c927a84b1c5bf74a864bd369870e8183a3b SHA512 bf0e2f331a3b2199330ca0177e8c1904ae0cca97d2ee6798421f0538804f874c1ce4f42ca401ee80ba9e568722c65bd3bbbe83c4c86dd21f808a6dfc945e90fc WHIRLPOOL 849fa2b636ab4855a058e1f8ed826b7fa20d683930ca6c8c058ccf6fa99808e02d204189db6e5733c5dc04db9c3b26ece7d08a2ab7b07ea7e53fe081d7f8673c
|
||||
DIST rx_tools-1.0.3.tar.gz 48731 SHA256 0828f1bb2b4634746bf57da8a63d399ec89cb199e1a6630c893120b9fc51b18d SHA512 369ba56e970a2ffb81d56171bb0d0bba2790a810b797e84e473c4d83d3d67b19739ea367e749f6dea1c0f5aee3284cd22664fda71204944a3b58a6e06b58b50b WHIRLPOOL 48a2d689cc59ce644a061a057d34e8bc9a421936b497eaf19afaa46d3c3b473976b60b1ab228d7471807ea6ad7b90c748057fa4ec45e0b50c2e24dde11630c61
|
||||
|
|
|
|||
25
net-wireless/rx_tools/rx_tools-1.0.3.ebuild
Normal file
25
net-wireless/rx_tools/rx_tools-1.0.3.ebuild
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=6
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="rx_fm, rx_power, and rx_sdr tools for receiving data from SDRs"
|
||||
HOMEPAGE="https://github.com/rxseger/rx_tools"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/rxseger/rx_tools.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/rxseger/rx_tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-wireless/soapysdr"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
|
@ -1,21 +1,24 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
inherit git-r3 toolchain-funcs cmake-utils
|
||||
EAPI=6
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="rx_fm, rx_power, and rx_sdr tools for receiving data from SDRs"
|
||||
HOMEPAGE="https://github.com/rxseger/rx_tools"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/rxseger/rx_tools.git"
|
||||
EGIT_CLONE_TYPE="shallow"
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/${P}
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/rxseger/rx_tools.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/rxseger/rx_tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-wireless/soapysdr"
|
||||
|
|
|
|||
1
net-wireless/soapy_power/Manifest
Normal file
1
net-wireless/soapy_power/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST soapy_power-1.5.0.tar.gz 14482 SHA256 c4022c2148bb7bbf4f3e9c6950bdd221ae778dfef6b7d334202d24cf59d524c8 SHA512 9a3d9edfbc9e35ba78b008afa083001dc320078bd8f56bbadbb041f1a9fb378ca96a7f89a73b04dd2a6d60d4cef72ffa57ed8b9c633ae899a08706df665f4d13 WHIRLPOOL 6c0597c8188d91bd7c452b49ac0c293b1ec187436d6da1a23024a44c512aca7d04078ab914b766cad1d27abae2c6e030da1abe3f70ce59fbb2549f419b78fb96
|
||||
29
net-wireless/soapy_power/soapy_power-1.5.0.ebuild
Normal file
29
net-wireless/soapy_power/soapy_power-1.5.0.ebuild
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Copyright 1999-2017 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}]
|
||||
faster? ( sci-libs/scipy[${PYTHON_USEDEP}] )
|
||||
fastest? ( dev-python/pyFFTW[${PYTHON_USEDEP}] )"
|
||||
29
net-wireless/soapy_power/soapy_power-9999.ebuild
Normal file
29
net-wireless/soapy_power/soapy_power-9999.ebuild
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Copyright 1999-2017 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}]
|
||||
faster? ( sci-libs/scipy[${PYTHON_USEDEP}] )
|
||||
fastest? ( dev-python/pyFFTW[${PYTHON_USEDEP}] )"
|
||||
1
net-wireless/soapyhackrf/Manifest
Normal file
1
net-wireless/soapyhackrf/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST soapyhackrf-0.2.2.tar.gz 14489 SHA256 158671d3aa6972d90b916a5ffab2e1213e5d25f35fb300e1b47ee01ed3d36b4a SHA512 631e5bca1dfe690a6b82dcfb12e24f136edecbd3ab983a3b7efdbe92f57e44485a4a232da5a0a87bbf8a06544171fdba515b34d1cc54bac91659e834043d6460 WHIRLPOOL 46f422d0f4111a27f58964019debbea2d031a549bf05af3a279a758bb5d2d4dd3cf1ed9b968a87bf54ad3dd4312b4882bf287fdaf6399b48e716411da1706770
|
||||
27
net-wireless/soapyhackrf/soapyhackrf-0.2.2.ebuild
Normal file
27
net-wireless/soapyhackrf/soapyhackrf-0.2.2.ebuild
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="SoapySDR HackRF module"
|
||||
HOMEPAGE="https://github.com/pothosware/SoapyHackRF"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapyHackRF.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/pothosware/SoapyHackRF/archive/soapy-hackrf-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/SoapyHackRF-soapy-hackrf-"${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="net-wireless/soapysdr
|
||||
net-libs/libhackrf:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
|
@ -1,64 +1,27 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
inherit cmake-utils
|
||||
|
||||
inherit cmake-utils git-r3 python-r1
|
||||
|
||||
DESCRIPTION="vendor and platform neutral SDR support library"
|
||||
DESCRIPTION="SoapySDR HackRF module"
|
||||
HOMEPAGE="https://github.com/pothosware/SoapyHackRF"
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapyHackRF.git"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapyHackRF.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/pothosware/SoapyHackRF/archive/soapy-hackrf-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/SoapyHackRF-soapy-hackrf-"${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
IUSE="python"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )
|
||||
net-wireless/soapysdr
|
||||
net-libs/libhackrf"
|
||||
DEPEND="${RDEPEND}
|
||||
python? ( dev-lang/swig:0 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
use python && python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_BASENAME="-${EPYTHON}"
|
||||
-DPYTHON_SUFFIX="-${EPYTHON}"
|
||||
$(cmake-utils_use_enable python PYTHON)
|
||||
)
|
||||
#if python_is_python3; then
|
||||
#mycmakeargs+=( -DBUILD_PYTHON3=ON )
|
||||
#else
|
||||
#mycmakeargs+=( -DBUILD_PYTHON3=OFF )
|
||||
#fi
|
||||
|
||||
CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_configure
|
||||
}
|
||||
use python && python_foreach_impl configuration || configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
compilation() {
|
||||
CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_make
|
||||
}
|
||||
use python && python_foreach_impl compilation || compilation
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_install DESTDIR="${D}"
|
||||
use python && python_optimize
|
||||
}
|
||||
use python && python_foreach_impl installation || installation
|
||||
}
|
||||
RDEPEND="net-wireless/soapysdr
|
||||
net-libs/libhackrf:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
|
|
|||
1
net-wireless/soapyrtlsdr/Manifest
Normal file
1
net-wireless/soapyrtlsdr/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST soapyrtlsdr-0.2.2.tar.gz 13431 SHA256 d83ed90da1c44cbb1c596a4961cc2f30c045c07704f605e03b819f74d57bdfd8 SHA512 042f804e9679c1b47dec9d5a2a78f2a0cad09dd38145f336f3fad805949b3210584b8294a7b455a93edd7721e73cf3482173eb25f64d0ae4968bae4e689f8afa WHIRLPOOL 2568dc97ea6cc4b3bc25fbf1d4a382cc1e0a0e17157edacbc417121aa744b3ca5c83bdb088c544d84985d8f2f9bb37f61879cc3de8c39d3ed3ffe172164f8cbe
|
||||
27
net-wireless/soapyrtlsdr/soapyrtlsdr-0.2.2.ebuild
Normal file
27
net-wireless/soapyrtlsdr/soapyrtlsdr-0.2.2.ebuild
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="SoapySDR RTL-SDR Support Module"
|
||||
HOMEPAGE="https://github.com/pothosware/SoapyRTLSDR"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapyRTLSDR.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/pothosware/SoapyRTLSDR/archive/soapy-rtlsdr-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/SoapyRTLSDR-soapy-rtlsdr-"${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="net-wireless/soapysdr
|
||||
net-wireless/rtl-sdr"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
|
@ -1,64 +1,27 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
inherit cmake-utils
|
||||
|
||||
inherit cmake-utils git-r3 python-r1
|
||||
|
||||
DESCRIPTION="vendor and platform neutral SDR support library"
|
||||
DESCRIPTION="SoapySDR RTL-SDR Support Module"
|
||||
HOMEPAGE="https://github.com/pothosware/SoapyRTLSDR"
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapyRTLSDR.git"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapyRTLSDR.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/pothosware/SoapyRTLSDR/archive/soapy-rtlsdr-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/SoapyRTLSDR-soapy-rtlsdr-"${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
IUSE="python"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )
|
||||
net-wireless/soapysdr
|
||||
RDEPEND="net-wireless/soapysdr
|
||||
net-wireless/rtl-sdr"
|
||||
DEPEND="${RDEPEND}
|
||||
python? ( dev-lang/swig:0 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
use python && python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_BASENAME="-${EPYTHON}"
|
||||
-DPYTHON_SUFFIX="-${EPYTHON}"
|
||||
$(cmake-utils_use_enable python PYTHON)
|
||||
)
|
||||
#if python_is_python3; then
|
||||
#mycmakeargs+=( -DBUILD_PYTHON3=ON )
|
||||
#else
|
||||
#mycmakeargs+=( -DBUILD_PYTHON3=OFF )
|
||||
#fi
|
||||
|
||||
CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_configure
|
||||
}
|
||||
use python && python_foreach_impl configuration || configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
compilation() {
|
||||
CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_make
|
||||
}
|
||||
use python && python_foreach_impl compilation || compilation
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_install DESTDIR="${D}"
|
||||
use python && python_optimize
|
||||
}
|
||||
use python && python_foreach_impl installation || installation
|
||||
}
|
||||
DEPEND="${RDEPEND}"
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
EBUILD soapysdr-9999.ebuild 1464 SHA256 c190856bc05e4a5daa2838c85d09c719e3f06cd2be1118336b4943ce64f2a1f7 SHA512 c877d2ef49b51378605eb1377aed928da88791605e877816763c50cd802628aa982579f58ee66fa4ddc68c59d47e9c94016a963e5a1faf05d151bebf3beedf27 WHIRLPOOL 0a534e6d0ff437cc021b752afa9f8db4682a3965d91eb4b0c34dbf7cae5a60fa4ada2d9161ceee43b81ecf7ad86d0ceebddea5653b8f4f7b32f1652880fe348e
|
||||
MISC metadata.xml 258 SHA256 ba813699ae23677ee2004dafd41f74eba9d1eb8778467c0f492025cf72e0c93f SHA512 1c1b55777f8e757404ad5df42c46e00f344e28a4067129b2dd93b17c13fb2656130e948e1dc6295dbb6e6da81eee5b012f9b3a002a95521e9ee12c2cd6df10db WHIRLPOOL 776b2cca1390f5fa352632f715873a28d6be0078724b426c5a407437ae99fca76e6e9a563441bf77bf14dbae73fcc1efedeaa72fcaf152b5dcf8c3dd041fe8b7
|
||||
DIST soapysdr-0.5.4.tar.gz 106605 SHA256 b8e32f6046cb7b9a49e377a9271b5e1e6ac6d93f5e67dd39c253d91c7e4d3519 SHA512 7cf3d0360165be7ab5be3619dfaf980961a897e40ab1c6f1bc934e67b02b4afe53c2656adcec8d43ecf4ce28e97d18a9c544d972cc0f67addae447d86e633aaa WHIRLPOOL afb53103bc8892d8142b7ffd32137f2d4bd356791088d52214c9f6f5d7ea5bbf304cc08d0cc630d55b9e7f113f7d438075c940bb8c29adf0d680c3fbc194e4f0
|
||||
|
|
|
|||
80
net-wireless/soapysdr/soapysdr-0.5.4.ebuild
Normal file
80
net-wireless/soapysdr/soapysdr-0.5.4.ebuild
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit cmake-utils python-r1
|
||||
|
||||
DESCRIPTION="vendor and platform neutral SDR support library"
|
||||
HOMEPAGE="http://github.com/pothosware/SoapySDR"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git"
|
||||
EGIT_CLONE_TYPE="shallow"
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="hackrf python rtlsdr"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="${RDEPEND}
|
||||
python? ( dev-lang/swig:0 )
|
||||
"
|
||||
PDEPEND="hackrf? ( net-wireless/soapyhackrf )
|
||||
rtlsdr? ( net-wireless/soapyrtlsdr )"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
use python && python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_PYTHON=$(usex python)
|
||||
)
|
||||
if python_is_python3; then
|
||||
mycmakeargs+=( -DBUILD_PYTHON3=ON
|
||||
-DENABLE_PYTHON3=ON
|
||||
)
|
||||
else
|
||||
mycmakeargs+=( -DBUILD_PYTHON3=OFF
|
||||
-DENABLE_PYTHON3=OFF
|
||||
)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl configuration
|
||||
else
|
||||
configuration
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
compilation() {
|
||||
cmake-utils_src_make
|
||||
}
|
||||
use python && python_foreach_impl compilation || compilation
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
cmake-utils_src_install DESTDIR="${ED}"
|
||||
use python && python_optimize
|
||||
}
|
||||
use python && python_foreach_impl installation || installation
|
||||
}
|
||||
|
|
@ -1,22 +1,29 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
#CMAKE_IN_SOURCE_BUILD="1"
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit cmake-utils git-2 python-r1
|
||||
inherit cmake-utils python-r1
|
||||
|
||||
DESCRIPTION="vendor and platform neutral SDR support library"
|
||||
HOMEPAGE="http://github.com/pothosware/SoapySDR"
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git"
|
||||
EGIT_CLONE_TYPE="shallow"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git"
|
||||
EGIT_CLONE_TYPE="shallow"
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
IUSE="hackrf python rtlsdr"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
|
@ -29,37 +36,44 @@ PDEPEND="hackrf? ( net-wireless/soapyhackrf )
|
|||
rtlsdr? ( net-wireless/soapyrtlsdr )"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
use python && python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_BASENAME="-${EPYTHON}"
|
||||
-DPYTHON_SUFFIX="-${EPYTHON}"
|
||||
$(cmake-utils_use_enable python PYTHON)
|
||||
-DENABLE_PYTHON=$(usex python)
|
||||
)
|
||||
#if python_is_python3; then
|
||||
#mycmakeargs+=( -DBUILD_PYTHON3=ON )
|
||||
#else
|
||||
#mycmakeargs+=( -DBUILD_PYTHON3=OFF )
|
||||
#fi
|
||||
if python_is_python3; then
|
||||
mycmakeargs+=( -DBUILD_PYTHON3=ON
|
||||
-DENABLE_PYTHON3=ON
|
||||
)
|
||||
else
|
||||
mycmakeargs+=( -DBUILD_PYTHON3=OFF
|
||||
-DENABLE_PYTHON3=OFF
|
||||
)
|
||||
fi
|
||||
|
||||
CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_configure
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
use python && python_foreach_impl configuration || configuration
|
||||
if use python; then
|
||||
python_foreach_impl configuration
|
||||
else
|
||||
configuration
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
compilation() {
|
||||
CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_make
|
||||
cmake-utils_src_make
|
||||
}
|
||||
use python && python_foreach_impl compilation || compilation
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_install DESTDIR="${D}"
|
||||
cmake-utils_src_install DESTDIR="${ED}"
|
||||
use python && python_optimize
|
||||
}
|
||||
use python && python_foreach_impl installation || installation
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
#qspectrumanalyzer
|
||||
~dev-python/pyqtgraph-0.10.0
|
||||
dev-python/pyFFTW
|
||||
dev-python/qtpy
|
||||
dev-python/simplespectral
|
||||
dev-python/simplesoapy
|
||||
|
||||
# required by python3.5
|
||||
~dev-python/argh-0.26.2
|
||||
~dev-python/bcrypt-3.1.1
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
net-wireless/rx_tools
|
||||
net-wireless/soapysdr
|
||||
net-wireless/soapyhackrf
|
||||
net-wireless/soapyrtlsdr
|
||||
net-wireless/soapy_power
|
||||
net-wireless/qspectrumanalyzer
|
||||
|
||||
net-wireless/wpa_supplicant
|
||||
net-wireless/inspectrum
|
||||
net-wireless/n4p
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@ net-wireless/lorcon python -ruby
|
|||
net-wireless/wifite extra dict
|
||||
net-analyzer/wireshark lua
|
||||
net-wireless/wpa_supplicant ap eap-sim uncommon-eap-types tdls p2p wps
|
||||
net-wireless/soapysdr hackrf
|
||||
net-wireless/soapysdr hackrf rtlsdr
|
||||
|
|
|
|||
Loading…
Reference in a new issue