add dump1090 for with sdrplay support

This commit is contained in:
Florian Tham
2017-06-24 23:47:01 +02:00
parent c267579db3
commit a7d1c0d338
3 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
EBUILD dump1090-9999.ebuild 977 SHA256 789b85e5f7b50c085c0b5433eda27aa77f6395b017d8e9c2ab5669a34ed6dae9 SHA512 66f1dea6eaa6fd3e22108e960d669f750e9655e60a79916aa52803d8b47be1c2c4f3fa4fc4552d31e760870b6a8b9c27ccaf483dafb874828e4c86944c2677da WHIRLPOOL 75e55b90b5c9bb506299310da691814a2d41928f5a802bd4b1c2addc0bec5aaff0461d9730eb5f658b0a527b53646b9aa53f0382018df067766d64cf25b76ed0
MISC metadata.xml 423 SHA256 bafcdb269e9ffedfea0c42637d31c7c17e6177035d563727298bd2c360f055cf SHA512 6fcab3c262761efdb8742d485789fac8284494e5b2c21fa8ecaa671429ae11dfa22a9c0ce3f66eaf78d0001f01d4d117a7967521d478457af4765f9bdec84ba9 WHIRLPOOL ca4cdadc81d3da056f06f6391b7fdb7b59c209c763067e48385efc4496166f20d6c328b5f0317387c3eed2079f3cd64098cd7a6801c78f658a01de3c658cec1e

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs eutils git-r3
DESCRIPTION="simple Mode S decoder for RTLSDR and SDRPlay devices"
#Original repo
#HOMEPAGE="https://github.com/antirez/dump1090"
#Repo that has actually been touched recenly
HOMEPAGE="https://github.com/SDRplay/dump1090"
EGIT_REPO_URI="https://github.com/SDRplay/dump1090.git"
KEYWORDS=""
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="net-wireless/rtl-sdr
virtual/libusb:1"
DEPEND="${RDEPEND}"
src_compile() {
emake CC="$(tc-getCC)" \
UNAME="Linux"
CFLAGS="$($(tc-getPKG_CONFIG) --cflags librtlsdr) ${CFLAGS}" \
EXTRACFLAGS="-DHTMLPATH='/usr/share/dump1090/html'" \
LIBS="${LDFLAGS} $($(tc-getPKG_CONFIG) --libs librtlsdr) -lm -lpthread"
}
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/*
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xmw@gentoo.org</email>
<name>Michael Weber</name>
</maintainer>
<maintainer type="project">
<email>radio@gentoo.org</email>
<name>Radio</name>
</maintainer>
<upstream>
<remote-id type="github">antirez/dump1090</remote-id>
</upstream>
</pkgmetadata>