mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user