mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-wireless/dump1090: drop 10.0.1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST dump1090-10.0.1.tar.gz 5744154 BLAKE2B 7a1c3baedf9e425d34540542bebb514e0cada874ea347b214b6bcb64c7e3064d65fb21964119b0949a9f0f3b454982854d5ace6bb8b8bfe8e10ca08baf366664 SHA512 dec93f29b2f2e262b230e13e8e18cb2902b4204de005b0f70aa4909c000b0a24cee3c1020dca27e09eb23182d8e74e007ae724afc7484f8aab158e19502a59bb
|
||||
DIST dump1090-10.2.tar.gz 5777409 BLAKE2B 865f44e31d5626a2a0d24e247936119911ff02e852ebbdb98453d5f5ac051445d7c9794bdfd2afe15794c91440d33fd031c31800901d5dced46135b0a284c04c SHA512 367958e624447b9ae9d5ab523c68662c94343579f644f5ea8382c3822c973622085634c76ddd2dec6d0f910cd4f18880b6e0d62b3af9899bee4adfad2e2a18e5
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit tmpfiles toolchain-funcs
|
||||
|
||||
DESCRIPTION="Simple Mode S decoder for RTLSDR devices"
|
||||
HOMEPAGE="https://github.com/flightaware/dump1090"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/flightaware/${PN}.git"
|
||||
else
|
||||
KEYWORDS="amd64 x86"
|
||||
SRC_URI="https://github.com/flightaware/dump1090/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="BSD GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="bladerf hackrf minimal +rtlsdr"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/ncurses:=[tinfo]
|
||||
bladerf? (
|
||||
net-wireless/bladerf:=
|
||||
virtual/libusb:1
|
||||
)
|
||||
hackrf? (
|
||||
net-libs/libhackrf:=
|
||||
virtual/libusb:1
|
||||
)
|
||||
rtlsdr? (
|
||||
net-wireless/rtl-sdr:=
|
||||
virtual/libusb:1
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.1-libdir.patch
|
||||
"${FILESDIR}"/${PN}-10.0.1-gcc15.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed \
|
||||
-e '/CFLAGS/s/-Werror//g' \
|
||||
-e "/LIBS_CURSES/s|-lncurses|$($(tc-getPKG_CONFIG) --libs ncurses)|g" \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
myemakeargs=(
|
||||
BLADERF="$(usex bladerf)"
|
||||
CC="$(tc-getCC)"
|
||||
CPUFEATURES="yes"
|
||||
HACKRF="$(usex hackrf)"
|
||||
LIMESDR="no"
|
||||
RTLSDR="$(usex rtlsdr)"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin dump1090 view1090
|
||||
|
||||
# DSP config files for bladeRF
|
||||
if use bladerf; then
|
||||
insinto usr/share/dump1090/bladerf
|
||||
doins bladerf/*
|
||||
fi
|
||||
|
||||
newtmpfiles "${FILESDIR}"/tmpfilesd-dump1090-5.0.conf dump1090.conf
|
||||
newconfd "${FILESDIR}"/dump1090-5.0.confd dump1090
|
||||
newinitd "${FILESDIR}"/dump1090-5.0.initd dump1090
|
||||
|
||||
einstalldocs
|
||||
|
||||
if use !minimal; then
|
||||
# Install tools
|
||||
insinto /usr/share/dump1090
|
||||
doins -r tools
|
||||
|
||||
# Install lighthttps example files
|
||||
insinto /usr/share/dump1090/lighttpd
|
||||
doins debian/lighttpd/{88-dump1090-fa-statcache.conf,89-skyaware.conf}
|
||||
|
||||
# Some tooling expects the -fa variant directory to contain the files
|
||||
dosym ../../usr/share/dump1090 /usr/share/dump1090-fa
|
||||
|
||||
# Install html docs
|
||||
docinto html
|
||||
doins -r public_html/*
|
||||
|
||||
# See README.md for how to use custom wisdom files
|
||||
exeinto /usr/share/dump1090/wisdom
|
||||
doexe debian/generate-wisdom
|
||||
insinto /usr/share/dump1090/wisdom
|
||||
doins wisdom.*
|
||||
doins wisdom/wisdom.*
|
||||
|
||||
# For /etc/dump1090-fa/wisdom.local
|
||||
keepdir /etc/dump1090-fa/
|
||||
|
||||
# Tooling to generate custom wisdom:
|
||||
exeinto /usr/libexec/dump1090
|
||||
doexe starch-benchmark
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process dump1090.conf
|
||||
}
|
||||
Reference in New Issue
Block a user