mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
gr-air-modes: remove in gentoo's favour
This commit is contained in:
parent
27d5d4fbda
commit
43a86e4897
3 changed files with 0 additions and 57 deletions
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
echo "Please call modes_rx or modes_gui instead of $0 directly"
|
||||
if [ "$0" == "rtl_modes.py" ]
|
||||
then
|
||||
echo "for rtl devices remember to use the -d flag"
|
||||
fi
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
python /usr/bin/uhd_modes.py -d $@
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
#the app *might* support python3, feel free to test it
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit python-single-r1 cmake-utils git-r3
|
||||
|
||||
DESCRIPTION="This module implements a complete Mode S and ADS-B receiver for Gnuradio"
|
||||
HOMEPAGE="https://www.cgran.org/wiki/gr-air-modes"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/bistromath/gr-air-modes.git"
|
||||
EGIT_BRANCH="master"
|
||||
KEYWORDS=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="rtl fgfs +gui uhd"
|
||||
DEPEND=">=net-wireless/gnuradio-3.7.0:=
|
||||
net-wireless/gr-osmosdr
|
||||
dev-python/pyzmq
|
||||
dev-libs/boost:=
|
||||
fgfs? ( sci-libs/scipy
|
||||
games-simulation/flightgear )
|
||||
rtl? ( net-wireless/rtl-sdr )
|
||||
uhd? ( >=net-wireless/uhd-3.4.0 )
|
||||
gui? ( dev-python/pyqwt )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
python_fix_shebang apps/{modes_gui,modes_rx,uhd_modes.py}
|
||||
#FIXME: cmakes overwrites sheband so we overwrite bins manually
|
||||
dobin apps/{modes_rx,modes_gui,uhd_modes.py}
|
||||
|
||||
use rtl && newbin "${FILESDIR}"/modes.py rtl_modes.py
|
||||
use uhd && newbin "${FILESDIR}"/modes.py uhd_modes.py
|
||||
}
|
||||
Loading…
Reference in a new issue