net-wireless/dump1090: Remove old

Bug: https://bugs.gentoo.org/763870
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Jakov Smolic
2021-01-20 11:12:52 +01:00
committed by David Seifert
parent e3516cfaa0
commit d4d350c357
2 changed files with 0 additions and 63 deletions

View File

@@ -1,2 +1 @@
DIST dump1090-3.7.2.tar.gz 5657288 BLAKE2B 267374ec034ba5bb03989d04001f1ca82cfb5f2cb77af06d85c1d5f4446955ef84bdf60162c0c74e702266f8051a22fe15723dae9b26323c3f5cf03bf48342b7 SHA512 8958bc711b44c8c9f26242bdd4005a422498e023632bbb87f8e93de30b6fa20b6c6ab3208e7548a960c8c127e948d1bdf5e9d5ceaf84127ce9e686c6fad6cc1b
DIST dump1090-4.0.tar.gz 6663754 BLAKE2B bf0a6c8dfd8b2da5ed0e7ae5f7b862c57a54e5d48bc24b29e42ebffec4e0606604fbe4b8502e85df60a3a618568bf9e2eba88e5ad2fdec7fb93043b823435362 SHA512 97dc872e4d0ac8df2f46e17b590e970a62a78baf81e18a9beeb23d37a4401a2e52591ca96cc01e1465b22aa234cf9e88f84a7b0f27d0144b3afeac62f6252c95

View File

@@ -1,62 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs eutils
DESCRIPTION="simple Mode S decoder for RTLSDR devices"
#Original repo
#HOMEPAGE="https://github.com/antirez/dump1090"
#Repo that has actually been touched recenly
#HOMEPAGE="https://github.com/mutability/dump1090"
#And now we move to the next one in line
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"
#COMMIT="fb5942dba6505a21cbafc7905a5a7c513b214dc9"
#SRC_URI="https://github.com/flightaware/dump1090/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
#S="${WORKDIR}/${PN}-${COMMIT}"
SRC_URI="https://github.com/flightaware/dump1090/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="BSD"
SLOT="0"
IUSE="bladerf +rtlsdr"
RDEPEND="bladerf? ( net-wireless/bladerf:= )
rtlsdr? ( net-wireless/rtl-sdr:= )
sys-libs/ncurses:=
virtual/libusb:1"
DEPEND="${RDEPEND}"
src_prepare() {
default
sed -i 's#-O2 -g -Wall -Werror -W##' Makefile
sed -i "s#-lncurses#$($(tc-getPKG_CONFIG) --libs ncurses)#" Makefile
}
src_compile() {
emake CC="$(tc-getCC)" \
BLADERF=$(usex bladerf) \
RTLSDR=$(usex rtlsdr)
}
src_install() {
dobin ${PN}
dobin view1090
dodoc README.md
insinto /usr/share/${PN}/html
doins -r public_html/*
insinto /usr/share/${PN}/tools
doins -r tools/*
insinto /usr/share/${PN}
newins debian/lighttpd/89-dump1090-fa.conf lighttpd.conf
}