summaryrefslogtreecommitdiff
path: root/net-wireless/soapysdr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-04 23:23:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-04 23:23:41 +0100
commit3b4ca161c9d7f5a66a93191da2c9ec02dbdde1b7 (patch)
tree05ee189fbf7a80ad6a8a565742051527322cbbdd /net-wireless/soapysdr
parent0f3400581b3370a12b1581c6394b74327181f3e8 (diff)
gentoo auto-resync : 04:04:2023 - 23:23:40
Diffstat (limited to 'net-wireless/soapysdr')
-rw-r--r--net-wireless/soapysdr/Manifest6
-rw-r--r--net-wireless/soapysdr/soapysdr-0.7.2.ebuild2
-rw-r--r--net-wireless/soapysdr/soapysdr-0.8.1.ebuild60
-rw-r--r--net-wireless/soapysdr/soapysdr-9999.ebuild2
4 files changed, 66 insertions, 4 deletions
diff --git a/net-wireless/soapysdr/Manifest b/net-wireless/soapysdr/Manifest
index b1a79ff89dfc..dac5b57f2311 100644
--- a/net-wireless/soapysdr/Manifest
+++ b/net-wireless/soapysdr/Manifest
@@ -1,4 +1,6 @@
DIST soapysdr-0.7.2.tar.gz 124607 BLAKE2B 534480574e2085bddea52141f26e0da8c70157e2c89a0af1236f3d1eb5b996d4ae5231cd209c610fc22d099bd9db665c4c7aea54081eeca2bb293b9eb1fe7c8e SHA512 2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371
-EBUILD soapysdr-0.7.2.ebuild 1322 BLAKE2B c661fe844c4b5306177963cb92548753b5874dba144ca8928acdbcfdaa15f00c3457435813b3ba69b519f2d8ac4414ee1cd1f4107896bce7a92d05fa8129da17 SHA512 e33c4c2f269cf1639bce881beff36a03326c2658a1c0e0e5c67076fcd866c851bfc463bda04c983d765ba5e2fbfa28578f736507bf5a5611b3ae5bf495743962
-EBUILD soapysdr-9999.ebuild 1317 BLAKE2B 7054855f0d340a44a4676e0c0b0acf2400cd02eecad97b5695bf0201758295d2ec45b5fa1315e949e8d51275816dc593ae2c3d75b8a5036928b196233098a72f SHA512 4b9748d3f5aa5da5e70e2cffe156a6df995f354da6ece5cf9cc0e3f8744d42309f34619f9e28b97eeab83d80e9cf6398caf752431814ff18414995fa7d4bcc28
+DIST soapysdr-0.8.1.tar.gz 131252 BLAKE2B 4dc97b683063a1bc52717f15b12a2471a338cebc30dccfd58723792119a496f5170b67eeda1ff4dbcd34811948f70b9f0e5df11b5b1738b46839ca7377fe557b SHA512 50c8f1652bf9ca09215f9c4115175427ca7b5338add7591e31ca0e627093c94b73e7cf7f84fa71ff419cc010d3c1263931506c728bbaa00413a7915d56a87787
+EBUILD soapysdr-0.7.2.ebuild 1324 BLAKE2B 50b48282d6686933ad7f72cc8a60f8ffd0fd1307cfe10b8a5d16601dfc664de7b6853498e90cc13b806508259c6f4493b60bd57fdb19721f3e969c6a78b63374 SHA512 02748e083bb4946448b105aac65bb4d8ee1fc8e5dbd33d0d6cb1a82fb019fa2a17cdc8b2945093a0cfc09e676a91bf8345f2b79f9870683c1073b1d58d7ba040
+EBUILD soapysdr-0.8.1.ebuild 1324 BLAKE2B 50b48282d6686933ad7f72cc8a60f8ffd0fd1307cfe10b8a5d16601dfc664de7b6853498e90cc13b806508259c6f4493b60bd57fdb19721f3e969c6a78b63374 SHA512 02748e083bb4946448b105aac65bb4d8ee1fc8e5dbd33d0d6cb1a82fb019fa2a17cdc8b2945093a0cfc09e676a91bf8345f2b79f9870683c1073b1d58d7ba040
+EBUILD soapysdr-9999.ebuild 1319 BLAKE2B d5d5f7853a1ebbe3705e2e12c0d9f97ef75b9e713bd6b57e808bb8f98815cccc3479cfac3d88b41156dbfbfbcaa66f9d5e7e4e6c366fa913a4a341f8d03f146a SHA512 4b59ecc9373e8e9f1fbf4852be3f358930431ea37d489de616cbfb30e71be021910c994e6e44697a6ead542143d2eecc459f8e956f710c5f78a863db9508e160
MISC metadata.xml 776 BLAKE2B e875dbd46723cba190cfe767f7c91518bbd73269fdef3bc64a67b1b48145f2eeb1ba6acbf258b4e1e578ad7f77225d37662ab70cb83b345c1acecbae4a113931 SHA512 4f92020b725b79bcb55b0e4fcb2f921d01fc582e53b56c333b83a3f04c24630200b7d72d49ee9d3aaa12c887c861744a660c4f0240b3c2d0ade6f29830b74de0
diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
index 4ca5a16b1b82..d05998052986 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{10..11} )
inherit cmake python-r1
diff --git a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
new file mode 100644
index 000000000000..d05998052986
--- /dev/null
+++ b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit cmake python-r1
+
+DESCRIPTION="vendor and platform neutral SDR support library"
+HOMEPAGE="https://github.com/pothosware/SoapySDR"
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git"
+ EGIT_CLONE_TYPE="shallow"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~arm ~riscv ~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/${PV}"
+
+IUSE="bladerf hackrf python rtlsdr plutosdr uhd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig:0 )
+"
+PDEPEND="bladerf? ( net-wireless/soapybladerf )
+ hackrf? ( net-wireless/soapyhackrf )
+ rtlsdr? ( net-wireless/soapyrtlsdr )
+ plutosdr? ( net-wireless/soapyplutosdr )
+ uhd? ( net-wireless/soapyuhd )"
+
+src_configure() {
+ configuration() {
+ mycmakeargs+=(
+ -DENABLE_PYTHON=ON
+ -DBUILD_PYTHON3=ON
+ )
+ }
+
+ if use python; then
+ python_foreach_impl configuration
+ fi
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use python; then
+ python_foreach_impl python_optimize
+ fi
+}
diff --git a/net-wireless/soapysdr/soapysdr-9999.ebuild b/net-wireless/soapysdr/soapysdr-9999.ebuild
index 61d5b92cbede..a61a00912262 100644
--- a/net-wireless/soapysdr/soapysdr-9999.ebuild
+++ b/net-wireless/soapysdr/soapysdr-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{10..11} )
inherit cmake python-r1