From e909e1ae96c59784c5b8ebc96e59c7f1394a06cc Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Fri, 26 Aug 2016 13:10:23 -0400 Subject: [PATCH] soapy: insane deps up a bit to make this all easier to use, plus fix deps --- net-wireless/soapyhackrf/soapyhackrf-9999.ebuild | 3 ++- net-wireless/soapysdr/soapysdr-9999.ebuild | 5 +++-- profiles/pentoo/base/package.use/net-wireless | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/net-wireless/soapyhackrf/soapyhackrf-9999.ebuild b/net-wireless/soapyhackrf/soapyhackrf-9999.ebuild index b48e30e9d..b7a01ffd6 100644 --- a/net-wireless/soapyhackrf/soapyhackrf-9999.ebuild +++ b/net-wireless/soapyhackrf/soapyhackrf-9999.ebuild @@ -20,7 +20,8 @@ IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND="python? ( ${PYTHON_DEPS} )" -DEPEND="${RDEPEND} +DEPEND="net-wireless/soapysdr + ${RDEPEND} python? ( dev-lang/swig:0 ) " diff --git a/net-wireless/soapysdr/soapysdr-9999.ebuild b/net-wireless/soapysdr/soapysdr-9999.ebuild index 00ac04d28..4b1bb8027 100644 --- a/net-wireless/soapysdr/soapysdr-9999.ebuild +++ b/net-wireless/soapysdr/soapysdr-9999.ebuild @@ -5,7 +5,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) -CMAKE_IN_SOURCE_BUILD="1" +#CMAKE_IN_SOURCE_BUILD="1" inherit cmake-utils git-2 python-r1 @@ -18,13 +18,14 @@ LICENSE="Boost-1.0" SLOT="0" KEYWORDS="" -IUSE="python" +IUSE="hackrf python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND="python? ( ${PYTHON_DEPS} )" DEPEND="${RDEPEND} python? ( dev-lang/swig:0 ) " +PDEPEND="hackrf? ( net-wireless/soapyhackrf )" src_prepare() { use python && python_copy_sources diff --git a/profiles/pentoo/base/package.use/net-wireless b/profiles/pentoo/base/package.use/net-wireless index 5ef9eec1b..1055176ee 100644 --- a/profiles/pentoo/base/package.use/net-wireless +++ b/profiles/pentoo/base/package.use/net-wireless @@ -8,3 +8,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