Diff libhackrf-2023.01.1 with a libhackrf-9999
| /usr/portage/net-libs/libhackrf/libhackrf-9999.ebuild 2025-07-29 16:22:17.264467462 +0300 | ||
|---|---|---|
| 1 | # Copyright 1999-2023 Gentoo Authors | |
| 1 | # Copyright 1999-2025 Gentoo Authors | |
| 2 | 2 | # Distributed under the terms of the GNU General Public License v2 | 
| 3 | 3 | |
| 4 | 4 | EAPI=8 | 
| ... | ... | |
| 16 | 16 | else | 
| 17 | 17 | 	S="${WORKDIR}/hackrf-${PV}/host/libhackrf" | 
| 18 | 18 | 	SRC_URI="https://github.com/greatscottgadgets/hackrf/releases/download/v${PV}/hackrf-${PV}.tar.xz" | 
| 19 | KEYWORDS="amd64 arm ppc ~riscv x86" | |
| 19 | KEYWORDS="~amd64 ~arm ~ppc ~riscv ~x86" | |
| 20 | 20 | fi | 
| 21 | 21 | |
| 22 | 22 | LICENSE="BSD" | 
| ... | ... | |
| 29 | 29 | # https://github.com/greatscottgadgets/hackrf/issues/1193 | 
| 30 | 30 | PATCHES=( "${FILESDIR}/hackrf-disable-static-2022.09.1.patch" ) | 
| 31 | 31 | |
| 32 | # Fix build with cmake4 (see https://github.com/greatscottgadgets/hackrf/pull/1514) | |
| 33 | src_prepare() { | |
| 34 | sed -i -e "s/2.8.12/3.8/" CMakeLists.txt || die | |
| 35 | cmake_src_prepare | |
| 36 | } | |
| 37 | ||
| 32 | 38 | src_configure() { | 
| 33 | 39 | local mycmakeargs=( | 
| 34 | 40 | -DINSTALL_UDEV_RULES="$(usex udev)" | 
