commit: 4d2c3699179ed10d5c680e8914eef38ed6285a20 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Jan 26 18:34:30 2026 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Jan 26 21:00:58 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2c3699
net-wireless/gr-osmosdr: Fix build w/ boost-1.89, fix indendation Closes: https://bugs.gentoo.org/969160 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/gr-osmosdr-0.2.6-boost-1.89.patch | 11 +++++++++++ net-wireless/gr-osmosdr/gr-osmosdr-0.2.6.ebuild | 19 +++++++++---------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.6-boost-1.89.patch b/net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.6-boost-1.89.patch new file mode 100644 index 000000000000..5d405651b81a --- /dev/null +++ b/net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.6-boost-1.89.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -119,7 +119,7 @@ + ######################################################################## + # Find boost + ######################################################################## +-find_package(Boost "1.65" REQUIRED chrono thread system) ++find_package(Boost "1.69" CONFIG REQUIRED chrono thread) + + if(NOT Boost_FOUND) + message(FATAL_ERROR "Boost required to compile osmosdr") diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.6.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.6.ebuild index 02bead2c314d..70a768f74823 100644 --- a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.6.ebuild +++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.6.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit cmake python-single-r1 DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr and hackrf" @@ -12,7 +12,7 @@ HOMEPAGE=" https://gitea.osmocom.org/sdr/gr-osmosdr " -if [[ ${PV} == 9999* ]]; then +if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://gitea.osmocom.org/sdr/gr-osmosdr.git" else @@ -24,6 +24,7 @@ fi LICENSE="GPL-3" SLOT="0/${PV}" IUSE="airspy bladerf doc hackrf iqbalance rtlsdr sdrplay soapy uhd xtrx" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} dev-libs/boost:= @@ -39,18 +40,16 @@ RDEPEND="${PYTHON_DEPS} soapy? ( net-wireless/soapysdr:= ) uhd? ( net-wireless/uhd:=[${PYTHON_SINGLE_USEDEP}] ) xtrx? ( net-wireless/libxtrx ) - " +" DEPEND="${RDEPEND}" - BDEPEND=" - $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') - doc? ( app-text/doxygen ) - " - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" + $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') + doc? ( app-text/doxygen ) +" PATCHES=( "${FILESDIR}/${PN}-0.2.3_p20210128-fix-enable-python.patch" + "${FILESDIR}/${P}-boost-1.89.patch" # bug #969160 ) src_configure() {
