diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2015-02-10 21:47:34 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2015-02-10 21:47:34 +0100 |
commit | e521a42f7b4fdac936c6de00768c9aa8309df0f6 (patch) | |
tree | 5f75459be52ea93a041d2740b2a5573315321171 /net-wireless | |
parent | Add new gnu portable threads library. (diff) | |
download | portage-e521a42f7b4fdac936c6de00768c9aa8309df0f6.tar.xz portage-e521a42f7b4fdac936c6de00768c9aa8309df0f6.zip |
Updates
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/gr-air-modes/air_modes.db | bin | 0 -> 4096 bytes | |||
-rw-r--r-- | net-wireless/gr-air-modes/files/0001-Look-for-qwt-in-right-place.patch | 27 | ||||
-rw-r--r-- | net-wireless/gr-air-modes/gr-air-modes-9999.ebuild | 45 | ||||
-rw-r--r-- | net-wireless/gr-air-modes/modes.kml | 50 |
4 files changed, 122 insertions, 0 deletions
diff --git a/net-wireless/gr-air-modes/air_modes.db b/net-wireless/gr-air-modes/air_modes.db Binary files differnew file mode 100644 index 0000000..4ac7ccd --- /dev/null +++ b/net-wireless/gr-air-modes/air_modes.db diff --git a/net-wireless/gr-air-modes/files/0001-Look-for-qwt-in-right-place.patch b/net-wireless/gr-air-modes/files/0001-Look-for-qwt-in-right-place.patch new file mode 100644 index 0000000..6126267 --- /dev/null +++ b/net-wireless/gr-air-modes/files/0001-Look-for-qwt-in-right-place.patch @@ -0,0 +1,27 @@ +diff --git a/cmake/Modules/FindQwt.cmake b/cmake/Modules/FindQwt.cmake +index f2cf344..6230025 100644 +--- a/cmake/Modules/FindQwt.cmake ++++ b/cmake/Modules/FindQwt.cmake +@@ -10,6 +10,7 @@ find_path (QWT_INCLUDE_DIRS + /usr/local/include/qwt + /usr/include/qwt-qt4 + /usr/include/qwt ++ /usr/include/qwt5 + /opt/local/include/qwt + /sw/include/qwt + ) +diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt +index 845c8be..62a5bce 100644 +--- a/res/CMakeLists.txt ++++ b/res/CMakeLists.txt +@@ -37,10 +37,6 @@ if(NOT PYUIC4_FOUND) + endif() + + find_package(Qwt) +-if(NOT QWT_FOUND) +- message(STATUS "Qwt not found, not installing GUI application") +- return() +-endif() + + set(RX_UI_SRC ${CMAKE_CURRENT_SOURCE_DIR}/modes_rx.ui) + set(RX_UI_PY_PRE_MASSAGE ${CMAKE_CURRENT_BINARY_DIR}/modes_rx_ui_borked.py) 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 0000000..84270ae --- /dev/null +++ b/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 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="~amd64" + +LICENSE="GPL-3" +SLOT="0" +IUSE="rtl fgfs +gui uhd" +DEPEND=">=net-wireless/gnuradio-3.7.0:= + net-wireless/gr-osmosdr + dev-python/pyzmq + 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}" + +src_prepare() { + epatch "${FILESDIR}"/0001-Look-for-qwt-in-right-place.patch +} + +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/modes.kml b/net-wireless/gr-air-modes/modes.kml new file mode 100644 index 0000000..8f6d199 --- /dev/null +++ b/net-wireless/gr-air-modes/modes.kml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<kml xmlns="http://www.opengis.net/kml/2.2"> +<Document> + <Style id="airplane"> + <IconStyle> + <Icon><href>airports.png</href></Icon> + </IconStyle> + </Style> + <Style id="rangering"> + <LineStyle> + <color>9f4f4faf</color> + <width>2</width> + </LineStyle> + </Style> + <Style id="track"> + <LineStyle> + <color>5fff8f8f</color> + <width>4</width> + </LineStyle> + </Style> + <Folder> + <name>Range rings</name> + <open>0</open> + <Placemark> + <name>100nm</name> + <styleUrl>#rangering</styleUrl> + <LinearRing> + <coordinates>37.93920000,70.73800169, 0 37.02677248,70.76732110, 0 36.14620702,70.85425056, 0 35.32905709,70.99571584, 0 34.60617564,71.18663567, 0 34.00715530,71.41999254, 0 33.55951716,71.68694679, 0 33.28757390,71.97700943, 0 33.21092225,72.27829404, 0 33.34258050,72.57787036, 0 33.68689077,72.86224068, 0 34.23745078,73.11795010, 0 34.97549961,73.33232139, 0 35.86929203,73.49427304, 0 36.87496946,73.59514161, 0 37.93920000,73.62939831, 0 39.00343054,73.59514161, 0 40.00910797,73.49427304, 0 40.90290039,73.33232139, 0 41.64094922,73.11795010, 0 42.19150923,72.86224068, 0 42.53581950,72.57787036, 0 42.66747775,72.27829404, 0 42.59082610,71.97700943, 0 42.31888284,71.68694679, 0 41.87124470,71.41999254, 0 41.27222436,71.18663567, 0 40.54934291,70.99571584, 0 39.73219298,70.85425056, 0 38.85162752,70.76732110, 0 37.93920000,70.73800169, 0</coordinates> + </LinearRing> + </Placemark> + <Placemark> + <name>200nm</name> + <styleUrl>#rangering</styleUrl> + <LinearRing> + <coordinates>37.93920000,69.29230337, 0 36.23526846,69.34702160, 0 34.57907830,69.50960189, 0 33.01910753,69.77531038, 0 31.60520839,70.13622221, 0 30.38901221,70.58117302, 0 29.42389554,71.09570294, 0 28.76419032,71.66201564, 0 28.46318172,72.25899681, 0 28.56931551,72.86237200, 0 29.12004857,73.44513003, 0 30.13313615,73.97838446, 0 31.59612741,74.43285713, 0 33.45651995,74.78108824, 0 35.61682672,75.00025094, 0 37.93920000,75.07509663, 0 40.26157328,75.00025094, 0 42.42188005,74.78108824, 0 44.28227259,74.43285713, 0 45.74526385,73.97838446, 0 46.75835143,73.44513003, 0 47.30908449,72.86237200, 0 47.41521828,72.25899681, 0 47.11420968,71.66201564, 0 46.45450446,71.09570294, 0 45.48938779,70.58117302, 0 44.27319161,70.13622221, 0 42.85929247,69.77531038, 0 41.29932170,69.50960189, 0 39.64313154,69.34702160, 0 37.93920000,69.29230337, 0</coordinates> + </LinearRing> + </Placemark> + <Placemark> + <name>300nm</name> + <styleUrl>#rangering</styleUrl> + <LinearRing> + <coordinates>37.93920000,67.84660506, 0 35.54156535,67.92355911, 0 33.19797047,68.15256363, 0 30.96426642,68.52801758, 0 28.89996250,69.04048808, 0 27.07010177,69.67654957, 0 25.54705227,70.41853425, 0 24.41188742,71.24417955, 0 23.75463320,72.12617751, 0 23.67199766,73.03168334, 0 24.26026198,73.92195395, 0 25.60014811,74.75249295, 0 27.73091764,75.47436649, 0 30.61518186,76.03757129, 0 34.10597196,76.39706443, 0 37.93920000,76.52079494, 0 41.77242804,76.39706443, 0 45.26321814,76.03757129, 0 48.14748236,75.47436649, 0 50.27825189,74.75249295, 0 51.61813802,73.92195395, 0 52.20640234,73.03168334, 0 52.12376680,72.12617751, 0 51.46651258,71.24417955, 0 50.33134773,70.41853425, 0 48.80829823,69.67654957, 0 46.97843750,69.04048808, 0 44.91413358,68.52801758, 0 42.68042953,68.15256363, 0 40.33683465,67.92355911, 0 37.93920000,67.84660506, 0</coordinates> + </LinearRing> + </Placemark> </Folder> + <Folder> + <name>Aircraft locations</name> + <open>0</open> + </Folder> +</Document> +</kml>
\ No newline at end of file |