summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2016-09-12 19:40:03 +0200
committerJason A. Donenfeld <zx2c4@gentoo.org>2016-09-12 19:40:03 +0200
commit6a38782b25fbf524e95cf7cc6c48f3355d547317 (patch)
tree4587d19bbf7d7d14c65cac92ea5751118d144d89 /net-wireless/gr-air-modes
parentdev-python/pyparsing: version bump to 2.1.9 (diff)
downloadgentoo-6a38782b25fbf524e95cf7cc6c48f3355d547317.tar.gz
gentoo-6a38782b25fbf524e95cf7cc6c48f3355d547317.tar.bz2
gentoo-6a38782b25fbf524e95cf7cc6c48f3355d547317.zip
net-wireless/gr-air-modes: import ebuild
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-wireless/gr-air-modes')
-rw-r--r--net-wireless/gr-air-modes/gr-air-modes-9999.ebuild41
-rw-r--r--net-wireless/gr-air-modes/metadata.xml14
2 files changed, 55 insertions, 0 deletions
diff --git a/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild b/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
new file mode 100644
index 000000000000..130d60dfadfc
--- /dev/null
+++ b/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit python cmake-utils git-2
+
+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="rtlsdr fgfs +gui uhd"
+DEPEND=">=net-wireless/gnuradio-3.7.0:=
+ net-wireless/gr-osmosdr
+ dev-python/pyzmq
+ fgfs? ( sci-libs/scipy
+ games-simulation/flightgear )
+ rtlsdr? ( net-wireless/rtl-sdr )
+ uhd? ( >=net-wireless/uhd-3.4.0 )
+ gui? ( dev-python/pyqwt )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_compile() {
+ cmake-utils_src_compile -j1
+}
+
+src_install() {
+ cmake-utils_src_install
+ python_convert_shebangs 2 "${ED}"usr/bin/*
+}
diff --git a/net-wireless/gr-air-modes/metadata.xml b/net-wireless/gr-air-modes/metadata.xml
new file mode 100644
index 000000000000..759e8cf8027c
--- /dev/null
+++ b/net-wireless/gr-air-modes/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+ </maintainer>
+<use>
+ <flag name="rtlsdr">Build with Realtek RTL2832U (rtlsdr) support</flag>
+ <flag name="uhd">Build with Ettus Research USRP Hardware Driver support</flag>
+ <flag name="fgfs">Support FlightGear</flag>
+ <flag name="gui">Build the GUI</flag>
+</use>
+</pkgmetadata>