mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
net-wireless/soapyrtlsdr: Fix build with cmake4
Closes: https://bugs.gentoo.org/954120 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 4763d75..48d0913 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,7 +1,7 @@
|
||||
########################################################################
|
||||
# Build Soapy SDR support module for RTL-SDR Devices
|
||||
########################################################################
|
||||
-cmake_minimum_required(VERSION 2.8.7)
|
||||
+cmake_minimum_required(VERSION 3.10.0)
|
||||
project(SoapyRTLSDR CXX)
|
||||
|
||||
find_package(SoapySDR "0.4.0" NO_MODULE REQUIRED)
|
||||
28
net-wireless/soapyrtlsdr/soapyrtlsdr-0.3.3-r1.ebuild
Normal file
28
net-wireless/soapyrtlsdr/soapyrtlsdr-0.3.3-r1.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="SoapySDR RTL-SDR Support Module"
|
||||
HOMEPAGE="https://github.com/pothosware/SoapyRTLSDR"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapyRTLSDR.git"
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~riscv ~x86"
|
||||
SRC_URI="https://github.com/pothosware/SoapyRTLSDR/archive/soapy-rtl-sdr-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/SoapyRTLSDR-soapy-rtl-sdr-"${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="net-wireless/soapysdr:=
|
||||
net-wireless/rtl-sdr"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.3.3-cmake4.patch )
|
||||
Reference in New Issue
Block a user