Сравнение rtl-sdr-0.6.0_p2020802 с rtl-sdr-0.6.0_p2020802-r1
/usr/portage/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild 2023-10-09 14:52:34.784368484 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
inherit cmake multilib |
|
6 |
inherit cmake |
|
7 | 7 | |
8 |
DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver" |
|
8 |
DESCRIPTION="Turns your Realtek RTL2832 based DVB dongle into a SDR receiver" |
|
9 | 9 |
HOMEPAGE="https://sdr.osmocom.org/trac/wiki/rtl-sdr" |
10 | 10 | |
11 | 11 |
if [[ ${PV} == 9999* ]]; then |
... | ... | |
21 | 21 |
COMMIT="ed0317e6a58c098874ac58b769cf2e609c18d9a5" |
22 | 22 |
SRC_URI="https://github.com/osmocom/rtl-sdr/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
23 | 23 |
S="${WORKDIR}/${PN}-${COMMIT}" |
24 |
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86" |
|
24 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
|
25 | 25 |
fi |
26 | 26 | |
27 | 27 |
LICENSE="GPL-2" |
... | ... | |
31 | 31 |
DEPEND="virtual/libusb:1" |
32 | 32 |
RDEPEND="${DEPEND}" |
33 | 33 | |
34 |
src_unpack() { |
|
35 |
if [[ ${PV} == 9999* ]]; then |
|
36 |
git-r3_src_unpack |
|
37 |
else |
|
38 |
default |
|
39 |
fi |
|
40 |
} |
|
34 |
PATCHES=( |
|
35 |
"${FILESDIR}"/rtl-sdl-0.6.0_p2020802-fix-pkgconfig-libdir.patch |
|
36 |
) |
|
41 | 37 | |
42 | 38 |
src_prepare() { |
43 | 39 |
sed -i 's#VERSION_INFO_PATCH_VERSION git#VERSION_INFO_PATCH_VERSION 0_p20200802#' CMakeLists.txt |