diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-05 03:04:47 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-05 03:04:47 -0500 |
| commit | ff03324f0b5c30484659977ecb3a56e73f5856a5 (patch) | |
| tree | d3d9a7636e37b0d2eec93ddf61a47caeda399de0 /net-wireless | |
| parent | eed03ed6da4435154826115469c3956ad88ee8a5 (diff) | |
| download | baldeagleos-repo-ff03324f0b5c30484659977ecb3a56e73f5856a5.tar.gz baldeagleos-repo-ff03324f0b5c30484659977ecb3a56e73f5856a5.tar.xz baldeagleos-repo-ff03324f0b5c30484659977ecb3a56e73f5856a5.zip | |
Adding metadata
Diffstat (limited to 'net-wireless')
| -rw-r--r-- | net-wireless/gr-osmosdr/Manifest | 1 | ||||
| -rw-r--r-- | net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.6-include-numpy.patch | 27 | ||||
| -rw-r--r-- | net-wireless/gr-osmosdr/gr-osmosdr-0.2.6_p20260130.ebuild (renamed from net-wireless/gr-osmosdr/gr-osmosdr-0.2.6-r1.ebuild) | 14 |
3 files changed, 35 insertions, 7 deletions
diff --git a/net-wireless/gr-osmosdr/Manifest b/net-wireless/gr-osmosdr/Manifest index 2ad5708427ff..c4aa810192e6 100644 --- a/net-wireless/gr-osmosdr/Manifest +++ b/net-wireless/gr-osmosdr/Manifest @@ -1 +1,2 @@ DIST gr-osmosdr-0.2.6.tar.gz 268003 BLAKE2B e9826301e2836dbe937aa69bcc8078769a44889b19aa8981224ab4b0de96bd93cd3b6a0b42366b85e44854fc4300c5846cd07fdd5d9e3f7695082be3a29cb249 SHA512 2afac3503e74b67c8fb20b51dbe3c4d25f8247a9da4bfd9aec6d68412381e5e2319e8cc5b411faa9909a6c2b00c4844307c94d63e4efd613a2ddba027fd2e570 +DIST gr-osmosdr-0.2.6_p20260130.tar.zst 239929 BLAKE2B ef03ed037bb346bbd8330fcc70e77fab76fcc6d22e53167680387d0b33b0111dfd9853f5f1f64ecce0a5dbbe198cbcfffbe5f8d1a754e5e6a20fdea402b653fa SHA512 7855978a63227b92a12ecb2caa80f6f58739898e11b45109073fb22e9a2854bb0f1be857ce6946e4c66ba0942ae2197c2728a80c43364ad77abf3c73da94a91c diff --git a/net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.6-include-numpy.patch b/net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.6-include-numpy.patch new file mode 100644 index 000000000000..f6cf4425551c --- /dev/null +++ b/net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.6-include-numpy.patch @@ -0,0 +1,27 @@ +diff --git a/python/bindings/CMakeLists.txt b/python/bindings/CMakeLists.txt +index f2233cf..3252313 100644 +--- a/python/bindings/CMakeLists.txt ++++ b/python/bindings/CMakeLists.txt +@@ -5,6 +5,22 @@ + # SPDX-License-Identifier: GPL-3.0-or-later + # + ++# Find the Python interpreter ++find_package(Python REQUIRED COMPONENTS Interpreter) ++ ++# Execute Python to get the NumPy include directory ++execute_process( ++ COMMAND ${Python_EXECUTABLE} -c "import numpy; print(numpy.get_include())" ++ OUTPUT_VARIABLE NUMPY_INCLUDE_DIR ++ OUTPUT_STRIP_TRAILING_WHITESPACE ++) ++ ++# Print the path to verify it works during configuration ++message(STATUS "NumPy include directory: ${NUMPY_INCLUDE_DIR}") ++ ++# Include the directory globally or link it to your target ++include_directories(${NUMPY_INCLUDE_DIR}) ++ + GR_PYTHON_CHECK_MODULE_RAW( + "pygccxml" + "import pygccxml" diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.6-r1.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.6_p20260130.ebuild index cfce9e6d325f..4924b5a5d438 100644 --- a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.6-r1.ebuild +++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.6_p20260130.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{13..14} ) -inherit cmake python-single-r1 +inherit cmake python-single-r1 unpacker DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr and hackrf" HOMEPAGE=" @@ -16,9 +16,8 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://gitea.osmocom.org/sdr/gr-osmosdr.git" else - SRC_URI="https://gitea.osmocom.org/sdr/gr-osmosdr/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~riscv ~x86" - S="${WORKDIR}/${PN}" + SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.zst" + KEYWORDS="~amd64 ~arm ~riscv ~x86" fi LICENSE="GPL-3" @@ -28,7 +27,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} dev-libs/boost:= - dev-libs/log4cpp net-wireless/gnuradio:0=[${PYTHON_SINGLE_USEDEP}] sci-libs/volk:= airspy? ( net-wireless/airspy ) @@ -46,7 +44,8 @@ RDEPEND="${PYTHON_DEPS} uhd? ( net-wireless/uhd:=[${PYTHON_SINGLE_USEDEP}] ) xtrx? ( net-wireless/libxtrx ) " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + dev-python/numpy" BDEPEND=" $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') doc? ( app-text/doxygen ) @@ -54,7 +53,8 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-0.2.3_p20210128-fix-enable-python.patch" - "${FILESDIR}/${P}-boost-1.89.patch" # bug #969160 + "${FILESDIR}/${PN}-0.2.6-boost-1.89.patch" # bug #969160 + "${FILESDIR}/${PN}-0.2.6-include-numpy.patch" ) src_configure() { |
