summaryrefslogtreecommitdiff
path: root/net-wireless
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-04-04 01:34:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2025-04-04 01:34:29 +0100
commit74dcbf5a63cafe2678e2a397e1002dd691425200 (patch)
tree5e08b1abdce069a7da83f1ca4cbe2ae4af56b161 /net-wireless
parent476528d7a16cfe2435b30ebd74783eea6925db5f (diff)
gentoo auto-resync : 04:04:2025 - 01:34:28
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/Manifest.gzbin13894 -> 13900 bytes
-rw-r--r--net-wireless/soapysdr/Manifest4
-rw-r--r--net-wireless/soapysdr/files/soapysdr-0.8.1-cmake4.patch39
-rw-r--r--net-wireless/soapysdr/soapysdr-0.8.1-r2.ebuild61
-rw-r--r--net-wireless/soapysdr/soapysdr-9999.ebuild10
5 files changed, 112 insertions, 2 deletions
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz
index f74e183c4e6b..dc825725d59e 100644
--- a/net-wireless/Manifest.gz
+++ b/net-wireless/Manifest.gz
Binary files differ
diff --git a/net-wireless/soapysdr/Manifest b/net-wireless/soapysdr/Manifest
index 26eef020612b..72daa66326d5 100644
--- a/net-wireless/soapysdr/Manifest
+++ b/net-wireless/soapysdr/Manifest
@@ -1,5 +1,7 @@
+AUX soapysdr-0.8.1-cmake4.patch 1426 BLAKE2B 5465d606c60246994153782b3a8f7e9e9e0e2fc096ca0c0d30dc87cc567dfe7e83fedde2a9668352605a5f66daa6913a71abb6276c520fc9fef64a777c8a1a24 SHA512 12b31de4dca5d9a73ebf2ed6f7c1688d3aa451fffe5de4758872f366c06d6a014f83a3f687088364e37b8cdeb4d7e624bd6643c992e6228260825a62eb23dc1e
AUX soapysdr-0.8.1-python3.12-distutils.patch 3044 BLAKE2B 04a24ef649a5a01c60e556b4ef51a16d3b1af4be28c0fe3dcad1fd040c57d450e0db07f7a614f6b61980700cff3d18cd129f8aecbf26cf4a5467ace085e613b5 SHA512 2ad79171bfad8358ecc170695199d2d23cefa54bb24e259b2ef6f9f7d6a3baaf4461495c7a0416318e7a2d918dee11949da1efa1d9e19bc550cb191b20a6fbd1
DIST soapysdr-0.8.1.tar.gz 131252 BLAKE2B 4dc97b683063a1bc52717f15b12a2471a338cebc30dccfd58723792119a496f5170b67eeda1ff4dbcd34811948f70b9f0e5df11b5b1738b46839ca7377fe557b SHA512 50c8f1652bf9ca09215f9c4115175427ca7b5338add7591e31ca0e627093c94b73e7cf7f84fa71ff419cc010d3c1263931506c728bbaa00413a7915d56a87787
EBUILD soapysdr-0.8.1-r1.ebuild 1431 BLAKE2B d471b15f4df3a644b68eeaa8d505cefdd59af67f0d6c4b4291e45fe3acddc8cc3a421b2118d5a2055aaa9adf617b992e9196b9a8eef9593f4a0725f02d38cb90 SHA512 78d5ce010465ac9b77f517718c2df680d5c3c3030881b4c0bb993f26ef52a77bdd6fe6f8850d979d0c997455fa110766777602cb974478869c036f0b513f659a
-EBUILD soapysdr-9999.ebuild 1271 BLAKE2B 72577bcf89e55b7a527fd42feb287f28e3f53d0acd1c424453fd426531e94e7d7d235ad3f23bd5fe873eb9520b4735c0b08c60dd6ea1fcd6fb05c247087e3240 SHA512 3f770323e798df6b5fa906b84ee2ecc0d9b11f7db5ab87093162c5daab35b7e17de0ed9a2a357e84cbe170e4c5682dd9b26937087545ffe03006b35c4e1a7efb
+EBUILD soapysdr-0.8.1-r2.ebuild 1475 BLAKE2B 4933845a78270ab61a1961380f787c42c7acc1377ebe7f9e02a53feb9ac390e9fddcb890462706d50ab81bc3ef958ce3139e3c4f58588b0bdf5ed5e6871b47cc SHA512 50f7680633ae7cd641b8dc65896d136d41bf00480d3657cd1dcb262164f5eee57917f9e7d37b577a4ee7aa74630daf2e6754e820d4e3a1e4eef405d12390075d
+EBUILD soapysdr-9999.ebuild 1475 BLAKE2B 4933845a78270ab61a1961380f787c42c7acc1377ebe7f9e02a53feb9ac390e9fddcb890462706d50ab81bc3ef958ce3139e3c4f58588b0bdf5ed5e6871b47cc SHA512 50f7680633ae7cd641b8dc65896d136d41bf00480d3657cd1dcb262164f5eee57917f9e7d37b577a4ee7aa74630daf2e6754e820d4e3a1e4eef405d12390075d
MISC metadata.xml 776 BLAKE2B e875dbd46723cba190cfe767f7c91518bbd73269fdef3bc64a67b1b48145f2eeb1ba6acbf258b4e1e578ad7f77225d37662ab70cb83b345c1acecbae4a113931 SHA512 4f92020b725b79bcb55b0e4fcb2f921d01fc582e53b56c333b83a3f04c24630200b7d72d49ee9d3aaa12c887c861744a660c4f0240b3c2d0ade6f29830b74de0
diff --git a/net-wireless/soapysdr/files/soapysdr-0.8.1-cmake4.patch b/net-wireless/soapysdr/files/soapysdr-0.8.1-cmake4.patch
new file mode 100644
index 000000000000..a21cdf7da951
--- /dev/null
+++ b/net-wireless/soapysdr/files/soapysdr-0.8.1-cmake4.patch
@@ -0,0 +1,39 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ff15ad0..8fff872 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ ########################################################################
+ # Project setup
+ ########################################################################
+-cmake_minimum_required(VERSION 3.1.0)
++cmake_minimum_required(VERSION 3.10.0)
+ project(SoapySDR)
+ enable_language(CXX)
+ enable_testing()
+diff --git a/ExampleDriver/CMakeLists.txt b/ExampleDriver/CMakeLists.txt
+index 32cb6ca..ada07e9 100644
+--- a/ExampleDriver/CMakeLists.txt
++++ b/ExampleDriver/CMakeLists.txt
+@@ -2,7 +2,7 @@
+ # Project setup -- only needed if device support is a stand-alone build
+ # We recommend that the support module be built in-tree with the driver.
+ ########################################################################
+-cmake_minimum_required(VERSION 2.6)
++cmake_minimum_required(VERSION 3.10.0)
+ project(SoapySDRMyDevice CXX)
+ enable_testing()
+
+diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
+index 8cb1592..a5c09ce 100644
+--- a/python/CMakeLists.txt
++++ b/python/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ ########################################################################
+ # Project setup
+ ########################################################################
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.10.0)
+ project(SoapySDRPython CXX)
+ enable_testing()
+
diff --git a/net-wireless/soapysdr/soapysdr-0.8.1-r2.ebuild b/net-wireless/soapysdr/soapysdr-0.8.1-r2.ebuild
new file mode 100644
index 000000000000..8f5ef69eb2ef
--- /dev/null
+++ b/net-wireless/soapysdr/soapysdr-0.8.1-r2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake python-single-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}"
+BDEPEND="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 )
+"
+
+PATCHES=(
+ "${FILESDIR}"/soapysdr-0.8.1-python3.12-distutils.patch
+ "${FILESDIR}"/soapysdr-0.8.1-cmake4.patch
+)
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_PYTHON=$(usex python)
+ -DENABLE_PYTHON3=$(usex python)
+ -DBUILD_PYTHON3=$(usex python)
+ -DUSE_PYTHON_CONFIG=ON
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ use python && python_optimize
+}
diff --git a/net-wireless/soapysdr/soapysdr-9999.ebuild b/net-wireless/soapysdr/soapysdr-9999.ebuild
index aaa41be56cc9..8f5ef69eb2ef 100644
--- a/net-wireless/soapysdr/soapysdr-9999.ebuild
+++ b/net-wireless/soapysdr/soapysdr-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -35,13 +35,21 @@ PDEPEND="
uhd? ( net-wireless/soapyuhd )
"
+PATCHES=(
+ "${FILESDIR}"/soapysdr-0.8.1-python3.12-distutils.patch
+ "${FILESDIR}"/soapysdr-0.8.1-cmake4.patch
+)
+
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_configure() {
local mycmakeargs=(
+ -DENABLE_PYTHON=$(usex python)
-DENABLE_PYTHON3=$(usex python)
+ -DBUILD_PYTHON3=$(usex python)
+ -DUSE_PYTHON_CONFIG=ON
)
cmake_src_configure