mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-wireless/soapyplutosdr: Fix build with cmake4
Closes: https://bugs.gentoo.org/957441 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
31
net-wireless/soapyplutosdr/soapyplutosdr-0.2.2-r1.ebuild
Normal file
31
net-wireless/soapyplutosdr/soapyplutosdr-0.2.2-r1.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Soapy SDR plugin for the Pluto SDR"
|
||||
HOMEPAGE="https://github.com/pothosware/SoapyPlutoSDR"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapyPlutoSDR.git"
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~riscv ~x86"
|
||||
COMMIT="422a9b306f765499dd3e9a4c3400fa39816dcfdb"
|
||||
SRC_URI="https://github.com/pothosware/SoapyPlutoSDR/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/SoapyPlutoSDR-${COMMIT}
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="net-wireless/soapysdr:=
|
||||
net-libs/libiio:=
|
||||
net-libs/libad9361-iio:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/2.8.9/3.10/" CMakeLists.txt || die
|
||||
}
|
||||
@@ -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
|
||||
@@ -25,3 +25,7 @@ RDEPEND="net-wireless/soapysdr:=
|
||||
net-libs/libiio:=
|
||||
net-libs/libad9361-iio:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/2.8.9/3.10/" CMakeLists.txt || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user