net-wireless/soapybladerf: Fix build with cmake4

Closes: https://bugs.gentoo.org/959379
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Thomas Beierlein
2025-07-02 08:26:29 +02:00
parent f4f423a984
commit 07c4c1771b
2 changed files with 11 additions and 1 deletions

View File

@@ -23,3 +23,8 @@ SLOT="0"
RDEPEND="net-wireless/soapysdr:=
>=net-wireless/bladerf-2018.08:="
DEPEND="${RDEPEND}"
src_prepare() {
sed -i -e "s/2.8.7/3.5/" CMakeLists.txt || die
cmake_src_prepare
}

View File

@@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then
EGIT_REPO_URI="https://github.com/pothosware/SoapyBladeRF.git"
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm ~riscv ~x86"
SRC_URI="https://github.com/pothosware/SoapyBladeRF/archive/soapy-bladerf-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/SoapyBladeRF-soapy-bladerf-"${PV}"
fi
@@ -23,3 +23,8 @@ SLOT="0"
RDEPEND="net-wireless/soapysdr:=
>=net-wireless/bladerf-2018.08:="
DEPEND="${RDEPEND}"
src_prepare() {
sed -i -e "s/2.8.7/3.5/" CMakeLists.txt || die
cmake_src_prepare
}