Diff gr-osmosdr-0.2.6 with a gr-osmosdr-9999

/usr/portage/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild 2024-12-25 15:56:47.813444706 +0300
1
# Copyright 1999-2026 Gentoo Authors
1
# Copyright 1999-2024 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5
PYTHON_COMPAT=( python3_{10..13} )
5 6

  
6
PYTHON_COMPAT=( python3_{11..13} )
7 7
inherit cmake python-single-r1
8 8

  
9 9
DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr and hackrf"
......
12 12
	https://gitea.osmocom.org/sdr/gr-osmosdr
13 13
"
14 14

  
15
if [[ ${PV} == *9999* ]]; then
15
if [[ ${PV} == 9999* ]]; then
16 16
	inherit git-r3
17 17
	EGIT_REPO_URI="https://gitea.osmocom.org/sdr/gr-osmosdr.git"
18 18
else
19 19
	SRC_URI="https://gitea.osmocom.org/sdr/gr-osmosdr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
20
	KEYWORDS="amd64 ~arm ~riscv ~x86"
20
	KEYWORDS="~amd64 ~arm ~riscv ~x86"
21 21
	S="${WORKDIR}/${PN}"
22 22
fi
23 23

  
24 24
LICENSE="GPL-3"
25 25
SLOT="0/${PV}"
26 26
IUSE="airspy bladerf doc hackrf iqbalance rtlsdr sdrplay soapy uhd xtrx"
27
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
28 27

  
29 28
RDEPEND="${PYTHON_DEPS}
30 29
	dev-libs/boost:=
......
40 39
	soapy? ( net-wireless/soapysdr:= )
41 40
	uhd? ( net-wireless/uhd:=[${PYTHON_SINGLE_USEDEP}] )
42 41
	xtrx? ( net-wireless/libxtrx )
43
"
42
	"
44 43
DEPEND="${RDEPEND}"
44

  
45 45
BDEPEND="
46
	$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
47
	doc? ( app-text/doxygen )
48
"
46
		$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
47
		doc? ( app-text/doxygen )
48
	"
49

  
50
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 51

  
50 52
PATCHES=(
51 53
	"${FILESDIR}/${PN}-0.2.3_p20210128-fix-enable-python.patch"
52
	"${FILESDIR}/${P}-boost-1.89.patch" # bug #969160
53 54
)
54 55

  
55 56
src_configure() {
Thank you!