net-wireless/libusb3380: Fix build with CMake4

* Bump EAPI

Closes: https://bugs.gentoo.org/957256
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Thomas Beierlein
2025-07-16 12:47:26 +02:00
parent d66805451a
commit 3417eac29b
3 changed files with 19 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 2020 Gentoo Authors
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit cmake
DESCRIPTION="USB3380 abstraction layer for libusb"
@@ -18,8 +18,12 @@ fi
LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""
DEPEND="virtual/libusb:1"
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
# fix build with cmake 4
sed -i -e "s/VERSION 2.8/VERSION 3.10/" CMakeLists.txt || die
cmake_src_prepare
}

View File

@@ -1,7 +1,7 @@
# Copyright 2020 Gentoo Authors
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit cmake
DESCRIPTION="USB3380 abstraction layer for libusb"
@@ -18,8 +18,12 @@ fi
LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""
DEPEND="virtual/libusb:1"
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
# fix build with cmake 4
sed -i -e "s/VERSION 2.8/VERSION 3.10/" CMakeLists.txt || die
cmake_src_prepare
}

View File

@@ -5,4 +5,7 @@
<email>radio@gentoo.org</email>
<name>Radio</name>
</maintainer>
<upstream>
<remote-id type="github">xtrx-sdr/libusb3380</remote-id>
</upstream>
</pkgmetadata>