Diff hackrf-tools-2023.01.1 with a hackrf-tools-9999

/usr/portage/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild 2025-07-29 16:22:17.304467627 +0300
1
# Copyright 1999-2024 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/hackrf-tools"
18 18
	SRC_URI="https://github.com/greatscottgadgets/hackrf/releases/download/v${PV}/hackrf-${PV}.tar.xz"
19
	KEYWORDS="amd64 arm ppc x86"
19
	KEYWORDS="~amd64 ~arm ~ppc ~x86"
20 20
fi
21 21

  
22 22
LICENSE="BSD"
......
26 26
		sci-libs/fftw:3.0="
27 27
RDEPEND="${DEPEND}"
28 28

  
29
# Fix build with cmake4 i
30
# (see https://github.com/greatscottgadgets/hackrf/pull/1514)
31
src_prepare() {
32
	sed -i -e "s/2.8.12/3.8/" CMakeLists.txt || die
33
	cmake_src_prepare
34
}
35

  
29 36
src_install() {
30 37
	cmake_src_install
31 38
	newsbin "${FILESDIR}/hackrf_easy_flash-r1" hackrf_easy_flash
Thank you!