net-wireless/rtl-sdr: drop 2.0.1-r1

Closes: https://bugs.gentoo.org/725144
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2025-04-10 21:34:02 +02:00
parent 827ca18e33
commit 3c1a9e0450
2 changed files with 0 additions and 56 deletions

View File

@@ -1,2 +1 @@
DIST rtl-sdr-2.0.1.gh.tar.gz 135727 BLAKE2B 46bb64e2e35d5f6164acb15b0b1e4c0c988bac8de8fd494faec85f4d36f2db3f73ebb0dc46ce42d4b2ff00a9025f145259aeff25563dd82623c2a3502cda1059 SHA512 ed7b84f05d524d89afc1db384a4e1c4bb2a66e9c6b42623ab42ac9d55829bde77eb12529044e1778664b5a97a48dc5b64bed19161a430c9d91c04dd08cb6b7ac
DIST rtl-sdr-2.0.2.gh.tar.gz 136512 BLAKE2B 48c8ed688f7eb1fce9400accfef3e7762fc40bb5c4e578bf19fdbb7c90bce55dcd1606d57d656c5860fd26e86fc70cae499e9e981695985571a6d51bb2ddd96b SHA512 20a1630df7d4da5d263c5ffd4d83a7c2a6fc674e3838bf02b2b59c1da8d946dafc48790d410ab2fcbc0362c2ac70e5cdcae9391c5f04803bf2cdddafd6f58483

View File

@@ -1,55 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Turns your Realtek RTL2832 based DVB dongle into a SDR receiver"
HOMEPAGE="https://sdr.osmocom.org/trac/wiki/rtl-sdr"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.osmocom.org/${PN}"
else
# COMMIT="142325a93c6ad70f851f43434acfdf75e12dfe03"
# SRC_URI="https://github.com/osmocom/rtl-sdr/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
# S="${WORKDIR}/${PN}-${COMMIT}"
SRC_URI="https://github.com/osmocom/rtl-sdr/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2+"
SLOT="0"
IUSE="+zerocopy"
DEPEND="virtual/libusb:1"
RDEPEND="
${DEPEND}
!net-wireless/rtl-sdr-blog
"
PATCHES=(
"${FILESDIR}"/rtl-sdl-0.6.0_p2020802-fix-pkgconfig-libdir.patch
)
src_configure() {
#the udev rules are 666, we don't want that
local mycmakeargs=(
-DINSTALL_UDEV_RULES=OFF
-DDETACH_KERNEL_DRIVER=ON
-DENABLE_ZEROCOPY="$(usex zerocopy)"
)
cmake_src_configure
}
src_install() {
cmake_src_install
newinitd "${FILESDIR}"/rtl_tcp.initd rtl_tcp
newconfd "${FILESDIR}"/rtl_tcp.confd rtl_tcp
}
pkg_postinst() {
elog "Only users in the usb group can capture."
elog "Just run 'gpasswd -a <USER> usb', then have <USER> re-login."
}