summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/KochMorse/KochMorse-0.99.6-r1.ebuild33
-rw-r--r--media-radio/KochMorse/KochMorse-0.99.6.ebuild26
-rw-r--r--media-radio/KochMorse/Manifest1
-rw-r--r--media-radio/KochMorse/metadata.xml11
-rw-r--r--media-radio/adifmerg/Manifest1
-rw-r--r--media-radio/adifmerg/adifmerg-31-r1.ebuild31
-rw-r--r--media-radio/adifmerg/metadata.xml8
-rw-r--r--media-radio/ax25-apps/Manifest1
-rw-r--r--media-radio/ax25-apps/ax25-apps-0.0.8_rc4.ebuild48
-rw-r--r--media-radio/ax25-apps/files/ax25-apps-0.8.4-tinfo.patch12
-rw-r--r--media-radio/ax25-apps/files/ax25ipd.rc20
-rw-r--r--media-radio/ax25-apps/files/ax25mond.rc20
-rw-r--r--media-radio/ax25-apps/files/ax25rtd.rc20
-rw-r--r--media-radio/ax25-apps/metadata.xml8
-rw-r--r--media-radio/ax25-tools/Manifest1
-rw-r--r--media-radio/ax25-tools/ax25-tools-0.0.10_rc4.ebuild45
-rw-r--r--media-radio/ax25-tools/files/ax25d.rc20
-rw-r--r--media-radio/ax25-tools/files/mheardd.rc20
-rw-r--r--media-radio/ax25-tools/files/netromd.rc20
-rw-r--r--media-radio/ax25-tools/files/rip98d.rc20
-rw-r--r--media-radio/ax25-tools/files/rxecho.rc20
-rw-r--r--media-radio/ax25-tools/files/ttylinkd.rc20
-rw-r--r--media-radio/ax25-tools/metadata.xml11
-rw-r--r--media-radio/cwdaemon/Manifest1
-rw-r--r--media-radio/cwdaemon/cwdaemon-0.10.1.ebuild18
-rw-r--r--media-radio/cwdaemon/metadata.xml11
-rw-r--r--media-radio/dxcc/Manifest1
-rw-r--r--media-radio/dxcc/dxcc-20080225-r1.ebuild27
-rw-r--r--media-radio/dxcc/files/Makefile.patch28
-rw-r--r--media-radio/dxcc/metadata.xml8
-rw-r--r--media-radio/fldigi/Manifest5
-rw-r--r--media-radio/fldigi/fldigi-3.21.82.ebuild40
-rw-r--r--media-radio/fldigi/fldigi-3.22.05.ebuild40
-rw-r--r--media-radio/fldigi/fldigi-3.22.10.ebuild40
-rw-r--r--media-radio/fldigi/fldigi-3.22.11.ebuild40
-rw-r--r--media-radio/fldigi/fldigi-3.22.13.ebuild40
-rw-r--r--media-radio/fldigi/metadata.xml13
-rw-r--r--media-radio/flrig/Manifest3
-rw-r--r--media-radio/flrig/files/fix-bashism.patch11
-rw-r--r--media-radio/flrig/flrig-1.3.19.ebuild32
-rw-r--r--media-radio/flrig/flrig-1.3.21.ebuild32
-rw-r--r--media-radio/flrig/flrig-1.3.22.ebuild32
-rw-r--r--media-radio/flrig/metadata.xml9
-rw-r--r--media-radio/gpredict/Manifest1
-rw-r--r--media-radio/gpredict/files/gpredict-1.1-doc.patch15
-rw-r--r--media-radio/gpredict/gpredict-1.3.ebuild41
-rw-r--r--media-radio/gpredict/metadata.xml11
-rw-r--r--media-radio/grig/Manifest1
-rw-r--r--media-radio/grig/grig-0.8.0.ebuild36
-rw-r--r--media-radio/grig/metadata.xml11
-rw-r--r--media-radio/ibp/Manifest1
-rw-r--r--media-radio/ibp/ibp-0.21.ebuild47
-rw-r--r--media-radio/ibp/metadata.xml8
-rw-r--r--media-radio/metadata.xml33
-rw-r--r--media-radio/qrq/Manifest1
-rw-r--r--media-radio/qrq/metadata.xml8
-rw-r--r--media-radio/qrq/qrq-0.3.1.ebuild40
-rw-r--r--media-radio/qsstv/Manifest4
-rw-r--r--media-radio/qsstv/metadata.xml10
-rw-r--r--media-radio/qsstv/qsstv-8.2.10.ebuild36
-rw-r--r--media-radio/qsstv/qsstv-8.2.11.ebuild36
-rw-r--r--media-radio/qsstv/qsstv-8.2.12.ebuild36
-rw-r--r--media-radio/qsstv/qsstv-8.2.9.ebuild36
-rw-r--r--media-radio/radiotray/Manifest1
-rw-r--r--media-radio/radiotray/metadata.xml22
-rw-r--r--media-radio/radiotray/radiotray-0.7.3-r2.ebuild37
-rw-r--r--media-radio/radiotray/radiotray-9999.ebuild59
-rw-r--r--media-radio/svxlink/Manifest3
-rw-r--r--media-radio/svxlink/files/remotetrx.init43
-rw-r--r--media-radio/svxlink/files/remotetrx.rc21
-rw-r--r--media-radio/svxlink/files/svxlink-11.11.1-gcc-47.patch10
-rw-r--r--media-radio/svxlink/files/svxlink.init43
-rw-r--r--media-radio/svxlink/files/svxlink.rc21
-rw-r--r--media-radio/svxlink/metadata.xml17
-rw-r--r--media-radio/svxlink/svxlink-13.03.ebuild55
-rw-r--r--media-radio/svxlink/svxlink-13.07.ebuild55
-rw-r--r--media-radio/svxlink/svxlink-13.12.ebuild56
-rw-r--r--media-radio/tlf/Manifest4
-rw-r--r--media-radio/tlf/metadata.xml8
-rw-r--r--media-radio/tlf/tlf-1.1.5.ebuild27
-rw-r--r--media-radio/tlf/tlf-1.1.6.ebuild27
-rw-r--r--media-radio/tlf/tlf-1.2.0.ebuild27
-rw-r--r--media-radio/tlf/tlf-1.2.1.ebuild27
-rw-r--r--media-radio/tucnak2/Manifest1
-rw-r--r--media-radio/tucnak2/files/tucnak2-2.42-appname.diff23
-rw-r--r--media-radio/tucnak2/files/tucnak2-2.48-doc.diff19
-rw-r--r--media-radio/tucnak2/files/tucnak2-2.48-hamlib.diff35
-rw-r--r--media-radio/tucnak2/metadata.xml13
-rw-r--r--media-radio/tucnak2/tucnak2-2.48.ebuild68
-rw-r--r--media-radio/unixcw/Manifest3
-rw-r--r--media-radio/unixcw/metadata.xml22
-rw-r--r--media-radio/unixcw/unixcw-3.4.0.ebuild68
-rw-r--r--media-radio/unixcw/unixcw-3.4.1.ebuild68
-rw-r--r--media-radio/unixcw/unixcw-3.4.2.ebuild68
-rw-r--r--media-radio/wspr/Manifest2
-rw-r--r--media-radio/wspr/files/wspr-2.00-PIL.patch13
-rw-r--r--media-radio/wspr/files/wspr-2.00-libdir.patch53
-rw-r--r--media-radio/wspr/files/wspr-2.00-script.patch25
-rw-r--r--media-radio/wspr/files/wspr-2.00-verbose.patch12
-rw-r--r--media-radio/wspr/files/wspr-3.01-PIL.patch11
-rw-r--r--media-radio/wspr/files/wspr-3.01-numpy.patch23
-rw-r--r--media-radio/wspr/files/wspr-3.01-script.patch19
-rw-r--r--media-radio/wspr/files/wspr-3.01-verbose.patch12
-rw-r--r--media-radio/wspr/metadata.xml8
-rw-r--r--media-radio/wspr/wspr-2.00-r2.ebuild94
-rw-r--r--media-radio/wspr/wspr-3.01-r1.ebuild97
-rw-r--r--media-radio/wspr/wspr-3.01.ebuild95
-rw-r--r--media-radio/xastir/Manifest2
-rw-r--r--media-radio/xastir/files/xastir-2.0.0-dont-filter-flags.diff11
-rw-r--r--media-radio/xastir/files/xastir-2.0.4-fortify.diff144
-rw-r--r--media-radio/xastir/files/xastir-2.0.4-no-builtin-shapelib.diff58
-rw-r--r--media-radio/xastir/files/xastir-2.0.4-scripts.diff101
-rw-r--r--media-radio/xastir/metadata.xml19
-rw-r--r--media-radio/xastir/xastir-2.0.4.ebuild88
-rw-r--r--media-radio/xastir/xastir-2.0.6.ebuild85
-rw-r--r--media-radio/xdx/Manifest3
-rw-r--r--media-radio/xdx/files/xdx-2.4-gtk.patch11
-rw-r--r--media-radio/xdx/files/xdx-gtk-2.20.patch34
-rw-r--r--media-radio/xdx/metadata.xml11
-rw-r--r--media-radio/xdx/xdx-2.4.2.ebuild49
-rw-r--r--media-radio/xdx/xdx-2.4.3.ebuild35
-rw-r--r--media-radio/xdx/xdx-2.5.0.ebuild35
-rw-r--r--media-radio/xlog/Manifest3
-rw-r--r--media-radio/xlog/files/xlog-1.9-desktop-update.patch51
-rw-r--r--media-radio/xlog/files/xlog-2.0.13-desktop-update.patch51
-rw-r--r--media-radio/xlog/files/xlog-2.0.7-desktop.patch14
-rw-r--r--media-radio/xlog/metadata.xml8
-rw-r--r--media-radio/xlog/xlog-2.0.11.ebuild62
-rw-r--r--media-radio/xlog/xlog-2.0.12.ebuild62
-rw-r--r--media-radio/xlog/xlog-2.0.13.ebuild62
-rw-r--r--media-radio/xwxapt/Manifest2
-rw-r--r--media-radio/xwxapt/metadata.xml8
-rw-r--r--media-radio/xwxapt/xwxapt-2.1.ebuild45
-rw-r--r--media-radio/xwxapt/xwxapt-2.2.ebuild43
134 files changed, 3772 insertions, 0 deletions
diff --git a/media-radio/KochMorse/KochMorse-0.99.6-r1.ebuild b/media-radio/KochMorse/KochMorse-0.99.6-r1.ebuild
new file mode 100644
index 000000000000..32062a7750d7
--- /dev/null
+++ b/media-radio/KochMorse/KochMorse-0.99.6-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1
+
+DESCRIPTION="Morse-tutor for Linux using the Koch-method"
+HOMEPAGE="http://KochMorse.googlecode.com/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/pyalsaaudio[${PYTHON_USEDEP}]
+ dev-python/pygtk[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+python_prepare_all() {
+ sed -e 's:Categories=Application;:Categories=:' \
+ -i kochmorse.desktop || die
+ distutils-r1_python_prepare_all
+}
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
diff --git a/media-radio/KochMorse/KochMorse-0.99.6.ebuild b/media-radio/KochMorse/KochMorse-0.99.6.ebuild
new file mode 100644
index 000000000000..d7541b76cfa8
--- /dev/null
+++ b/media-radio/KochMorse/KochMorse-0.99.6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+PYTHON_DEPEND="2"
+
+inherit distutils
+
+DESCRIPTION="Morse-tutor for Linux using the Koch-method"
+HOMEPAGE="http://KochMorse.googlecode.com/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="dev-python/pyalsaaudio
+ dev-python/pygtk"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
diff --git a/media-radio/KochMorse/Manifest b/media-radio/KochMorse/Manifest
new file mode 100644
index 000000000000..cea254e75f17
--- /dev/null
+++ b/media-radio/KochMorse/Manifest
@@ -0,0 +1 @@
+DIST KochMorse-0.99.6.tar.gz 30497 SHA256 c481c4bfa2315c5dee0c20c972e77dd406fe283a85330ec6bae91b73b71fbdf6 SHA512 0803f3fb092962bebffccac143dd4410330d529ec1fe3a8a0c377f640349e0a8f5c254772c5ed7e63cf63c47ce14f304658b4870c78cf89c391823c93ab9b005 WHIRLPOOL 89a5f07d23d9627c9e6c48f938dfc5ee07ec92c5c6504af1a8f210b83c8ee5e0bfac8b876fb52b07d428c2556998f74b5a8d446402da0b35fc16321712917fda
diff --git a/media-radio/KochMorse/metadata.xml b/media-radio/KochMorse/metadata.xml
new file mode 100644
index 000000000000..6999620a1135
--- /dev/null
+++ b/media-radio/KochMorse/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">KochMorse</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-radio/adifmerg/Manifest b/media-radio/adifmerg/Manifest
new file mode 100644
index 000000000000..29e4239e70ab
--- /dev/null
+++ b/media-radio/adifmerg/Manifest
@@ -0,0 +1 @@
+DIST adifmerg31.tgz 47460 SHA256 7a4ec54c283d0c215508c0e62a0ce922739415c766b77cddd6f3d3a8206ae210 SHA512 851a90d4269d79359eb76168d67f980fcbc551ee8ef221e4caaf9ba6fde756aebe03d80670b7cb5e91e20aa5ef81d772ddaedc204b3cf57cfdbb62d593575fa7 WHIRLPOOL 7d53e533703193306482e8e3e9291910931926c5489272d3430993ea245d8cf71069360e06204232b636fa62f4dd1dfe223e5650ab09063fb691af2e3d80205d
diff --git a/media-radio/adifmerg/adifmerg-31-r1.ebuild b/media-radio/adifmerg/adifmerg-31-r1.ebuild
new file mode 100644
index 000000000000..35e21c05b9da
--- /dev/null
+++ b/media-radio/adifmerg/adifmerg-31-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_P=${P/-}
+
+DESCRIPTION="A small conversion and check utility for ADIF files"
+HOMEPAGE="http://jaakko.home.cern.ch/jaakko/Soft/"
+SRC_URI="http://jaakko.home.cern.ch/jaakko/Soft/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="examples"
+
+RDEPEND="dev-lang/perl"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ dobin adifmerg
+ doman doc/adifmerg.1
+ dodoc CHANGELOG README
+
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r script
+ fi
+}
diff --git a/media-radio/adifmerg/metadata.xml b/media-radio/adifmerg/metadata.xml
new file mode 100644
index 000000000000..835c76cab148
--- /dev/null
+++ b/media-radio/adifmerg/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-radio/ax25-apps/Manifest b/media-radio/ax25-apps/Manifest
new file mode 100644
index 000000000000..27d4d8376360
--- /dev/null
+++ b/media-radio/ax25-apps/Manifest
@@ -0,0 +1 @@
+DIST ax25-apps-0.0.8-rc4.tar.gz 442172 SHA256 0e031721a440cc169768080f1d6bea32ef1d2a9c80a754ae5239738f9ab8fe0a SHA512 c99b553c5cadb0e389c1cb35e79fea61b628c76f5ef35c35876e492afc7ab796f8781c3ab5987a096f0816389e9772274fe54e88c16fca0fd30013da3d74d38b WHIRLPOOL 0402f5d149642ed479a260a64c091bcd4a797a53e5ac2df239fd3e5d38821c5fe0cbacffe7c2d7ebeb614bc455805269eb415fb73315fd830da9c05310152d8f
diff --git a/media-radio/ax25-apps/ax25-apps-0.0.8_rc4.ebuild b/media-radio/ax25-apps/ax25-apps-0.0.8_rc4.ebuild
new file mode 100644
index 000000000000..62f4777fa5dc
--- /dev/null
+++ b/media-radio/ax25-apps/ax25-apps-0.0.8_rc4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Basic AX.25 (Amateur Radio) user tools, additional daemons"
+HOMEPAGE="http://www.linux-ax25.org"
+SRC_URI="http://www.linux-ax25.org/pub/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/libax25-0.0.12_rc2
+ sys-libs/ncurses"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ !media-sound/listen
+ !dev-ruby/listen"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "$FILESDIR"/$PN-0.8.4-tinfo.patch
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}"/ax25ipd.rc ax25ipd
+ newinitd "${FILESDIR}"/ax25mond.rc ax25mond
+ newinitd "${FILESDIR}"/ax25rtd.rc ax25rtd
+
+ rm -rf "${ED}"/usr/share/doc/ax25-apps
+
+ dodoc AUTHORS ChangeLog NEWS README ax25ipd/README.ax25ipd \
+ ax25rtd/README.ax25rtd ax25ipd/HISTORY.ax25ipd ax25rtd/TODO.ax25rtd
+
+ dodir /var/lib/ax25/ax25rtd
+ touch "${ED}"/var/lib/ax25/ax25rtd/ax25_route
+ touch "${ED}"/var/lib/ax25/ax25rtd/ip_route
+}
diff --git a/media-radio/ax25-apps/files/ax25-apps-0.8.4-tinfo.patch b/media-radio/ax25-apps/files/ax25-apps-0.8.4-tinfo.patch
new file mode 100644
index 000000000000..ee1c2ffd92b6
--- /dev/null
+++ b/media-radio/ax25-apps/files/ax25-apps-0.8.4-tinfo.patch
@@ -0,0 +1,12 @@
+# fix tinof handling (bug 529776)
+--- a/configure.ac
++++ b/configure.ac
+@@ -17,7 +17,7 @@
+ AC_SUBST(AX25_LIB)
+ AC_SUBST(NCURSES_LIB)
+ AC_CHECK_LIB(ax25, ax25_config_load_ports, AX25_LIB="-lax25", AC_MSG_ERROR(Could not find the libax25 libraries; aborting))
+-AC_CHECK_LIB(ncurses, initscr,NCURSES_LIB="-lncurses", AC_MSG_ERROR(Could not find the ncurses library; aborting))
++PKG_CHECK_MODULES(ncurses, ncurses, [NCURSES_LIB="$ncurses_LIBS"], AC_MSG_ERROR(Could not find the ncurses library))
+
+ dnl Checks for working glibc 2.1 headers
+ AC_CHECK_TYPES([struct ax25_fwd_struct], [],
diff --git a/media-radio/ax25-apps/files/ax25ipd.rc b/media-radio/ax25-apps/files/ax25ipd.rc
new file mode 100644
index 000000000000..22543fad15ba
--- /dev/null
+++ b/media-radio/ax25-apps/files/ax25ipd.rc
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ax25ipd"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/ax25ipd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ax25ipd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/ax25ipd
+ eend $?
+}
diff --git a/media-radio/ax25-apps/files/ax25mond.rc b/media-radio/ax25-apps/files/ax25mond.rc
new file mode 100644
index 000000000000..9ce640f758df
--- /dev/null
+++ b/media-radio/ax25-apps/files/ax25mond.rc
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ax25mond"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/ax25mond
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ax25mond"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/ax25mond
+ eend $?
+}
diff --git a/media-radio/ax25-apps/files/ax25rtd.rc b/media-radio/ax25-apps/files/ax25rtd.rc
new file mode 100644
index 000000000000..e051d893e08d
--- /dev/null
+++ b/media-radio/ax25-apps/files/ax25rtd.rc
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ax25rtd"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/ax25rtd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ax25rtd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/ax25rtd
+ eend $?
+}
diff --git a/media-radio/ax25-apps/metadata.xml b/media-radio/ax25-apps/metadata.xml
new file mode 100644
index 000000000000..723553c89120
--- /dev/null
+++ b/media-radio/ax25-apps/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-radio/ax25-tools/Manifest b/media-radio/ax25-tools/Manifest
new file mode 100644
index 000000000000..609e756fff4a
--- /dev/null
+++ b/media-radio/ax25-tools/Manifest
@@ -0,0 +1 @@
+DIST ax25-tools-0.0.10-rc4.tar.gz 364332 SHA256 d36ad473f8261ea91dbef105d7493890774f2d1d03a485b86ddd23cbed597e20 SHA512 874d1ad0097f589af0b0a72ac33d6c7d64586df25779ef1b4c0a832fdf5e528ae5101e56ded736cb2a1ad1b284d6c10fe3a77ecb43df04dccc3d80875f403612 WHIRLPOOL d8268bc596df968f7c7f6fe8da90155462d20c9ead1d4099c7d1d7082a3a887fb3c6a227c13309d6aa9f815cccf7db61e976f97e1d45714ed7a470864d671b5a
diff --git a/media-radio/ax25-tools/ax25-tools-0.0.10_rc4.ebuild b/media-radio/ax25-tools/ax25-tools-0.0.10_rc4.ebuild
new file mode 100644
index 000000000000..2c25b197a99a
--- /dev/null
+++ b/media-radio/ax25-tools/ax25-tools-0.0.10_rc4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+inherit eutils
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Basic AX.25 (Amateur Radio) administrative tools and daemons"
+HOMEPAGE="http://www.linux-ax25.org/"
+SRC_URI="http://www.linux-ax25.org/pub/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="X"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="dev-libs/libax25
+ X? ( x11-libs/libX11
+ media-libs/mesa )"
+RDEPEND=${DEPEND}
+
+src_configure() {
+ econf $(use_with X x)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install installconf
+
+ # Package does not respect --docdir
+ rm -rf "${D}"/usr/share/doc/ax25-tools || die
+ dodoc AUTHORS ChangeLog NEWS README tcpip/ttylinkd.README \
+ user_call/README.user_call yamdrv/README.yamdrv dmascc/README.dmascc \
+ tcpip/ttylinkd.INSTALL
+
+ newinitd "${FILESDIR}"/ax25d.rc ax25d
+ newinitd "${FILESDIR}"/mheardd.rc mheardd
+ newinitd "${FILESDIR}"/netromd.rc netromd
+ newinitd "${FILESDIR}"/rip98d.rc rip98d
+ newinitd "${FILESDIR}"/rxecho.rc rxecho
+ newinitd "${FILESDIR}"/ttylinkd.rc ttylinkd
+}
diff --git a/media-radio/ax25-tools/files/ax25d.rc b/media-radio/ax25-tools/files/ax25d.rc
new file mode 100644
index 000000000000..4086a2bd71f6
--- /dev/null
+++ b/media-radio/ax25-tools/files/ax25d.rc
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ax25d"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/ax25d
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ax25d"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/ax25d
+ eend $?
+}
diff --git a/media-radio/ax25-tools/files/mheardd.rc b/media-radio/ax25-tools/files/mheardd.rc
new file mode 100644
index 000000000000..47f3534eefce
--- /dev/null
+++ b/media-radio/ax25-tools/files/mheardd.rc
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting mheardd"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/mheardd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping mheardd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/mheardd
+ eend $?
+}
diff --git a/media-radio/ax25-tools/files/netromd.rc b/media-radio/ax25-tools/files/netromd.rc
new file mode 100644
index 000000000000..c6ffbb43b75c
--- /dev/null
+++ b/media-radio/ax25-tools/files/netromd.rc
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting netromd"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/netromd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping netromd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/netromd
+ eend $?
+}
diff --git a/media-radio/ax25-tools/files/rip98d.rc b/media-radio/ax25-tools/files/rip98d.rc
new file mode 100644
index 000000000000..098437ffae99
--- /dev/null
+++ b/media-radio/ax25-tools/files/rip98d.rc
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting rip98d"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/rip98d
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping rip98d"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/rip98d
+ eend $?
+}
diff --git a/media-radio/ax25-tools/files/rxecho.rc b/media-radio/ax25-tools/files/rxecho.rc
new file mode 100644
index 000000000000..56d6e20c40da
--- /dev/null
+++ b/media-radio/ax25-tools/files/rxecho.rc
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting rxecho"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/rxecho
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping rxecho"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/rxecho
+ eend $?
+}
diff --git a/media-radio/ax25-tools/files/ttylinkd.rc b/media-radio/ax25-tools/files/ttylinkd.rc
new file mode 100644
index 000000000000..d6ca4ed34d1c
--- /dev/null
+++ b/media-radio/ax25-tools/files/ttylinkd.rc
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ttylinkd"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/ttylinkd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ttylinkd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/ttylinkd
+ eend $?
+}
diff --git a/media-radio/ax25-tools/metadata.xml b/media-radio/ax25-tools/metadata.xml
new file mode 100644
index 000000000000..c0e910e25810
--- /dev/null
+++ b/media-radio/ax25-tools/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <use>
+ <flag name='X'>Enable some X based configuration tools.</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-radio/cwdaemon/Manifest b/media-radio/cwdaemon/Manifest
new file mode 100644
index 000000000000..377666760ffb
--- /dev/null
+++ b/media-radio/cwdaemon/Manifest
@@ -0,0 +1 @@
+DIST cwdaemon-0.10.1.tar.gz 314733 SHA256 5c914140aba395b5d52ba5d822bec9c22e05e93e38af9cfd212242adcaf6abcc SHA512 be15de3326de005c208bdcea412333ff3756e89f08cf5239d87bcd3bc20e9c98f74b028ab65438f04938b9840e354d5fc7c6056405a52aa434e134b5763fe1b8 WHIRLPOOL bfb0cdb4fbaa8ca4af2ca684278926aa058b1b16b9a27d33986bdb4fc39ff22c0a446a415e5d617f74e6aeafe90165173ba5112c61680373a926ab35a7f3602b
diff --git a/media-radio/cwdaemon/cwdaemon-0.10.1.ebuild b/media-radio/cwdaemon/cwdaemon-0.10.1.ebuild
new file mode 100644
index 000000000000..9044922ba56c
--- /dev/null
+++ b/media-radio/cwdaemon/cwdaemon-0.10.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="A morse daemon for the parallel or serial port"
+HOMEPAGE="http://cwdaemon.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="alpha amd64 ppc x86"
+IUSE=""
+
+RDEPEND=">=media-radio/unixcw-3.3.1"
+DEPEND="$RDEPEND
+ virtual/pkgconfig"
diff --git a/media-radio/cwdaemon/metadata.xml b/media-radio/cwdaemon/metadata.xml
new file mode 100644
index 000000000000..431191bc96a1
--- /dev/null
+++ b/media-radio/cwdaemon/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">cwdaemon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-radio/dxcc/Manifest b/media-radio/dxcc/Manifest
new file mode 100644
index 000000000000..fd57065398af
--- /dev/null
+++ b/media-radio/dxcc/Manifest
@@ -0,0 +1 @@
+DIST dxcc-20080225.tar.gz 110774 SHA256 a2fbd272b4b8494929a750df8f5eec704a8b469ee007d925b9ef20d7012aa274 SHA512 ef976d5c94b488d3dec132850f9c4da34caf02eee77a8c38a3fce5ccb033ffb848d5814eb72756d04235b9cc454f17f4c31aa47295c9e9cecec716ff32bf3df7 WHIRLPOOL 41a799b5e5d819cf9850e1b62d2555b5628bac2ac2413b730f5f2574afdcadf5911986e7b8e0ec9cb2dc90aaae23fd9ab686bacbed356c17d7e350022f63b3aa
diff --git a/media-radio/dxcc/dxcc-20080225-r1.ebuild b/media-radio/dxcc/dxcc-20080225-r1.ebuild
new file mode 100644
index 000000000000..dc1cf731af0e
--- /dev/null
+++ b/media-radio/dxcc/dxcc-20080225-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="A ham radio callsign DXCC lookup utility"
+HOMEPAGE="http://fkurz.net/ham/dxcc.html"
+SRC_URI="http://fkurz.net/ham/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="tk"
+
+RDEPEND="dev-lang/perl
+ tk? ( dev-perl/perl-tk )"
+
+src_prepare() {
+ epatch "${FILESDIR}/Makefile.patch"
+}
+
+src_install() {
+ emake DESTDIR="${D}/usr" install
+ dodoc README ChangeLog
+}
diff --git a/media-radio/dxcc/files/Makefile.patch b/media-radio/dxcc/files/Makefile.patch
new file mode 100644
index 000000000000..d4f391bed094
--- /dev/null
+++ b/media-radio/dxcc/files/Makefile.patch
@@ -0,0 +1,28 @@
+--- Makefile.orig 2009-04-07 19:10:23.000000000 +0200
++++ Makefile 2009-04-07 19:11:12.000000000 +0200
+@@ -4,19 +4,22 @@
+ DESTDIR ?= /usr
+
+ all:
+- @echo -e "dxcc - make [install|uninstall|clean|dist] \nCheck README for help."
+
+ install:
+- install -d -v $(DESTDIR)/share/man/man1/
+- install -d -v $(DESTDIR)/share/dxcc/
++ install -d $(DESTDIR)/share/man/man1/
++ install -d $(DESTDIR)/share/dxcc/
++ install -d $(DESTDIR)/share/pixmaps/
++ install -d $(DESTDIR)/bin/
+ install -m 0644 dxcc.1 $(DESTDIR)/share/man/man1/
+ install -m 0644 earth.gif $(DESTDIR)/share/dxcc/
++ install -m 0644 dxcc.png $(DESTDIR)/share/pixmaps/
+ install -m 0755 dxcc $(DESTDIR)/bin/
+
+ uninstall:
+ rm -f $(DESTDIR)/bin/dxcc
+ rm -f $(DESTDIR)/share/man/man1/dxcc.1
+ rm -f $(DESTDIR)/share/dxcc/earth.gif
++ rm -r $(DESTDIR)/share/pixmaps/dxcc.png
+
+ clean:
+ rm -f *~
diff --git a/media-radio/dxcc/metadata.xml b/media-radio/dxcc/metadata.xml
new file mode 100644
index 000000000000..835c76cab148
--- /dev/null
+++ b/media-radio/dxcc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest
new file mode 100644
index 000000000000..528d779d1bff
--- /dev/null
+++ b/media-radio/fldigi/Manifest
@@ -0,0 +1,5 @@
+DIST fldigi-3.21.82.tar.gz 2652964 SHA256 1a7b86a1fdc163f908369ab9ee23410937597749d099477294dacd547f604ee0 SHA512 1960088a31420cdb4e44a0a94c696fae54b815ffa53abc0e4fea1b5f6f39fd414756590a09ab218c67a2b8ee6d6a3719e9c95e684eafadb1870dea034d6af835 WHIRLPOOL 1b39708837e908ee86dad4742aa8c21eed8be03ce2bdf243fd66013b54ccb41e2678327215e2082b4649d9ac82383b1db344f4d58690cbd3c3ee7f24cfef12c0
+DIST fldigi-3.22.05.tar.gz 2822375 SHA256 8c88a06f5c9753704458aeebfbb73166ace08e9d22ce43e01ce7d347b4147496 SHA512 4def6860ea304b987dccd39a474a4bb7f21c2128c0287f07ad133adc1415088b125498acc8942e67bf9888f0a6bdcb0046020902a7060c0a9594f5f7a46b3dbf WHIRLPOOL 794a74720b2e1f6bb1dc650f3604a39299c196ddd1193ff1a856f9c4628c5dc6661b415657acc521cb874505d70e4245272c89b050f6007b6bdbde7e25bd419f
+DIST fldigi-3.22.10.tar.gz 2876358 SHA256 5b31d111b7158936ad7cf5317c91c99ef811686cafbb73ab2f26a044676a6a39 SHA512 7c055c8014192f9b9c0bf24961d1600e7babc4e7f8761a59c4c4c3d6130ae654e70f995bebde68a9e27fb24d5af59630299cefa29911a4dcbaf1023fd8fbe302 WHIRLPOOL 7d8fc7224ba147f9fce2d503d20b50d96e1d3cbf3aed7c131bfefa0792ee2cdb17c7205c6783fa7b6350dd78be624c5abc0426ecb04ab1fbf00c536f1bd56464
+DIST fldigi-3.22.11.tar.gz 2908366 SHA256 b5187e3b4bc91db3ca942d68ba4ce1e8369f7b9fa044e2e413382008bdf41c20 SHA512 4a6a7cbd1fdbc51eaf89b28cbc9348a40f633320666de0b38b916ed78aeafc19988889ea34f64f9e8ff3d7bd2b67a0559e57795173852312afd694a141938b4b WHIRLPOOL ba3b1cfa38e9cefddca9fe0a623376e1fe1c9fe3ff3267c3b0eec360657596eeae1caab3123bc25c2e3012288795580b98639bcdd6f75f0aa5f529735e6ca6f9
+DIST fldigi-3.22.13.tar.gz 2909523 SHA256 f055b607dd28bde847541bd4518e5ceac49e0eccf4bda97c4c589d598c4a3baf SHA512 ef4d4cccf24a6c7f7ad6657af89cfbc617655c9852150ac45b92178549a91a8aed6d6d6d4737ac69ded64e85bfbc727697f16f64b5d24e4eb756a8c1ca11a57c WHIRLPOOL a8a175d59e656df86b321b9753a7656e10403c8921dc7081859e088a6868324594f2807a20b09c91eb3ec616404dc1a7ce0f721881e27ff27958c545d9fbf0b6
diff --git a/media-radio/fldigi/fldigi-3.21.82.ebuild b/media-radio/fldigi/fldigi-3.21.82.ebuild
new file mode 100644
index 000000000000..c3c9e7fc4bbc
--- /dev/null
+++ b/media-radio/fldigi/fldigi-3.21.82.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Sound card based multimode software modem for Amateur Radio use"
+HOMEPAGE="http://www.w1hkj.com/Fldigi.html"
+SRC_URI="http://www.w1hkj.com/downloads/fldigi/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="hamlib nls portaudio pulseaudio sndfile"
+
+RDEPEND="x11-libs/fltk:1[threads,xft]
+ media-libs/libsamplerate
+ media-libs/libpng
+ x11-misc/xdg-utils
+ dev-perl/RPC-XML
+ dev-perl/Term-ReadLine-Perl
+ hamlib? ( media-libs/hamlib )
+ portaudio? ( >=media-libs/portaudio-19_pre20071207 )
+ pulseaudio? ( media-sound/pulseaudio )
+ sndfile? ( >=media-libs/libsndfile-1.0.10 )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ econf $(use_with sndfile) \
+ $(use_with portaudio) \
+ $(use_with hamlib) \
+ $(use_enable nls) \
+ $(use_with pulseaudio) \
+ --disable-silent-rules \
+ --without-asciidoc
+}
diff --git a/media-radio/fldigi/fldigi-3.22.05.ebuild b/media-radio/fldigi/fldigi-3.22.05.ebuild
new file mode 100644
index 000000000000..fdd20a4c1397
--- /dev/null
+++ b/media-radio/fldigi/fldigi-3.22.05.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Sound card based multimode software modem for Amateur Radio use"
+HOMEPAGE="http://www.w1hkj.com/Fldigi.html"
+SRC_URI="http://www.w1hkj.com/downloads/fldigi/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="hamlib nls portaudio pulseaudio sndfile"
+
+RDEPEND="x11-libs/fltk:1[threads,xft]
+ media-libs/libsamplerate
+ media-libs/libpng
+ x11-misc/xdg-utils
+ dev-perl/RPC-XML
+ dev-perl/Term-ReadLine-Perl
+ hamlib? ( media-libs/hamlib )
+ portaudio? ( >=media-libs/portaudio-19_pre20071207 )
+ pulseaudio? ( media-sound/pulseaudio )
+ sndfile? ( >=media-libs/libsndfile-1.0.10 )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ econf $(use_with sndfile) \
+ $(use_with portaudio) \
+ $(use_with hamlib) \
+ $(use_enable nls) \
+ $(use_with pulseaudio) \
+ --disable-silent-rules \
+ --without-asciidoc
+}
diff --git a/media-radio/fldigi/fldigi-3.22.10.ebuild b/media-radio/fldigi/fldigi-3.22.10.ebuild
new file mode 100644
index 000000000000..84204b08b953
--- /dev/null
+++ b/media-radio/fldigi/fldigi-3.22.10.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Sound card based multimode software modem for Amateur Radio use"
+HOMEPAGE="http://www.w1hkj.com/Fldigi.html"
+SRC_URI="http://www.w1hkj.com/downloads/fldigi/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="hamlib nls portaudio pulseaudio sndfile"
+
+RDEPEND="x11-libs/fltk:1[threads,xft]
+ media-libs/libsamplerate
+ media-libs/libpng:0
+ x11-misc/xdg-utils
+ dev-perl/RPC-XML
+ dev-perl/Term-ReadLine-Perl
+ hamlib? ( media-libs/hamlib )
+ portaudio? ( >=media-libs/portaudio-19_pre20071207 )
+ pulseaudio? ( media-sound/pulseaudio )
+ sndfile? ( >=media-libs/libsndfile-1.0.10 )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ econf $(use_with sndfile) \
+ $(use_with portaudio) \
+ $(use_with hamlib) \
+ $(use_enable nls) \
+ $(use_with pulseaudio) \
+ --disable-silent-rules \
+ --without-asciidoc
+}
diff --git a/media-radio/fldigi/fldigi-3.22.11.ebuild b/media-radio/fldigi/fldigi-3.22.11.ebuild
new file mode 100644
index 000000000000..84204b08b953
--- /dev/null
+++ b/media-radio/fldigi/fldigi-3.22.11.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Sound card based multimode software modem for Amateur Radio use"
+HOMEPAGE="http://www.w1hkj.com/Fldigi.html"
+SRC_URI="http://www.w1hkj.com/downloads/fldigi/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="hamlib nls portaudio pulseaudio sndfile"
+
+RDEPEND="x11-libs/fltk:1[threads,xft]
+ media-libs/libsamplerate
+ media-libs/libpng:0
+ x11-misc/xdg-utils
+ dev-perl/RPC-XML
+ dev-perl/Term-ReadLine-Perl
+ hamlib? ( media-libs/hamlib )
+ portaudio? ( >=media-libs/portaudio-19_pre20071207 )
+ pulseaudio? ( media-sound/pulseaudio )
+ sndfile? ( >=media-libs/libsndfile-1.0.10 )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ econf $(use_with sndfile) \
+ $(use_with portaudio) \
+ $(use_with hamlib) \
+ $(use_enable nls) \
+ $(use_with pulseaudio) \
+ --disable-silent-rules \
+ --without-asciidoc
+}
diff --git a/media-radio/fldigi/fldigi-3.22.13.ebuild b/media-radio/fldigi/fldigi-3.22.13.ebuild
new file mode 100644
index 000000000000..84204b08b953
--- /dev/null
+++ b/media-radio/fldigi/fldigi-3.22.13.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Sound card based multimode software modem for Amateur Radio use"
+HOMEPAGE="http://www.w1hkj.com/Fldigi.html"
+SRC_URI="http://www.w1hkj.com/downloads/fldigi/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="hamlib nls portaudio pulseaudio sndfile"
+
+RDEPEND="x11-libs/fltk:1[threads,xft]
+ media-libs/libsamplerate
+ media-libs/libpng:0
+ x11-misc/xdg-utils
+ dev-perl/RPC-XML
+ dev-perl/Term-ReadLine-Perl
+ hamlib? ( media-libs/hamlib )
+ portaudio? ( >=media-libs/portaudio-19_pre20071207 )
+ pulseaudio? ( media-sound/pulseaudio )
+ sndfile? ( >=media-libs/libsndfile-1.0.10 )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ econf $(use_with sndfile) \
+ $(use_with portaudio) \
+ $(use_with hamlib) \
+ $(use_enable nls) \
+ $(use_with pulseaudio) \
+ --disable-silent-rules \
+ --without-asciidoc
+}
diff --git a/media-radio/fldigi/metadata.xml b/media-radio/fldigi/metadata.xml
new file mode 100644
index 000000000000..c05fe77200b4
--- /dev/null
+++ b/media-radio/fldigi/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <use>
+ <flag name='hamlib'>Enables support by the Hamlib amateur radio
+ rig control library to get/set frequency and mode of the
+ ham radio in use</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-radio/flrig/Manifest b/media-radio/flrig/Manifest
new file mode 100644
index 000000000000..f0df2288d7ef
--- /dev/null
+++ b/media-radio/flrig/Manifest
@@ -0,0 +1,3 @@
+DIST flrig-1.3.19.tar.gz 617353 SHA256 4b697d6737b94b3e3cf1237283f23587ffaf6de848e8ea6f42985bca586692f0 SHA512 f4cc5df9d5dd0a6d5ad5574c0df08dc18ea409253216ba32306b226cf5cb76c956db715e711b612232b6a10d514e71f72f6a923c660da02e5a662a00a5434fda WHIRLPOOL a0596709f92ad39ca23a6809185a01a8e77e19f9c22e829b59d8ee3abf214a4dba5703c06db118b1304b95d079c119e4c5a6c57d5389d0f99efecf7b4234e9ac
+DIST flrig-1.3.21.tar.gz 621380 SHA256 d5d83832ab8e072962e01d90a66b609d93992a2a9266e9647adfbb35ef28dd91 SHA512 5f1d96ab2464089448c0dcdcb35134f7e26e2c17d9c63c19cd256650a34a16bff5e1b41913842bba7f8c7f320bdc9f15e9d48f1e721c3a2fd8b316ab6a91ca6d WHIRLPOOL b5079105b9b5796c07b57a160bb54125709feba02959232da8f82ca44a966be795d6cf48c872aedbc8720740e1b486e73a3bb4d4fe5bf82b42f66a7f9113dd11
+DIST flrig-1.3.22.tar.gz 613526 SHA256 be30ceaf06a64cc7db9f12f0a7d1da597a5569f248323f2dc2cd037fd1730908 SHA512 51525de330ead7dd5f79d447dc53c6710a99faa4550c06fe3a80e6e504f67bd0a40fbd4befb907ee8770d7a69831ab993f1553e9ecb44e96d8140cc8471b3235 WHIRLPOOL a3370812bd01ef93555b5084c1f177ed1e965642e10e027ef4b98305f9436c8483391a3f79f36b7a0fe2c8102fbb87215f86ba782d4dcab2e12313f7e5310b1b
diff --git a/media-radio/flrig/files/fix-bashism.patch b/media-radio/flrig/files/fix-bashism.patch
new file mode 100644
index 000000000000..53dac6b27d6c
--- /dev/null
+++ b/media-radio/flrig/files/fix-bashism.patch
@@ -0,0 +1,11 @@
+--- m4/fltk.m4.orig 2014-12-13 13:46:29.000000000 +0100
++++ m4/fltk.m4 2014-12-13 14:03:44.000000000 +0100
+@@ -38,7 +38,7 @@
+ FLTK_LIBS=`$FLTK_CONFIG --ldflags --use-images`
+ if test "x$target_mingw32" != "xyes"; then
+ if test "x$target_darwin" != "xyes"; then
+- if grep -q "lX11" <<< "$FLTK_LIBS"; then
++ if echo "$FLTK_LIBS" | grep -q "lX11" ; then
+ FLTK_LIBS="$FLTK_LIBS";
+ else
+ FLTK_LIBS="$FLTK_LIBS -lm -lX11";
diff --git a/media-radio/flrig/flrig-1.3.19.ebuild b/media-radio/flrig/flrig-1.3.19.ebuild
new file mode 100644
index 000000000000..901161568aeb
--- /dev/null
+++ b/media-radio/flrig/flrig-1.3.19.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Transceiver control program for Amateur Radio use"
+HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html"
+SRC_URI="http://www.w1hkj.com/downloads/flrig/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="nls"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/fltk:1
+ x11-misc/xdg-utils"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_prepare() {
+ epatch "${FILESDIR}"/fix-bashism.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/media-radio/flrig/flrig-1.3.21.ebuild b/media-radio/flrig/flrig-1.3.21.ebuild
new file mode 100644
index 000000000000..9b2778bb711c
--- /dev/null
+++ b/media-radio/flrig/flrig-1.3.21.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Transceiver control program for Amateur Radio use"
+HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html"
+SRC_URI="http://www.w1hkj.com/downloads/flrig/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/fltk:1
+ x11-misc/xdg-utils"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_prepare() {
+ epatch "${FILESDIR}"/fix-bashism.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/media-radio/flrig/flrig-1.3.22.ebuild b/media-radio/flrig/flrig-1.3.22.ebuild
new file mode 100644
index 000000000000..9b2778bb711c
--- /dev/null
+++ b/media-radio/flrig/flrig-1.3.22.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Transceiver control program for Amateur Radio use"
+HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html"
+SRC_URI="http://www.w1hkj.com/downloads/flrig/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/fltk:1
+ x11-misc/xdg-utils"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_prepare() {
+ epatch "${FILESDIR}"/fix-bashism.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/media-radio/flrig/metadata.xml b/media-radio/flrig/metadata.xml
new file mode 100644
index 000000000000..ec0480bf600d
--- /dev/null
+++ b/media-radio/flrig/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/media-radio/gpredict/Manifest b/media-radio/gpredict/Manifest
new file mode 100644
index 000000000000..91bdfcb59a5b
--- /dev/null
+++ b/media-radio/gpredict/Manifest
@@ -0,0 +1 @@
+DIST gpredict-1.3.tar.gz 4750388 SHA256 b0f6beed8da1b2c513ba1f22593195c6097fc7ccfc66cba4bdbc16277238d5a3 SHA512 e465e5162d46375e6d8c1ca6b98ec5860f974eec0cbcf8219b65c919ab74ce342e6296886e3fadcb64882c9059da26707e8b10670dac7b1f8146641ed0992f09 WHIRLPOOL 376b8f787ab7a50d3dbf0927a63c80e6cdbddf94e784a257cf1bf4aa7198ca9793d4c75c1bcca3d0bc750fb0f00f0ffbfa25778fe8a7876eec2fcde502c497fa
diff --git a/media-radio/gpredict/files/gpredict-1.1-doc.patch b/media-radio/gpredict/files/gpredict-1.1-doc.patch
new file mode 100644
index 000000000000..41f1b40b6a02
--- /dev/null
+++ b/media-radio/gpredict/files/gpredict-1.1-doc.patch
@@ -0,0 +1,15 @@
+--- Makefile.am.orig 2009-04-19 12:09:03.000000000 +0200
++++ Makefile.am 2009-04-19 12:09:20.000000000 +0200
+@@ -2,12 +2,7 @@
+
+ install-data-local:
+ @$(NORMAL_INSTALL)
+- $(INSTALL_DATA) $(top_srcdir)/AUTHORS $(DESTDIR)$(pkgdatadir)
+- $(INSTALL_DATA) $(top_srcdir)/ChangeLog $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) $(top_srcdir)/NEWS $(DESTDIR)$(pkgdatadir)
+- $(INSTALL_DATA) $(top_srcdir)/README $(DESTDIR)$(pkgdatadir)
+- $(INSTALL_DATA) $(top_srcdir)/COPYING $(DESTDIR)$(pkgdatadir)
+- $(INSTALL_DATA) $(top_srcdir)/TODO $(DESTDIR)$(pkgdatadir)
+
+ EXTRA_DIST = \
+ autogen.sh \
diff --git a/media-radio/gpredict/gpredict-1.3.ebuild b/media-radio/gpredict/gpredict-1.3.ebuild
new file mode 100644
index 000000000000..db2e596d0838
--- /dev/null
+++ b/media-radio/gpredict/gpredict-1.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Real-time satellite tracking and orbit prediction application"
+HOMEPAGE="http://gpredict.oz9aec.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.22.0:2
+ >=x11-libs/gtk+-2.18.0:2
+ >=x11-libs/goocanvas-0.14:0
+ net-misc/curl"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+src_prepare() {
+ # remove wrong doc location
+ epatch "${FILESDIR}/${PN}-1.1-doc.patch"
+ sed -i -e "s/0.15/0.14/g" configure.ac || die
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ make_desktop_entry ${PN} "GPredict" "/usr/share/pixmaps/gpredict/icons/gpredict-icon.png" Science
+ # provide a link to GPL license to allow the program to show it (see
+ # Help->license menu entry)
+ dosym /usr/portage/licenses/GPL-2 /usr/share/${PN}/COPYING
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/media-radio/gpredict/metadata.xml b/media-radio/gpredict/metadata.xml
new file mode 100644
index 000000000000..13a09d335ea3
--- /dev/null
+++ b/media-radio/gpredict/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gpredict</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-radio/grig/Manifest b/media-radio/grig/Manifest
new file mode 100644
index 000000000000..d5bf41ca6cfb
--- /dev/null
+++ b/media-radio/grig/Manifest
@@ -0,0 +1 @@
+DIST grig-0.8.0.tar.gz 514072 SHA256 d621a3400b7720d6671d18bff2e7627cc1442d58df161cc8789851300495d3f3
diff --git a/media-radio/grig/grig-0.8.0.ebuild b/media-radio/grig/grig-0.8.0.ebuild
new file mode 100644
index 000000000000..1fe1f00df938
--- /dev/null
+++ b/media-radio/grig/grig-0.8.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="A tool for controlling amateur radios"
+HOMEPAGE="http://groundstation.sourceforge.net/grig/"
+SRC_URI="mirror://sourceforge/groundstation/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:2
+ media-libs/hamlib"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i -e "s/-DG_DISABLE_DEPRECATED//" src/Makefile.in || die
+}
+
+src_configure() {
+ econf --enable-hardware
+}
+
+src_install() {
+ default
+ make_desktop_entry ${PN} "GRig" "/usr/share/pixmaps/grig/grig-logo.png" "Application;HamRadio"
+ rm -rf "${D}/usr/share/grig" || die "cleanup docs failed"
+}
diff --git a/media-radio/grig/metadata.xml b/media-radio/grig/metadata.xml
new file mode 100644
index 000000000000..509e0a3e94e8
--- /dev/null
+++ b/media-radio/grig/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">groundstation</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-radio/ibp/Manifest b/media-radio/ibp/Manifest
new file mode 100644
index 000000000000..b5cc49d12406
--- /dev/null
+++ b/media-radio/ibp/Manifest
@@ -0,0 +1 @@
+DIST ibp-0.21.tgz 33536 SHA256 b3b118ca83619f0a5605652a0a8c385c77ada3a10321a771e2d19f9f59604abd SHA512 784bdcae61ce41dff7d88eb2068171dafa607012660393188326e94e323fdf5badebf3d8a24016c83c96c770b6d0935fc35aef5aca6bbfd665b7f2ccf39118ca WHIRLPOOL f3ebf23a5d797b564e8669aad0cbd8827e5dfc01f13f5b24c6d268f9e1a16be143eaf5257755d47efbccab8ab99e1caa113671509bc04ea3ded9850caba037a7
diff --git a/media-radio/ibp/ibp-0.21.ebuild b/media-radio/ibp/ibp-0.21.ebuild
new file mode 100644
index 000000000000..96d6ce514f1b
--- /dev/null
+++ b/media-radio/ibp/ibp-0.21.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Shows currently transmitting beacons of the International Beacon Project (IBP)"
+HOMEPAGE="http://wwwhome.cs.utwente.nl/~ptdeboer/ham/${PN}.html"
+SRC_URI="http://wwwhome.cs.utwente.nl/~ptdeboer/ham/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="X"
+
+RDEPEND="sys-libs/ncurses
+ X? ( x11-libs/libX11 )"
+DEPEND="${RDEPEND}
+ X? ( x11-misc/imake )"
+
+src_prepare() {
+ # respect CFLAGS if built without USE=X
+ sed -i -e "s/= -D/+= -D/" Makefile || die
+}
+
+src_configure() {
+ if use X ;then
+ xmkmf || die
+ fi
+}
+
+src_compile() {
+ if use X ; then
+ emake \
+ CC="$(tc-getCC)" \
+ LOCAL_LDFLAGS="${LDFLAGS}" \
+ CDEBUGFLAGS="${CFLAGS}"
+ else
+ emake CC="$(tc-getCC)"
+ fi
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+}
diff --git a/media-radio/ibp/metadata.xml b/media-radio/ibp/metadata.xml
new file mode 100644
index 000000000000..835c76cab148
--- /dev/null
+++ b/media-radio/ibp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-radio/metadata.xml b/media-radio/metadata.xml
new file mode 100644
index 000000000000..bfa71f070f00
--- /dev/null
+++ b/media-radio/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The media-radio category contains radio-related media applications.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie media-radio enthält Applikationen zum Thema Amateur Radio.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría media-radio contiene aplicaciones de media para radio.
+ </longdescription>
+ <longdescription lang="ja">
+ media-radioカテゴリーにはラジオ関連のメディア・アプリケーションが含まれています。
+ </longdescription>
+ <longdescription lang="nl">
+ De media-radio categorie bevat radio-gerelateerde applicaties.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm media-radio chứa các ứng dụng liên quan đến radio.
+ </longdescription>
+ <longdescription lang="it">
+ La categoria media-radio contiene applicazioni per la radio.
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria media-radio contém aplicações de mídia para rádio.
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria media-radio zawiera oprogramowanie multimedialne związane z
+ radiem.
+ </longdescription>
+</catmetadata>
+
diff --git a/media-radio/qrq/Manifest b/media-radio/qrq/Manifest
new file mode 100644
index 000000000000..4a821032a7f6
--- /dev/null
+++ b/media-radio/qrq/Manifest
@@ -0,0 +1 @@
+DIST qrq-0.3.1.tar.gz 131508 SHA256 92988a33b7eddb3941cf91a285a57f4f0872722adf003350a8afe2caf83159a1 SHA512 ce6e3b6f79575f11457f56e1044267dbefda20b13ba43fd79b2ad5821b4502a8a2badacbd891e154472d6f26334a0a8fcddf9521d905d8e7a72d8a687346e23d WHIRLPOOL 8cdad3bebaf1754b499df1372acab50bbe24683f23ffeb337ca0a6d7379fea970f8ee5a8935b485f55f92b048459f284110fea0994c6327e659152a9a6129755
diff --git a/media-radio/qrq/metadata.xml b/media-radio/qrq/metadata.xml
new file mode 100644
index 000000000000..1500853ef050
--- /dev/null
+++ b/media-radio/qrq/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-radio/qrq/qrq-0.3.1.ebuild b/media-radio/qrq/qrq-0.3.1.ebuild
new file mode 100644
index 000000000000..cefc3258e02a
--- /dev/null
+++ b/media-radio/qrq/qrq-0.3.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Yet another CW trainer for Linux/Unix"
+HOMEPAGE="http://fkurz.net/ham/qrq.html"
+SRC_URI="http://fkurz.net/ham/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="pulseaudio"
+
+DEPEND="sys-libs/ncurses
+ pulseaudio? ( media-sound/pulseaudio )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # avoid prestripping of 'qrq' binary
+ sed -i -e "s/install -s -m/install -m/" Makefile || die
+ sed -i -e "s/CC=gcc/CC=$(tc-getCC)/" Makefile || die
+ sed -i -e "s/-lpulse-simple/-lpthread -lpulse-simple/" Makefile || die
+}
+
+src_compile() {
+ CONF="USE_PA=NO USE_OSS=YES"
+ if use pulseaudio; then
+ CONF="USE_PA=YES USE_OSS=NO"
+ fi
+ emake $CONF
+}
+
+src_install() {
+ emake $CONF DESTDIR="${D}/usr" install
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/media-radio/qsstv/Manifest b/media-radio/qsstv/Manifest
new file mode 100644
index 000000000000..be13b7dacddb
--- /dev/null
+++ b/media-radio/qsstv/Manifest
@@ -0,0 +1,4 @@
+DIST qsstv_8.2.10.tar.gz 1035594 SHA256 a81e0f3872109b0556f4a41bd23ddbe21c51c680898ad0ac27ebaf75f2b80994 SHA512 e2fec2d2dabc51ce0c4a13eb3108bec5e0ffb6b540f744e6b565e886473a94f9372157f7dd5e49cd20dc3f2bb5a41b8d5114181c4d33bab329dc3c38392b8028 WHIRLPOOL cccfe4f0231540a0d264249c7cb7bae8e9bfb574e54483bf87fff170ba470f30093c89d63d94b4017be317091de5a97281826fe54eb871bd6fb32ca2935d1076
+DIST qsstv_8.2.11.tar.gz 1055598 SHA256 c948c104e58664f4da8001f7a14c76cfeb46664ae0bbdfb7f5e22cac9de1aa77 SHA512 e446609536e24c2dad69c5e44ee4dbcbe44d97ba8a7cff6d4ab28b6145c905ccff327ac235e715283f532a5a131a95a8a7e594124502573625c2ac89f076abf7 WHIRLPOOL cb82ed3f2b46868e4287cfd3601f947df29c74ffae54c4479c13efcc9221abd1248145d3076c09feeb9785522d547dfc4cf0efe18228b212bfb3bd225ecb07cd
+DIST qsstv_8.2.12.tar.gz 942737 SHA256 3bb6cff072747981d387196780de4414f8766a5a620dc1629cb4ba4de1d3bc4d SHA512 5e87152e644336119fa328a6dbe33524a53cfd78866ed036652213bf860c022ba60bfa64e95b3a55d73ec4370f8d912a0317654137db07eb27dececc0889e097 WHIRLPOOL 493aed71390ae6b3738c709085d7f0c97cb2920fbac4abb66c1203c0a059895101b10bdad5246737cec758b2146337cb16d1003e71f875dc3e84eae93d02b7e9
+DIST qsstv_8.2.9.tar.gz 6085475 SHA256 cdaa5ea8edbf56e66e1a639038ae83664166d93523fe809f7e4b996772448d9d SHA512 bdc467762563cc0aea8da5a1ce7c28030f57bf50559920b5dc2e6a10e199be55df88bd5fcfad20f32161c6d64016f8582f669ddbc8c6186e1fe70adcf18351f3 WHIRLPOOL 5986da109908bdc3e977a7cc861687c74748eef6db5c6d6785a59a96841aa53f97b0b103b8a85d771d85da315f37683fb2a6b15ea8651d4c623227b7e967d4c9
diff --git a/media-radio/qsstv/metadata.xml b/media-radio/qsstv/metadata.xml
new file mode 100644
index 000000000000..9887e2206b3e
--- /dev/null
+++ b/media-radio/qsstv/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>radio</herd>
+<maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+</maintainer>
+<longdescription>An amateur radio SSTV software</longdescription>
+</pkgmetadata>
diff --git a/media-radio/qsstv/qsstv-8.2.10.ebuild b/media-radio/qsstv/qsstv-8.2.10.ebuild
new file mode 100644
index 000000000000..ae71d2ac4d32
--- /dev/null
+++ b/media-radio/qsstv/qsstv-8.2.10.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib qt4-r2
+
+MY_P=${P/-/_}
+
+DESCRIPTION="Amateur radio SSTV software"
+HOMEPAGE="http://users.telenet.be/on4qz/"
+SRC_URI="http://users.telenet.be/on4qz/qsstv/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-qt/qtcore:4[qt3support]
+ dev-qt/qtgui:4
+ media-libs/hamlib
+ media-libs/jasper
+ media-libs/alsa-lib
+ sci-libs/fftw:3.0"
+RDEPEND="${DEPEND}
+ x11-misc/xdg-utils"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # fix docdirectory, install path and hamlib search path
+ sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \
+ -e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" \
+ qsstv/qsstv.pro || die
+}
diff --git a/media-radio/qsstv/qsstv-8.2.11.ebuild b/media-radio/qsstv/qsstv-8.2.11.ebuild
new file mode 100644
index 000000000000..a9936fb9d2b3
--- /dev/null
+++ b/media-radio/qsstv/qsstv-8.2.11.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib qt4-r2
+
+MY_P=${P/-/_}
+
+DESCRIPTION="Amateur radio SSTV software"
+HOMEPAGE="http://users.telenet.be/on4qz/"
+SRC_URI="http://users.telenet.be/on4qz/qsstv/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="dev-qt/qtcore:4[qt3support]
+ dev-qt/qtgui:4
+ media-libs/hamlib
+ media-libs/jasper
+ media-libs/alsa-lib
+ sci-libs/fftw:3.0"
+RDEPEND="${DEPEND}
+ x11-misc/xdg-utils"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # fix docdirectory, install path and hamlib search path
+ sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \
+ -e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" \
+ qsstv/qsstv.pro || die
+}
diff --git a/media-radio/qsstv/qsstv-8.2.12.ebuild b/media-radio/qsstv/qsstv-8.2.12.ebuild
new file mode 100644
index 000000000000..ae71d2ac4d32
--- /dev/null
+++ b/media-radio/qsstv/qsstv-8.2.12.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib qt4-r2
+
+MY_P=${P/-/_}
+
+DESCRIPTION="Amateur radio SSTV software"
+HOMEPAGE="http://users.telenet.be/on4qz/"
+SRC_URI="http://users.telenet.be/on4qz/qsstv/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-qt/qtcore:4[qt3support]
+ dev-qt/qtgui:4
+ media-libs/hamlib
+ media-libs/jasper
+ media-libs/alsa-lib
+ sci-libs/fftw:3.0"
+RDEPEND="${DEPEND}
+ x11-misc/xdg-utils"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # fix docdirectory, install path and hamlib search path
+ sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \
+ -e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" \
+ qsstv/qsstv.pro || die
+}
diff --git a/media-radio/qsstv/qsstv-8.2.9.ebuild b/media-radio/qsstv/qsstv-8.2.9.ebuild
new file mode 100644
index 000000000000..a9936fb9d2b3
--- /dev/null
+++ b/media-radio/qsstv/qsstv-8.2.9.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib qt4-r2
+
+MY_P=${P/-/_}
+
+DESCRIPTION="Amateur radio SSTV software"
+HOMEPAGE="http://users.telenet.be/on4qz/"
+SRC_URI="http://users.telenet.be/on4qz/qsstv/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="dev-qt/qtcore:4[qt3support]
+ dev-qt/qtgui:4
+ media-libs/hamlib
+ media-libs/jasper
+ media-libs/alsa-lib
+ sci-libs/fftw:3.0"
+RDEPEND="${DEPEND}
+ x11-misc/xdg-utils"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # fix docdirectory, install path and hamlib search path
+ sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \
+ -e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" \
+ qsstv/qsstv.pro || die
+}
diff --git a/media-radio/radiotray/Manifest b/media-radio/radiotray/Manifest
new file mode 100644
index 000000000000..111b7192bcbd
--- /dev/null
+++ b/media-radio/radiotray/Manifest
@@ -0,0 +1 @@
+DIST radiotray-0.7.3.tar.gz 94678 SHA256 709cbabbd03627270f60cd56084803d6f03fe0e14fbfc15b6325b4c5bd9faf2d SHA512 84e32d7be0db87e7a42464dae5207fd4c0f52208f4c92c5033fd51695276be5af013c824bcfbf1944d34977a82702c6d00f31079563c8ce477d166df64bcfb84 WHIRLPOOL b32b9f9a35bfbd6d4fd5ca86ed3ab878c24e45b3ec70372c2508985b9240458bb56d44465f1ddf3a58eac70700820451bc06bad25adf670a54e8343a915cec1c
diff --git a/media-radio/radiotray/metadata.xml b/media-radio/radiotray/metadata.xml
new file mode 100644
index 000000000000..1f35d6b306a9
--- /dev/null
+++ b/media-radio/radiotray/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+</maintainer>
+<upstream>
+ <maintainer>
+ <email>carlosmribeiro1@gmail.com</email>
+ <name>Carlos Ribeiro</name>
+ </maintainer>
+ <maintainer>
+ <email>ogmaciel@gnome.org</email>
+ <name>Og Maciel</name>
+ </maintainer>
+ <changelog>http://radiotray.sourceforge.net/</changelog>
+</upstream>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/media-radio/radiotray/radiotray-0.7.3-r2.ebuild b/media-radio/radiotray/radiotray-0.7.3-r2.ebuild
new file mode 100644
index 000000000000..6027c21425e8
--- /dev/null
+++ b/media-radio/radiotray/radiotray-0.7.3-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
+
+DESCRIPTION="Online radio streaming player"
+HOMEPAGE="http://radiotray.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-1+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="sys-apps/dbus[X]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/gst-python:0.10[${PYTHON_USEDEP}]
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ media-libs/gst-plugins-good:0.10
+ media-libs/gst-plugins-ugly:0.10
+ media-plugins/gst-plugins-alsa:0.10
+ media-plugins/gst-plugins-libmms:0.10
+ media-plugins/gst-plugins-ffmpeg:0.10
+ media-plugins/gst-plugins-mad:0.10
+ media-plugins/gst-plugins-ogg:0.10
+ media-plugins/gst-plugins-soup:0.10
+ media-plugins/gst-plugins-vorbis:0.10"
+
+DEPEND="dev-python/pyxdg[${PYTHON_USEDEP}]"
diff --git a/media-radio/radiotray/radiotray-9999.ebuild b/media-radio/radiotray/radiotray-9999.ebuild
new file mode 100644
index 000000000000..96553be270c1
--- /dev/null
+++ b/media-radio/radiotray/radiotray-9999.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+DISTUTILS_NO_PARALLEL_BUILD=1
+
+inherit distutils-r1 mercurial
+
+DESCRIPTION="Online radio streaming player"
+HOMEPAGE="http://radiotray.sourceforge.net/"
+SRC_URI=""
+EHG_REPO_URI="http://radiotray.hg.sourceforge.net:8000/hgroot/radiotray/radiotray"
+
+LICENSE="GPL-1+"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+LANGS="ca de el en_GB es fi fr gl gu hu it ko lt pl pt_BR pt ro ru sk sl sv te
+tr uk zh_CN"
+
+for x in ${LANGS}; do
+ IUSE="${IUSE} linguas_${x}"
+done
+
+RDEPEND="sys-apps/dbus[X]
+ dev-python/gst-python:0.10[${PYTHON_USEDEP}]
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ media-libs/gst-plugins-good:0.10
+ media-libs/gst-plugins-ugly:0.10
+ media-plugins/gst-plugins-alsa:0.10
+ media-plugins/gst-plugins-libmms:0.10
+ media-plugins/gst-plugins-ffmpeg:0.10
+ media-plugins/gst-plugins-mad:0.10
+ media-plugins/gst-plugins-ogg:0.10
+ media-plugins/gst-plugins-soup:0.10
+ media-plugins/gst-plugins-vorbis:0.10"
+
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS CONTRIBUTORS NEWS README )
+
+python_prepare_all() {
+ # remove LINUGAS file so we can create our
+ rm "${S}"/po/LINGUAS
+ for x in ${LANGS}; do
+ use "linguas_${x}" && echo "${x}" >> "${S}"/po/LINGUAS
+ ! use "linguas_${x}" && rm "${S}"/po/${x}.po
+ done
+
+ distutils-r1_python_prepare_all
+}
diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest
new file mode 100644
index 000000000000..43d371875469
--- /dev/null
+++ b/media-radio/svxlink/Manifest
@@ -0,0 +1,3 @@
+DIST svxlink-13.03.tar.gz 1071980 SHA256 638d239d94d120a8efd1b4f1f5456f8e1a2f2e24893dbd40db89a750634e58ea SHA512 148aca62d903625b7e84c56178bc9d396593e377d731dfe0f6aea3eaffd5e820ac7825c5a1e2ede30ceb9aedd4da135a8e56a8fad804eb74f3cce67eb1500dfc WHIRLPOOL 244bdb883344d9f343e9cddff7466b350ee26409904545eb8261c8fa9b7af2e7f815e2e0d75b64be42862898cc3f7031eb6a58813aee6ef535dade752da56b54
+DIST svxlink-13.07.tar.gz 1123208 SHA256 b8d4c25009a7d6294ebf4fffe8daca866778c9f8c8df35a739cb71947c9a3c1a SHA512 2d65bcae375935242105390b5b43d22dd68f3541207a688a277b86179cca3c90c1cebb5eec76e687e31b09aea7829bf68ec2fc99f183d2681fc14f0c51b60667 WHIRLPOOL 9556ee8ec934b8f18cabb61350539471c3a9fb2241d7165f141f17dcfa3d122934531fd4d14b3f626580b2f41eb61663bb4e235db0c7f9bf58577c4193202d9d
+DIST svxlink-13.12.tar.gz 1168697 SHA256 c2a991a35f3386027e33f35c53c9d383231bc8e3184c8e2fef871e4f68622245 SHA512 442320c7f29e090ab3596c607c640d310cd534093203264a9cb57f3e768b83604bffa478a2e743b37a2a82fd093b83050a1c300c623f01191048119091b4bf74 WHIRLPOOL 0c9ba108b076dca6ad5fa6ccf02141a83159a2bb28cf4653d614502cf6255583ada9281490fadd212837b97a5f7a7d75eb292fd35a912569d8122a005c409ebb
diff --git a/media-radio/svxlink/files/remotetrx.init b/media-radio/svxlink/files/remotetrx.init
new file mode 100644
index 000000000000..cfadbc7fe8d1
--- /dev/null
+++ b/media-radio/svxlink/files/remotetrx.init
@@ -0,0 +1,43 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PNAME=remotetrx
+NAME="RemoteTrx Server"
+DAEMON=/usr/bin/$PNAME
+
+POPTS="--daemon \
+ ${RUNASUSER:+--runasuser=$RUNASUSER} \
+ ${PIDFILE:+--pidfile=$PIDFILE} \
+ ${LOGFILE:+--logfile=$LOGFILE} \
+ ${CFGFILE:+--config=$CFGFILE}"
+
+create_logfile()
+{
+ touch $LOGFILE
+ if [ -n "$RUNASUSER" ]; then
+ chown $RUNASUSER.$RUNASUSER $LOGFILE
+ fi
+}
+
+
+depend() {
+ need localmount
+ use net
+ after bootmisc
+}
+
+start() {
+ ebegin "Starting $NAME"
+ create_logfile
+ export $ENV
+ start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON -- $POPTS
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping $NAME"
+ start-stop-daemon --stop --pidfile $PIDFILE --exec $DAEMON
+ eend $?
+}
diff --git a/media-radio/svxlink/files/remotetrx.rc b/media-radio/svxlink/files/remotetrx.rc
new file mode 100644
index 000000000000..940cc389bf4c
--- /dev/null
+++ b/media-radio/svxlink/files/remotetrx.rc
@@ -0,0 +1,21 @@
+#############################################################################
+#
+# Configuration file for the RemoteTrx startup script /etc/init.d/remotetrx
+#
+#############################################################################
+
+# The log file to use
+LOGFILE=/var/log/remotetrx
+
+# The PID file to use
+PIDFILE=/var/run/remotetrx.pid
+
+# The user to run the SvxLink server as
+RUNASUSER=svxlink
+
+# Specify which configuration file to use
+CFGFILE=/etc/svxlink/remotetrx.conf
+
+# Environment variables to set up. Separate variables with a space.
+ENV="ASYNC_AUDIO_NOTRIGGER=1"
+
diff --git a/media-radio/svxlink/files/svxlink-11.11.1-gcc-47.patch b/media-radio/svxlink/files/svxlink-11.11.1-gcc-47.patch
new file mode 100644
index 000000000000..b13985ace9c7
--- /dev/null
+++ b/media-radio/svxlink/files/svxlink-11.11.1-gcc-47.patch
@@ -0,0 +1,10 @@
+--- async/cpp/AsyncCppDnsLookupWorker.cpp.old 2012-07-31 17:45:31.000000000 +0000
++++ async/cpp/AsyncCppDnsLookupWorker.cpp 2012-07-31 17:45:24.000000000 +0000
+@@ -38,6 +38,7 @@
+ *
+ ****************************************************************************/
+
++#include <unistd.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
diff --git a/media-radio/svxlink/files/svxlink.init b/media-radio/svxlink/files/svxlink.init
new file mode 100644
index 000000000000..ceded48f41b7
--- /dev/null
+++ b/media-radio/svxlink/files/svxlink.init
@@ -0,0 +1,43 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PNAME=svxlink
+NAME="SvxLink Server"
+DAEMON=/usr/bin/$PNAME
+
+POPTS="--daemon \
+ ${RUNASUSER:+--runasuser=$RUNASUSER} \
+ ${PIDFILE:+--pidfile=$PIDFILE} \
+ ${LOGFILE:+--logfile=$LOGFILE} \
+ ${CFGFILE:+--config=$CFGFILE}"
+
+create_logfile()
+{
+ touch $LOGFILE
+ if [ -n "$RUNASUSER" ]; then
+ chown $RUNASUSER.$RUNASUSER $LOGFILE
+ fi
+}
+
+
+depend() {
+ need localmount
+ use net
+ after bootmisc
+}
+
+start() {
+ ebegin "Starting $NAME"
+ create_logfile
+ export $ENV
+ start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON -- $POPTS
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping $NAME"
+ start-stop-daemon --stop --pidfile $PIDFILE --exec $DAEMON
+ eend $?
+}
diff --git a/media-radio/svxlink/files/svxlink.rc b/media-radio/svxlink/files/svxlink.rc
new file mode 100644
index 000000000000..5f19f576e824
--- /dev/null
+++ b/media-radio/svxlink/files/svxlink.rc
@@ -0,0 +1,21 @@
+#############################################################################
+#
+# Configuration file for the SvxLink startup script /etc/init.d/svxlink
+#
+#############################################################################
+
+# The log file to use
+LOGFILE=/var/log/svxlink
+
+# The PID file to use
+PIDFILE=/var/run/svxlink.pid
+
+# The user to run the SvxLink server as
+RUNASUSER=svxlink
+
+# Specify which configuration file to use
+CFGFILE=/etc/svxlink/svxlink.conf
+
+# Environment variables to set up. Separate variables with a space.
+ENV="ASYNC_AUDIO_NOTRIGGER=1"
+
diff --git a/media-radio/svxlink/metadata.xml b/media-radio/svxlink/metadata.xml
new file mode 100644
index 000000000000..3d86de25052d
--- /dev/null
+++ b/media-radio/svxlink/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <longdescription lang="en">
+ The SvxLink project aim to develop a flexible, general purpose voice
+ services system for ham radio use. The svxlink server consists of a core
+ that handles the connection to the tranceiver. The project also
+ includes an EchoLink client GUI application (Qtel).
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">svxlink</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-radio/svxlink/svxlink-13.03.ebuild b/media-radio/svxlink/svxlink-13.03.ebuild
new file mode 100644
index 000000000000..2300f8e93ff6
--- /dev/null
+++ b/media-radio/svxlink/svxlink-13.03.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils multilib qt4-r2 user
+
+DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink"
+HOMEPAGE="http://svxlink.sourceforge.net/"
+SRC_URI="mirror://sourceforge/svxlink/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="dev-lang/tcl:0
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ media-libs/alsa-lib
+ media-sound/gsm
+ dev-libs/libgcrypt:0
+ media-libs/speex
+ dev-libs/libsigc++:2
+ dev-libs/popt"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+pkg_setup() {
+ enewgroup svxlink
+ enewuser svxlink -1 -1 -1 svxlink
+}
+
+src_prepare() {
+ sed -i -e "s:/lib:/$(get_libdir):g" makefile.cfg || die
+ sed -i -e "s:/etc/udev:/lib/udev:" svxlink/scripts/Makefile.default || die
+ # fix underlinking
+ sed -i -e "s:lgsm:lgsm -lspeex:" qtel/Makefile.default || die
+ # drop deprecated desktop category (bug #475730)
+ sed -i -e "s:Categories=Application;:Categories=:g" qtel/qtel.desktop || die
+}
+
+src_install() {
+ default
+
+ fowners -R svxlink.svxlink /var/spool/svxlink
+ # adapt to gentoo init system
+ rm -R "${D}"/etc/sysconfig || die
+ newinitd "${FILESDIR}"/remotetrx.init remotetrx
+ newinitd "${FILESDIR}"/svxlink.init svxlink
+ newconfd "${FILESDIR}"/remotetrx.rc remotetrx
+ newconfd "${FILESDIR}"/svxlink.rc svxlink
+}
diff --git a/media-radio/svxlink/svxlink-13.07.ebuild b/media-radio/svxlink/svxlink-13.07.ebuild
new file mode 100644
index 000000000000..2300f8e93ff6
--- /dev/null
+++ b/media-radio/svxlink/svxlink-13.07.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils multilib qt4-r2 user
+
+DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink"
+HOMEPAGE="http://svxlink.sourceforge.net/"
+SRC_URI="mirror://sourceforge/svxlink/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="dev-lang/tcl:0
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ media-libs/alsa-lib
+ media-sound/gsm
+ dev-libs/libgcrypt:0
+ media-libs/speex
+ dev-libs/libsigc++:2
+ dev-libs/popt"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+pkg_setup() {
+ enewgroup svxlink
+ enewuser svxlink -1 -1 -1 svxlink
+}
+
+src_prepare() {
+ sed -i -e "s:/lib:/$(get_libdir):g" makefile.cfg || die
+ sed -i -e "s:/etc/udev:/lib/udev:" svxlink/scripts/Makefile.default || die
+ # fix underlinking
+ sed -i -e "s:lgsm:lgsm -lspeex:" qtel/Makefile.default || die
+ # drop deprecated desktop category (bug #475730)
+ sed -i -e "s:Categories=Application;:Categories=:g" qtel/qtel.desktop || die
+}
+
+src_install() {
+ default
+
+ fowners -R svxlink.svxlink /var/spool/svxlink
+ # adapt to gentoo init system
+ rm -R "${D}"/etc/sysconfig || die
+ newinitd "${FILESDIR}"/remotetrx.init remotetrx
+ newinitd "${FILESDIR}"/svxlink.init svxlink
+ newconfd "${FILESDIR}"/remotetrx.rc remotetrx
+ newconfd "${FILESDIR}"/svxlink.rc svxlink
+}
diff --git a/media-radio/svxlink/svxlink-13.12.ebuild b/media-radio/svxlink/svxlink-13.12.ebuild
new file mode 100644
index 000000000000..a6b9bdac436e
--- /dev/null
+++ b/media-radio/svxlink/svxlink-13.12.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils multilib qt4-r2 user
+
+DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink"
+HOMEPAGE="http://svxlink.sourceforge.net/"
+SRC_URI="mirror://sourceforge/svxlink/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="dev-lang/tcl:0
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ media-libs/alsa-lib
+ media-sound/gsm
+ dev-libs/libgcrypt:0
+ media-libs/speex
+ media-libs/opus
+ dev-libs/libsigc++:2
+ dev-libs/popt"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+pkg_setup() {
+ enewgroup svxlink
+ enewuser svxlink -1 -1 -1 svxlink
+}
+
+src_prepare() {
+ sed -i -e "s:/lib:/$(get_libdir):g" makefile.cfg || die
+ sed -i -e "s:/etc/udev:/lib/udev:" svxlink/scripts/Makefile.default || die
+ # fix underlinking
+ sed -i -e "s:lgsm:lgsm -lspeex:" qtel/Makefile.default || die
+ # drop deprecated desktop category (bug #475730)
+ sed -i -e "s:Categories=Application;:Categories=:g" qtel/qtel.desktop || die
+}
+
+src_install() {
+ default
+
+ fowners -R svxlink.svxlink /var/spool/svxlink
+ # adapt to gentoo init system
+ rm -R "${D}"/etc/sysconfig || die
+ newinitd "${FILESDIR}"/remotetrx.init remotetrx
+ newinitd "${FILESDIR}"/svxlink.init svxlink
+ newconfd "${FILESDIR}"/remotetrx.rc remotetrx
+ newconfd "${FILESDIR}"/svxlink.rc svxlink
+}
diff --git a/media-radio/tlf/Manifest b/media-radio/tlf/Manifest
new file mode 100644
index 000000000000..d83265be51e6
--- /dev/null
+++ b/media-radio/tlf/Manifest
@@ -0,0 +1,4 @@
+DIST tlf-1.1.5.tar.gz 468791 SHA256 f2c7ed1f8daed3e091bde2de48585512884a70920a2a0b100fbab629b21e24eb SHA512 f6b5ecc97191c70b88f802c0bd99bbafadef6d16a53f018cd53375195472ce8fa5df04b16858aeb734b9d8356baeeb9b419f19271adc5ab8434e8cb4cba40a90 WHIRLPOOL 1fbd3a387716cbbc6d390728d8df6f2d1171d2de420ddaf4cfcb4e270f246bc02d5d3e5990631f8b5b70fcd0cb325cf747f250fea5c49f3bac14667b35071ed7
+DIST tlf-1.1.6.tar.gz 474614 SHA256 2668613150fb7095ecc1de7a128630dbe88d86eea2d35fd3e6e6fd8a5f03ce69 SHA512 ef549531967caafc31213eda0bfe6f204f6872b578736e77f8bf8a3f2eb0f9776158faa13dee4a1b1b223098fa4484732a11724b63075038e382c75c42e944ff WHIRLPOOL fef2a0dc4ef5da0f7b24e0ec9b60c59059050519419002955e3c0b3d10357960b2db2eacbbbfb40af943dc9cfa23b6e55501872543b953be67eac0ba884d1261
+DIST tlf-1.2.0.tar.gz 509534 SHA256 b0e42e14ae877b5a7693de2afef16d61fa9807e2fb0aa682e8253e7753f81172 SHA512 88f7b5cdd0169f0353a0722919d532beb823d2580c5b7f9e0978f810d73399fc0e49998d3a3cae225e7a2d4393de4c14f4d1b17506911e0e540a37f333da3fbb WHIRLPOOL b9b00873c0bc993aa77f2a487098bd044d64beda0e6ae056bb47ecff5cd0e280d992295319a1480206b129976017495f32ab5eac8465e3abc7fe1d4588bd9801
+DIST tlf-1.2.1.tar.gz 511959 SHA256 a7969aa56bc705db75d8deca92517485f6366169800fa7eaec5bfb51455abfac SHA512 f27d8e4c8643335ec3c6f96179ca6ac733b72fbdb544560947d840f176711aba4525d86a6e0d119c8a96303af6ccd423815151ef6c428240aca4a6714d921ef1 WHIRLPOOL 263643a9d3bf75def89af5fb2878fe105cf9c212cc0810840982a9f566af84242e6dd38389d59667d4635c1bfeb13366dcc88c1ed1dda2d97ee8882253772bcb
diff --git a/media-radio/tlf/metadata.xml b/media-radio/tlf/metadata.xml
new file mode 100644
index 000000000000..835c76cab148
--- /dev/null
+++ b/media-radio/tlf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-radio/tlf/tlf-1.1.5.ebuild b/media-radio/tlf/tlf-1.1.5.ebuild
new file mode 100644
index 000000000000..cdf10cdca5cd
--- /dev/null
+++ b/media-radio/tlf/tlf-1.1.5.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit flag-o-matic multilib
+
+DESCRIPTION="Console-mode amateur radio contest logger"
+HOMEPAGE="http://home.iae.nl/users/reinc/TLF-0.2.html"
+SRC_URI="mirror://github/Tlf/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses
+ dev-libs/glib:2
+ media-libs/hamlib
+ media-sound/sox"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ append-ldflags -L/usr/$(get_libdir)/hamlib
+ econf --docdir=/usr/share/doc/${PF} --enable-hamlib
+}
diff --git a/media-radio/tlf/tlf-1.1.6.ebuild b/media-radio/tlf/tlf-1.1.6.ebuild
new file mode 100644
index 000000000000..4d672974bd95
--- /dev/null
+++ b/media-radio/tlf/tlf-1.1.6.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit flag-o-matic multilib
+
+DESCRIPTION="Console-mode amateur radio contest logger"
+HOMEPAGE="http://home.iae.nl/users/reinc/TLF-0.2.html"
+SRC_URI="http://www.hs-mittweida.de/tb/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses
+ dev-libs/glib:2
+ media-libs/hamlib
+ media-sound/sox"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ append-ldflags -L/usr/$(get_libdir)/hamlib
+ econf --docdir=/usr/share/doc/${PF} --enable-hamlib
+}
diff --git a/media-radio/tlf/tlf-1.2.0.ebuild b/media-radio/tlf/tlf-1.2.0.ebuild
new file mode 100644
index 000000000000..429836026e67
--- /dev/null
+++ b/media-radio/tlf/tlf-1.2.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit flag-o-matic multilib
+
+DESCRIPTION="Console-mode amateur radio contest logger"
+HOMEPAGE="http://home.iae.nl/users/reinc/TLF-0.2.html"
+SRC_URI="http://www.hs-mittweida.de/tb/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses
+ dev-libs/glib:2
+ media-libs/hamlib
+ media-sound/sox"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ append-ldflags -L/usr/$(get_libdir)/hamlib
+ econf --docdir=/usr/share/doc/${PF} --enable-hamlib
+}
diff --git a/media-radio/tlf/tlf-1.2.1.ebuild b/media-radio/tlf/tlf-1.2.1.ebuild
new file mode 100644
index 000000000000..429836026e67
--- /dev/null
+++ b/media-radio/tlf/tlf-1.2.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit flag-o-matic multilib
+
+DESCRIPTION="Console-mode amateur radio contest logger"
+HOMEPAGE="http://home.iae.nl/users/reinc/TLF-0.2.html"
+SRC_URI="http://www.hs-mittweida.de/tb/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses
+ dev-libs/glib:2
+ media-libs/hamlib
+ media-sound/sox"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ append-ldflags -L/usr/$(get_libdir)/hamlib
+ econf --docdir=/usr/share/doc/${PF} --enable-hamlib
+}
diff --git a/media-radio/tucnak2/Manifest b/media-radio/tucnak2/Manifest
new file mode 100644
index 000000000000..cd13936f0406
--- /dev/null
+++ b/media-radio/tucnak2/Manifest
@@ -0,0 +1 @@
+DIST tucnak2-2.48.tar.gz 2985018 SHA256 6399ea57d782dafdc68188490ad003b256fe7ed2b02385d1b3882fd9df294c97 SHA512 e2803fb492ff7bab0fd698587de1a92805be8d7cb3935ac8ad7119ada8981399add8bf30842ba1155aaad6a5cd9b48300c16d2c38e66516188fb2e81f8f08f20 WHIRLPOOL 3a763f768477ae0068ce71d13a151cf566b77ec122f0d8b7b9df82cbde659aaf37ed676ea7c35f26e263974d6d8dc5dd645ccc3dca92934c97b2b80fab896fe0
diff --git a/media-radio/tucnak2/files/tucnak2-2.42-appname.diff b/media-radio/tucnak2/files/tucnak2-2.42-appname.diff
new file mode 100644
index 000000000000..3d832ef78ab8
--- /dev/null
+++ b/media-radio/tucnak2/files/tucnak2-2.42-appname.diff
@@ -0,0 +1,23 @@
+
+--- src/Makefile.am.orig 2011-05-12 17:51:43.000000000 +0200
++++ src/Makefile.am 2011-05-12 17:52:01.000000000 +0200
+@@ -1,9 +1,9 @@
+ datarootdir = @datarootdir@
+
+ #bin_PROGRAMS = tucnak soundwrapper stucnak
+-bin_PROGRAMS = tucnak soundwrapper
++bin_PROGRAMS = tucnak2 soundwrapper
+
+-tucnak_SOURCES = adif.c alsa.c bfu.c cabrillo.c charsets.c \
++tucnak2_SOURCES = adif.c alsa.c bfu.c cabrillo.c charsets.c \
+ chart.c codepage.h codepage.inc \
+ control.c cor.c cor.h cordata.c cordata.h cordata.inc \
+ cwdaemon.c cwdb.c cwwindow.c davac4.c dsp.c dwdb.c dxc.c ebw.c edi.c \
+@@ -24,7 +24,7 @@
+ ttys.c txts.c txts.h txts.inc uni_7b.inc \
+ win32.c winkey.c wiki.c wizz.c zstring.c
+
+-tucnak_LDADD = @TUCNAK_LDADD@
++tucnak2_LDADD = @TUCNAK_LDADD@
+
+ soundwrapper_SOURCES = soundwrapper.c
diff --git a/media-radio/tucnak2/files/tucnak2-2.48-doc.diff b/media-radio/tucnak2/files/tucnak2-2.48-doc.diff
new file mode 100644
index 000000000000..efac0b22d189
--- /dev/null
+++ b/media-radio/tucnak2/files/tucnak2-2.48-doc.diff
@@ -0,0 +1,19 @@
+--- Makefile.am.orig 2011-02-25 18:29:32.000000000 +0100
++++ Makefile.am 2011-02-25 18:29:52.000000000 +0100
+@@ -1,15 +1,11 @@
+ datarootdir = @datarootdir@
+
+-SUBDIRS=data debian.unofficial doc intl pkg share src win32
++SUBDIRS=data intl pkg share src win32
+
+ MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in stamp-h.in
+
+ EXTRA_DIST = COPYING INSTALL leaks rebuild eee.sh
+
+-docsdir = $(datadir)/tucnak2/doc
+-
+-docs_DATA = AUTHORS ChangeLog TODO
+-
+ stamp = `date +%Y%m%d_%H%M%S`
+
+ distd: dist
diff --git a/media-radio/tucnak2/files/tucnak2-2.48-hamlib.diff b/media-radio/tucnak2/files/tucnak2-2.48-hamlib.diff
new file mode 100644
index 000000000000..f0d573837a77
--- /dev/null
+++ b/media-radio/tucnak2/files/tucnak2-2.48-hamlib.diff
@@ -0,0 +1,35 @@
+# Fix forgotten #ifdef if hamlib not available
+--- src/rotar.c.orig 2012-03-13 14:35:34.000000000 +0100
++++ src/rotar.c 2012-06-04 17:26:54.000000000 +0200
+@@ -20,12 +20,13 @@
+
+ gpointer rot_hamlib_main(gpointer xxx);
+
++#ifdef HAVE_HAMLIB
+ static int rot_print_model_list(const struct rot_caps *caps, void *data)
+ {
+ log_addf("%-6d %-14s %-20s %s\n", caps->rot_model, caps->mfg_name, caps->model_name, caps->version);
+ return 1; /* !=0, we want them all ! */
+ }
+-
++#endif
+
+ struct rotar *init_rotar(struct config_rotar *crot, int rotchar){
+ struct rotar *rot;
+@@ -117,13 +118,15 @@
+ }
+
+ void free_rotar(struct rotar *rot){
+- if (rot->hl_thread){
++#ifdef HAVE_HAMLIB
++ if (rot->hl_thread){
+ rot->hl_thread_break = 1;
+ dbg("join hamlib rotar...\n");
+ g_thread_join(rot->hl_thread);
+ dbg("done\n");
+ rot->hl_thread=0;
+ }
++#endif
+ g_free(rot->desc);
+ g_free(rot->netid);
+ g_free(rot->rem_rotstr);
diff --git a/media-radio/tucnak2/metadata.xml b/media-radio/tucnak2/metadata.xml
new file mode 100644
index 000000000000..762649e56d69
--- /dev/null
+++ b/media-radio/tucnak2/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <use>
+ <flag name='ftdi'>Enable support for FTDI USB chips</flag>
+ <flag name='hamlib'>Enables support by the Hamlib amateur radio
+ rig control library to get/set frequency and mode of the ham radio</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-radio/tucnak2/tucnak2-2.48.ebuild b/media-radio/tucnak2/tucnak2-2.48.ebuild
new file mode 100644
index 000000000000..6735d795b003
--- /dev/null
+++ b/media-radio/tucnak2/tucnak2-2.48.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils autotools
+
+DESCRIPTION="Amateur Radio VHF Contest Logbook"
+HOMEPAGE="http://tucnak.nagano.cz"
+SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="alsa fftw ftdi gpm hamlib suid"
+
+RDEPEND=">=dev-libs/glib-2
+ media-libs/libsndfile
+ >=media-libs/libsdl-1.2
+ alsa? ( media-libs/alsa-lib )
+ fftw? ( sci-libs/fftw:3.0 )
+ ftdi? ( dev-embedded/libftdi )
+ gpm? ( sys-libs/gpm )
+ hamlib? ( media-libs/hamlib )
+ >=media-libs/libpng-1.2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ # fix destop file bug 483730
+ sed -i -e "s/HamRadio/HamRadio;/" share/applications/tucnak2.desktop || die
+ epatch "${FILESDIR}/${P}-doc.diff" \
+ "${FILESDIR}/${PN}-2.42-appname.diff" \
+ "${FILESDIR}/${P}-hamlib.diff"
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_with alsa) $(use_with ftdi) \
+ $(use_with gpm) $(use_with hamlib) \
+ $(use_with fftw fftw3) --with-sdl
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ doman debian.unofficial/tucnak2.1
+ dodoc AUTHORS ChangeLog TODO doc/NAVOD.pdf
+ if use suid ; then
+ fperms 4711 /usr/bin/soundwrapper
+ fi
+}
+
+pkg_postinst() {
+ elog "In order to use sound with tucnak2 add yourself to the 'audio' group"
+ elog "and to key your rig via the parport add yourself to the 'lp' group"
+ elog ""
+ elog "tucnak2 can be used with the following additional packages:"
+ elog " media-radio/cwdaemon : Morse output via code cwdaemon"
+ elog " (No need to recompile)"
+ if use suid ; then
+ ewarn "You have choosen to install the little helper program 'soundwrapper'"
+ ewarn "setuid by setting USE=suid. That helper is only needed if you"
+ ewarn "want to use morse sidetone output via the PC speaker."
+ ewarn ""
+ ewarn "While the helper should be safe by design be aware that setting"
+ ewarn "any program setuid is a security risk."
+ fi
+}
diff --git a/media-radio/unixcw/Manifest b/media-radio/unixcw/Manifest
new file mode 100644
index 000000000000..aec6a819e72c
--- /dev/null
+++ b/media-radio/unixcw/Manifest
@@ -0,0 +1,3 @@
+DIST unixcw-3.4.0.tar.gz 700095 SHA256 11a678ec616f8b22d319c988365750bb7e0ee7570c7dcdbbd37669d6123ea972 SHA512 9271c47c77d2240387c3d305d952f09eb1ecdb6f9191a16e03f00d2921d16e229b4ee50f05d540fd3ed3da4040c134e1e8ac414ac81d983200c630c55f4f372f WHIRLPOOL c41b132e164792b43faf1bc24cf8cc034f62c8b18cd252b42cfde348a004f0b028e91a589c4e0f6a060ebd4c7bb901b1a406bff175f0cccdb3ac9286a684736a
+DIST unixcw-3.4.1.tar.gz 692181 SHA256 9c0bb1fc4a2a18918fe8b73ddc72df8806181fa490e0b2ef5ea116b934ac0727 SHA512 0dd8717ef921019adfb94812f2c9ec3f0be88b94910eb3548e71383523a1f5de13f1ed60be98ab1bcd568ccabc3dfff38100f1b97fbf54b0b5ef8469dfa013e7 WHIRLPOOL 333df1c05442e5152a391a52d1af0c9fffa1e5bba65b203485df3bb78f3bafa40df43cb1b588213b5685e85d791478ce00beda131559368bed201ced67999982
+DIST unixcw-3.4.2.tar.gz 730461 SHA256 ace7d16cfc8f84ffe041de6774baa0727ed0230657cf8a93cb4addf1cb4e8b2a SHA512 118e4f7fcca78713e5be5aa2faccec4e26979e95dcc300bf259534bb417eee7b21591ecb778467591b1a3b61c9ede18f229f88cd1bba2d6bc54f4d410096e0c9 WHIRLPOOL e8959ccb6eca32f4d468dbdb1add61dad6be30b453369385a1c857309ea89d052e4ef5577c4e17f101a79ee762f10ead3ec1fae72a394455ac473c4758fe0e3c
diff --git a/media-radio/unixcw/metadata.xml b/media-radio/unixcw/metadata.xml
new file mode 100644
index 000000000000..3ba8533a0e53
--- /dev/null
+++ b/media-radio/unixcw/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <longdescription>unixcw is package of libraries and programs that fit
+ together to form a morse code tutor program. It provides the general
+ purpose 'libcw' library with functions to generate Morse code
+ characters and a frontend program 'cw' to convert text strings to
+ morse code output via soundcard or console speaker. It further provides
+ a set of Morse Code tutor programs (see USE flag description).
+ </longdescription>
+ <use>
+ <flag name="ncurses">Enables building the curses based morse code tutor
+ program 'cwcp'.</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">unixcw</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-radio/unixcw/unixcw-3.4.0.ebuild b/media-radio/unixcw/unixcw-3.4.0.ebuild
new file mode 100644
index 000000000000..47ca4d636860
--- /dev/null
+++ b/media-radio/unixcw/unixcw-3.4.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib
+
+DESCRIPTION="A package of programs that fit together to form a morse code tutor program"
+HOMEPAGE="http://unixcw.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc x86"
+IUSE="alsa ncurses pulseaudio suid qt4"
+
+RDEPEND="ncurses? ( sys-libs/ncurses )
+ qt4? ( dev-qt/qtgui:4[qt3support] )
+ alsa? ( media-libs/alsa-lib )
+ pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/libtool
+ !<=app-misc/cw-1.0.16-r1"
+
+src_prepare() {
+ append-cflags -std=gnu99
+}
+
+src_configure() {
+ econf --libdir=/usr/$(get_libdir) \
+ $(use_enable pulseaudio ) \
+ $(use_enable alsa ) \
+ $(use_enable ncurses cwcp ) \
+ $(use_enable qt4 xcwcp )
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ prune_libtool_files
+ dodoc ChangeLog NEWS README
+ if ! use suid ; then
+ fperms 711 /usr/bin/cw
+ if use ncurses ; then
+ fperms 711 /usr/bin/cwcp
+ fi
+ if use qt4 ; then
+ fperms 711 /usr/bin/xcwcp
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use suid ; then
+ ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid"
+ ewarn "by setting USE=suid."
+ ewarn "Be aware that this is a security risk and not recommended."
+ ewarn ""
+ ewarn "These files do only need root access if you want to use the"
+ ewarn "PC speaker for morse sidetone output. You can alternativly"
+ ewarn "drop USE=suid and use sudo."
+ else
+ elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if"
+ elog "you want to use the PC speaker for morse sidetone output."
+ elog "You can call the programs via sudo for that (see 'man sudo')."
+ fi
+}
diff --git a/media-radio/unixcw/unixcw-3.4.1.ebuild b/media-radio/unixcw/unixcw-3.4.1.ebuild
new file mode 100644
index 000000000000..47ca4d636860
--- /dev/null
+++ b/media-radio/unixcw/unixcw-3.4.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib
+
+DESCRIPTION="A package of programs that fit together to form a morse code tutor program"
+HOMEPAGE="http://unixcw.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc x86"
+IUSE="alsa ncurses pulseaudio suid qt4"
+
+RDEPEND="ncurses? ( sys-libs/ncurses )
+ qt4? ( dev-qt/qtgui:4[qt3support] )
+ alsa? ( media-libs/alsa-lib )
+ pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/libtool
+ !<=app-misc/cw-1.0.16-r1"
+
+src_prepare() {
+ append-cflags -std=gnu99
+}
+
+src_configure() {
+ econf --libdir=/usr/$(get_libdir) \
+ $(use_enable pulseaudio ) \
+ $(use_enable alsa ) \
+ $(use_enable ncurses cwcp ) \
+ $(use_enable qt4 xcwcp )
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ prune_libtool_files
+ dodoc ChangeLog NEWS README
+ if ! use suid ; then
+ fperms 711 /usr/bin/cw
+ if use ncurses ; then
+ fperms 711 /usr/bin/cwcp
+ fi
+ if use qt4 ; then
+ fperms 711 /usr/bin/xcwcp
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use suid ; then
+ ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid"
+ ewarn "by setting USE=suid."
+ ewarn "Be aware that this is a security risk and not recommended."
+ ewarn ""
+ ewarn "These files do only need root access if you want to use the"
+ ewarn "PC speaker for morse sidetone output. You can alternativly"
+ ewarn "drop USE=suid and use sudo."
+ else
+ elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if"
+ elog "you want to use the PC speaker for morse sidetone output."
+ elog "You can call the programs via sudo for that (see 'man sudo')."
+ fi
+}
diff --git a/media-radio/unixcw/unixcw-3.4.2.ebuild b/media-radio/unixcw/unixcw-3.4.2.ebuild
new file mode 100644
index 000000000000..9bc6dede33a2
--- /dev/null
+++ b/media-radio/unixcw/unixcw-3.4.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib
+
+DESCRIPTION="A package of programs that fit together to form a morse code tutor program"
+HOMEPAGE="http://unixcw.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="alsa ncurses pulseaudio suid qt4"
+
+RDEPEND="ncurses? ( sys-libs/ncurses )
+ qt4? ( dev-qt/qtgui:4[qt3support] )
+ alsa? ( media-libs/alsa-lib )
+ pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/libtool
+ !<=app-misc/cw-1.0.16-r1"
+
+src_prepare() {
+ append-cflags -std=gnu99
+}
+
+src_configure() {
+ econf --libdir=/usr/$(get_libdir) \
+ $(use_enable pulseaudio ) \
+ $(use_enable alsa ) \
+ $(use_enable ncurses cwcp ) \
+ $(use_enable qt4 xcwcp )
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ prune_libtool_files
+ dodoc ChangeLog NEWS README
+ if ! use suid ; then
+ fperms 711 /usr/bin/cw
+ if use ncurses ; then
+ fperms 711 /usr/bin/cwcp
+ fi
+ if use qt4 ; then
+ fperms 711 /usr/bin/xcwcp
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use suid ; then
+ ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid"
+ ewarn "by setting USE=suid."
+ ewarn "Be aware that this is a security risk and not recommended."
+ ewarn ""
+ ewarn "These files do only need root access if you want to use the"
+ ewarn "PC speaker for morse sidetone output. You can alternativly"
+ ewarn "drop USE=suid and use sudo."
+ else
+ elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if"
+ elog "you want to use the PC speaker for morse sidetone output."
+ elog "You can call the programs via sudo for that (see 'man sudo')."
+ fi
+}
diff --git a/media-radio/wspr/Manifest b/media-radio/wspr/Manifest
new file mode 100644
index 000000000000..293c7e9242df
--- /dev/null
+++ b/media-radio/wspr/Manifest
@@ -0,0 +1,2 @@
+DIST wspr-2.00.r1714.tgz 2096056 SHA256 6a0e13f354d4e228337ee550851f36027281e268385961505a6757fda1ffc423 SHA512 221ca3c4ac433d5fb292830e183ef4ce44a9b0b31c8c1446faf30c1c2d6fe88cb471434c01126450843af49249e33bf6eccf1cbf839e6c5a09a3206c64a01d78 WHIRLPOOL c46fa1232c16ba42f8a9cf5fe1821291c339a776f2c1afe9ca4933574c026607bc789c31a496581f06d746297d9dfcc4252b79f52b1b38f8292134b445ab353b
+DIST wspr-3.01.r2792.tgz 2145037 SHA256 a57218432b6086d823749ab7114c5e3f91066dd6a0969e5dd7b81ec770f5b18c SHA512 0aad8bf518b217fcf14fd0fd5ec0f8f3833c2768eff9eec20dee213dfd057dc283d81290a042f464c729e03502d3b8e1c2b22d5d1c2932eccc13b4ef1eaf0698 WHIRLPOOL bbca4146a925dbf5946f5d50ce7eb662a1d9a7a86bcc0433dc3fc01292e8affe944ffb36e7d2af8e2ac2d7e3a304d439324e2da9d6237070063c5a5c6d894a07
diff --git a/media-radio/wspr/files/wspr-2.00-PIL.patch b/media-radio/wspr/files/wspr-2.00-PIL.patch
new file mode 100644
index 000000000000..69bb853396ac
--- /dev/null
+++ b/media-radio/wspr/files/wspr-2.00-PIL.patch
@@ -0,0 +1,13 @@
+--- wspr.py.orig 2013-06-02 18:25:02.000000000 +0200
++++ wspr.py 2013-06-02 18:25:51.000000000 +0200
+@@ -15,7 +15,9 @@
+ from Numeric import zeros
+ import array
+ import dircache
+-import Image, ImageTk, ImageDraw
++from PIL import Image
++from PIL import ImageTk
++from PIL import ImageDraw
+ from WsprMod.palettes import colormapblue, colormapgray0, colormapHot, \
+ colormapAFMHot, colormapgray1, colormapLinrad, Colormap2Palette
+ from types import *
diff --git a/media-radio/wspr/files/wspr-2.00-libdir.patch b/media-radio/wspr/files/wspr-2.00-libdir.patch
new file mode 100644
index 000000000000..e33d7b90871f
--- /dev/null
+++ b/media-radio/wspr/files/wspr-2.00-libdir.patch
@@ -0,0 +1,53 @@
+# Upstream confused LIBDIRS with LDFLAGS in Makefile. f2py wants only
+# LIBDIRS as parameter and takes LDFLAGS only from environment.
+--- Makefile.in.orig 2013-01-31 13:17:23.000000000 +0000
++++ Makefile.in 2013-01-31 13:19:19.000000000 +0000
+@@ -3,7 +3,7 @@
+ INSTALL= install
+ CC ?= @CC@
+ FFLAGS = @FFLAGS@
+-LDFLAGS = @LDFLAGS@
++LIBDIRS = @LIBDIRS@
+ LIBS = @LIBS@ -lfftw3f
+ CPPFLAGS = @CPPFLAGS@
+ CFLAGS = @CFLAGS@
+@@ -39,7 +39,7 @@
+ FCV=@FCV@
+ FC_LIB_PATH += @FC_LIB_PATH@
+
+-LDFLAGS += -L${FC_LIB_PATH}
++LIBDIRS += -L${FC_LIB_PATH}
+
+ PYTHON ?= @PYTHON@
+ RM ?= @RM@
+@@ -78,7 +78,7 @@
+ --f77flags="${FFLAGS}" --f90flags="${FFLAGS}" \
+ --fcompiler=${FCV} --f77exec=${FC} --f90exec=${FC} \
+ --opt="-fbounds-check ${FFLAGS}" \
+- ${CPPFLAGS} ${LDFLAGS} ${LIBS} \
++ ${CPPFLAGS} ${LIBDIRS} ${LIBS} \
+ only: $(F2PYONLY) : \
+ $(SRCS2F90) $(SRCS2F77) $(SRCS2C)
+ ${MKDIR} -p build/lib/WsprMod
+# drop hardcoded libdir path,
+# switch LDFLAGS naming to LIBDIRS (see above comment).
+--- configure.ac.orig 2013-01-31 13:19:01.000000000 +0000
++++ configure.ac 2013-01-31 13:19:19.000000000 +0000
+@@ -22,7 +22,7 @@
+
+ dnl Lets guess at some likely places for extra libs/includes XXX -db
+ CPPFLAGS="-I/usr/local/include ${CPPFLAGS}"
+-LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
++LIBDIRS="-L/usr/local/lib ${LIBDIRS}"
+ LIBS=" -lpthread ${LIBS}"
+ FFLAGS_GFORTRAN="${FFLAGS} -fno-range-check -ffixed-line-length-none\
+ -Wall -fbounds-check -fno-second-underscore -fPIC"
+@@ -160,7 +160,7 @@
+ dnl
+ AC_SUBST(PREFIX, "${prefix}")
+ AC_SUBST(CPPFLAGS, "${CPPFLAGS}")
+-AC_SUBST(LDFLAGS, "${LDFLAGS}")
++AC_SUBST(LIBDIRS, "${LIBDIRS}")
+ AC_SUBST(LIBS, "${LIBS}")
+ AC_SUBST(CFLAGS)
+ AC_SUBST(FFLAGS)
diff --git a/media-radio/wspr/files/wspr-2.00-script.patch b/media-radio/wspr/files/wspr-2.00-script.patch
new file mode 100644
index 000000000000..e75c11782786
--- /dev/null
+++ b/media-radio/wspr/files/wspr-2.00-script.patch
@@ -0,0 +1,25 @@
+# make python code into a script
+# and fix shell script
+--- wspr.py.orig 2013-02-01 13:24:30.000000000 +0000
++++ wspr.py 2013-02-01 13:23:30.000000000 +0000
+@@ -1,3 +1,4 @@
++#!/usr/bin/python
+ #------------------------------------------------------------------- WSPR
+ # $Date: 2013/02/07 14:35:21 $ $Revision: 1.1 $
+ #
+--- wspr.orig 2013-02-02 08:10:17.000000000 +0000
++++ wspr 2013-02-02 08:10:56.000000000 +0000
+@@ -1,12 +1,7 @@
+ #!/bin/sh
+-if [ -e /usr/local/bin/python ] ; then
+- LOCALBASE=/usr/local/
+-else
+- LOCALBASE=/usr/
+-fi
+ if [ ! -e ~/.wspr ] ; then
+ mkdir ~/.wspr
+ mkdir ~/.wspr/save
+ fi
+ cd ~/.wspr
+-python ${LOCALBASE}/bin/wspr.py
++/usr/bin/wspr.py
diff --git a/media-radio/wspr/files/wspr-2.00-verbose.patch b/media-radio/wspr/files/wspr-2.00-verbose.patch
new file mode 100644
index 000000000000..9036e0d868a4
--- /dev/null
+++ b/media-radio/wspr/files/wspr-2.00-verbose.patch
@@ -0,0 +1,12 @@
+# make f2py verbose
+--- Makefile.in.orig 2013-02-07 12:22:41.000000000 +0000
++++ Makefile.in 2013-02-07 12:23:11.000000000 +0000
+@@ -74,7 +74,7 @@
+ OBJS2C = ${SRCS2C:.c=.o}
+
+ WsprMod/w.so: ${OBJS2C} $(SRCS2F90) $(SRCS2F77) acom1.f90
+- ${F2PY} -c --quiet --noopt --debug -m w \
++ ${F2PY} -c --noopt --debug -m w \
+ --f77flags="${FFLAGS}" --f90flags="${FFLAGS}" \
+ --fcompiler=${FCV} --f77exec=${FC} --f90exec=${FC} \
+ --opt="-fbounds-check ${FFLAGS}" \
diff --git a/media-radio/wspr/files/wspr-3.01-PIL.patch b/media-radio/wspr/files/wspr-3.01-PIL.patch
new file mode 100644
index 000000000000..ce4689195147
--- /dev/null
+++ b/media-radio/wspr/files/wspr-3.01-PIL.patch
@@ -0,0 +1,11 @@
+--- wspr.py.orig 2014-06-23 21:25:51.000000000 +0200
++++ wspr.py 2014-06-23 21:26:03.000000000 +0200
+@@ -35,7 +35,7 @@
+ from Numeric import zeros
+ import array
+ import dircache
+-import Image, ImageTk, ImageDraw
++from PIL import Image, ImageTk, ImageDraw
+ from WsprMod.palettes import colormapblue, colormapgray0, colormapHot, \
+ colormapAFMHot, colormapgray1, colormapLinrad, Colormap2Palette
+ from types import *
diff --git a/media-radio/wspr/files/wspr-3.01-numpy.patch b/media-radio/wspr/files/wspr-3.01-numpy.patch
new file mode 100644
index 000000000000..2c9174dff58a
--- /dev/null
+++ b/media-radio/wspr/files/wspr-3.01-numpy.patch
@@ -0,0 +1,23 @@
+# Numpy-1.9 dropped oldnumeric and numarray
+--- WsprMod/specjt.py.orig 2015-05-18 15:49:37.000000000 +0200
++++ WsprMod/specjt.py 2015-05-18 15:49:48.000000000 +0200
+@@ -12,7 +12,7 @@
+ import w
+
+ try:
+- from numpy.oldnumeric import zeros, multiarray
++ from numpy import zeros, multiarray
+ except:
+ from Numeric import zeros, multiarray
+ import Image, ImageTk, ImageDraw
+--- wspr.py.orig 2015-05-18 15:47:13.000000000 +0200
++++ wspr.py 2015-05-18 15:47:38.000000000 +0200
+@@ -31,7 +31,7 @@
+ from WsprMod import palettes
+ from math import log10
+ try:
+- from numpy.oldnumeric import zeros
++ from numpy import zeros
+ except:
+ from Numeric import zeros
+ import array
diff --git a/media-radio/wspr/files/wspr-3.01-script.patch b/media-radio/wspr/files/wspr-3.01-script.patch
new file mode 100644
index 000000000000..f64a11b68a64
--- /dev/null
+++ b/media-radio/wspr/files/wspr-3.01-script.patch
@@ -0,0 +1,19 @@
+--- wspr.py.orig 2014-06-24 19:13:55.000000000 +0200
++++ wspr.py 2014-06-24 19:14:43.000000000 +0200
+@@ -1,3 +1,4 @@
++#!/usr/bin/python
+ #-------------------------------------------------------------------- WSPR
+ # $Date: 2014/06/26 09:15:53 $ $Revision: 1.1 $
+ #
+--- wspr.orig 2014-06-24 18:57:00.000000000 +0200
++++ wspr 2014-06-24 19:09:50.000000000 +0200
+@@ -1,2 +1,7 @@
+-LD_LIBRARY_PATH=./lib
+-python -O wspr.py
++#!/bin/sh
++if [ ! -e ~/.wspr ] ; then
++ mkdir ~/.wspr
++ mkdir ~/.wspr/save
++fi
++cd ~/.wspr
++/usr/bin/wspr.py
diff --git a/media-radio/wspr/files/wspr-3.01-verbose.patch b/media-radio/wspr/files/wspr-3.01-verbose.patch
new file mode 100644
index 000000000000..b697cfe444dd
--- /dev/null
+++ b/media-radio/wspr/files/wspr-3.01-verbose.patch
@@ -0,0 +1,12 @@
+# make f2py verbose
+--- Makefile.in.orig 2014-06-23 21:14:51.000000000 +0200
++++ Makefile.in 2014-06-23 21:15:11.000000000 +0200
+@@ -95,7 +95,7 @@
+ OBJS2C = ${SRCS2C:.c=.o}
+
+ WsprMod/w.so: ${OBJS2C} $(SRCS2C) $(SRCS2F90) $(SRCS2F77) acom1.f90
+- ${F2PY} -c --quiet --noopt --debug -m w \
++ ${F2PY} -c --noopt --debug -m w \
+ --f77flags="${FFLAGS}" --f90flags="${FFLAGS}" \
+ --fcompiler=${FCV} --f77exec=${FC} --f90exec=${FC} \
+ --opt="-fbounds-check ${FFLAGS}" \
diff --git a/media-radio/wspr/metadata.xml b/media-radio/wspr/metadata.xml
new file mode 100644
index 000000000000..723553c89120
--- /dev/null
+++ b/media-radio/wspr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-radio/wspr/wspr-2.00-r2.ebuild b/media-radio/wspr/wspr-2.00-r2.ebuild
new file mode 100644
index 000000000000..a1580669162a
--- /dev/null
+++ b/media-radio/wspr/wspr-2.00-r2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="tk"
+
+inherit autotools fortran-2 distutils-r1 flag-o-matic multilib toolchain-funcs
+
+MY_P=${P}.r1714
+
+DESCRIPTION="Weak Signal Propagation Reporter"
+HOMEPAGE="http://www.physics.princeton.edu/pulsar/K1JT/wspr.html"
+SRC_URI="http://www.physics.princeton.edu/pulsar/K1JT/${MY_P}.tgz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ virtual/python-imaging[tk,${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ virtual/pmw[${PYTHON_USEDEP}]
+ sci-libs/fftw:3.0
+ media-libs/hamlib
+ media-libs/portaudio
+ media-libs/libsamplerate"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( BUGS WSPR_Announcement.TXT WSPR_Instructions.TXT WSPR_Quick_Start.TXT )
+
+pkg_setup() {
+ fortran-2_pkg_setup
+}
+
+get_fcomp() {
+ case $(tc-getFC) in
+ *gfortran* ) FCOMP="gfortran" ;;
+ * ) FCOMP=$(tc-getFC) ;;
+ esac
+}
+
+python_prepare_all() {
+ tc-export FC
+ get_fcomp
+ export FC="${FCOMP}"
+
+ local PATCHES=(
+ "${FILESDIR}"/${P}-libdir.patch
+ "${FILESDIR}"/${P}-verbose.patch
+ "${FILESDIR}"/${P}-script.patch
+ "${FILESDIR}"/${P}-PIL.patch
+ )
+
+ distutils-r1_python_prepare_all
+
+ sed -i -e "s#/usr/local/lib#/usr/$(get_libdir)#" configure.ac || die
+ sed -i -e '/makedirs/d' setup.py || die
+ eautoreconf
+}
+
+# Note: very hacky build system.
+# autoconf which doesn't really need Python
+# then custom Makefile which compiles the Python module with f2py
+# and finally hacked setup.py which relies on w.so created by make
+
+src_configure() {
+ # configure the build of the fortran module
+ econf --with-portaudio-lib-dir=/usr/$(get_libdir)
+
+ # then fork the sources
+ python_copy_sources
+ DISTUTILS_IN_SOURCE_BUILD=1
+}
+
+python_compile() {
+ # -shared is neded by f2py but cannot be set earlier as configure does
+ # not like it
+ local LDFLAGS=${LDFLAGS}
+ append-ldflags -shared
+ emake
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ dobin wspr
+ insinto /usr/share/${PN}
+ doins hamlib_rig_numbers
+}
diff --git a/media-radio/wspr/wspr-3.01-r1.ebuild b/media-radio/wspr/wspr-3.01-r1.ebuild
new file mode 100644
index 000000000000..69dfce23bd4b
--- /dev/null
+++ b/media-radio/wspr/wspr-3.01-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="tk"
+
+inherit autotools fortran-2 distutils-r1 flag-o-matic multilib toolchain-funcs
+
+MY_P=${P}.r2792
+
+DESCRIPTION="Weak Signal Propagation Reporter"
+HOMEPAGE="http://www.physics.princeton.edu/pulsar/K1JT/wspr.html"
+SRC_URI="http://dev.gentoo.org/~tomjbe/distfiles/${MY_P}.tgz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ virtual/python-imaging[tk,${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.9.0[${PYTHON_USEDEP}]
+ virtual/pmw[${PYTHON_USEDEP}]
+ sci-libs/fftw:3.0
+ media-libs/hamlib
+ media-libs/portaudio
+ media-libs/libsamplerate"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( BUGS WSPR_Announcement.TXT WSPR0_Instructions.TXT WSPR_Quick_Start.TXT )
+
+pkg_setup() {
+ fortran-2_pkg_setup
+}
+
+get_fcomp() {
+ case $(tc-getFC) in
+ *gfortran* ) FCOMP="gfortran" ;;
+ * ) FCOMP=$(tc-getFC) ;;
+ esac
+}
+
+python_prepare_all() {
+ tc-export FC
+ get_fcomp
+ export FC="${FCOMP}"
+
+ local PATCHES=(
+ "${FILESDIR}"/${PN}-2.00-libdir.patch
+ "${FILESDIR}"/${P}-verbose.patch
+ "${FILESDIR}"/${PN}-3.01-script.patch
+ "${FILESDIR}"/${P}-PIL.patch
+ # adapt to numpy-1.9 - bug #544504
+ "${FILESDIR}"/${P}-numpy.patch
+ )
+
+ distutils-r1_python_prepare_all
+
+ sed -i -e "s/LDFLAGS} ${LIBS}/LDFLAGS} -fPIC ${LIBS}/" Makefile.in || die
+ sed -i -e "s#/usr/local/lib#/usr/$(get_libdir)#" configure.ac || die
+ sed -i -e '/makedirs/d' setup.py || die
+ eautoreconf
+}
+
+# Note: very hacky build system.
+# autoconf which doesn't really need Python
+# then custom Makefile which compiles the Python module with f2py
+# and finally hacked setup.py which relies on w.so created by make
+
+src_configure() {
+ # configure the build of the fortran module
+ econf --with-portaudio-lib-dir=/usr/$(get_libdir)
+
+ # then fork the sources
+ python_copy_sources
+ DISTUTILS_IN_SOURCE_BUILD=1
+}
+
+python_compile() {
+ # -shared is neded by f2py but cannot be set earlier as configure does
+ # not like it
+ local LDFLAGS=${LDFLAGS}
+ append-ldflags -shared
+ emake -j1
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ dobin wspr
+ insinto /usr/share/${PN}
+ doins hamlib_rig_numbers
+}
diff --git a/media-radio/wspr/wspr-3.01.ebuild b/media-radio/wspr/wspr-3.01.ebuild
new file mode 100644
index 000000000000..7f902badaa34
--- /dev/null
+++ b/media-radio/wspr/wspr-3.01.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="tk"
+
+inherit autotools fortran-2 distutils-r1 flag-o-matic multilib toolchain-funcs
+
+MY_P=${P}.r2792
+
+DESCRIPTION="Weak Signal Propagation Reporter"
+HOMEPAGE="http://www.physics.princeton.edu/pulsar/K1JT/wspr.html"
+SRC_URI="http://dev.gentoo.org/~tomjbe/distfiles/${MY_P}.tgz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ virtual/python-imaging[tk,${PYTHON_USEDEP}]
+ <dev-python/numpy-1.9.0[${PYTHON_USEDEP}]
+ virtual/pmw[${PYTHON_USEDEP}]
+ sci-libs/fftw:3.0
+ media-libs/hamlib
+ media-libs/portaudio
+ media-libs/libsamplerate"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( BUGS WSPR_Announcement.TXT WSPR0_Instructions.TXT WSPR_Quick_Start.TXT )
+
+pkg_setup() {
+ fortran-2_pkg_setup
+}
+
+get_fcomp() {
+ case $(tc-getFC) in
+ *gfortran* ) FCOMP="gfortran" ;;
+ * ) FCOMP=$(tc-getFC) ;;
+ esac
+}
+
+python_prepare_all() {
+ tc-export FC
+ get_fcomp
+ export FC="${FCOMP}"
+
+ local PATCHES=(
+ "${FILESDIR}"/${PN}-2.00-libdir.patch
+ "${FILESDIR}"/${P}-verbose.patch
+ "${FILESDIR}"/${PN}-3.01-script.patch
+ "${FILESDIR}"/${P}-PIL.patch
+ )
+
+ distutils-r1_python_prepare_all
+
+ sed -i -e "s/LDFLAGS} ${LIBS}/LDFLAGS} -fPIC ${LIBS}/" Makefile.in || die
+ sed -i -e "s#/usr/local/lib#/usr/$(get_libdir)#" configure.ac || die
+ sed -i -e '/makedirs/d' setup.py || die
+ eautoreconf
+}
+
+# Note: very hacky build system.
+# autoconf which doesn't really need Python
+# then custom Makefile which compiles the Python module with f2py
+# and finally hacked setup.py which relies on w.so created by make
+
+src_configure() {
+ # configure the build of the fortran module
+ econf --with-portaudio-lib-dir=/usr/$(get_libdir)
+
+ # then fork the sources
+ python_copy_sources
+ DISTUTILS_IN_SOURCE_BUILD=1
+}
+
+python_compile() {
+ # -shared is neded by f2py but cannot be set earlier as configure does
+ # not like it
+ local LDFLAGS=${LDFLAGS}
+ append-ldflags -shared
+ emake -j1
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ dobin wspr
+ insinto /usr/share/${PN}
+ doins hamlib_rig_numbers
+}
diff --git a/media-radio/xastir/Manifest b/media-radio/xastir/Manifest
new file mode 100644
index 000000000000..6458a9553e96
--- /dev/null
+++ b/media-radio/xastir/Manifest
@@ -0,0 +1,2 @@
+DIST xastir-2.0.4.tar.gz 2655250 SHA256 975f1cbe1ee32334e579588dcf2e19bcc607ad7b5f9d0848075f6d283d65af86 SHA512 766124ae717742e93bef24cd4c84946e146c3ba8a61775afada25a1c60f225edf91fc8eb4f59881564b14187e523c98a07d515adea74d73e03e2ab10dbae92b3 WHIRLPOOL 640616e698e2e3cfe2bdd6619ac601017c37d4d18cd1fa3ab5391ade170b6108a845a4fe2860b618a5cd2281e884399874b554c3960e1f5ad6420f016c88260c
+DIST xastir-2.0.6.tar.gz 2662042 SHA256 e46debd3f67ea5c08e2f85f03e26653871a9cdd6d692c8eeee436c3bc8a8dd43 SHA512 422bfd5c243ce2761279908b2294f94598df4e51e8dc9eea1eede12c460934c97392e8d99d40d67d92b4e31fe09806e9c33190e146696a49d968df6562e858f3 WHIRLPOOL 39a097dba585d5bcdcdb880ddb5e530eb118bd1645abf911948ed2c0b562a4b12cf4b453b0295db1f37d00380873440e251466f7b12440cd41f50578ae90f170
diff --git a/media-radio/xastir/files/xastir-2.0.0-dont-filter-flags.diff b/media-radio/xastir/files/xastir-2.0.0-dont-filter-flags.diff
new file mode 100644
index 000000000000..1fbea1d61a57
--- /dev/null
+++ b/media-radio/xastir/files/xastir-2.0.0-dont-filter-flags.diff
@@ -0,0 +1,11 @@
+# Do not filter duplicate CFLAGS (bug 411095)
+--- configure.ac.orig 2012-12-07 15:12:43.000000000 +0100
++++ configure.ac 2012-12-07 15:13:08.000000000 +0100
+@@ -709,7 +709,6 @@
+ # "-llibrary" that needs it.
+ #
+ changequote(,)
+-CFLAGS=`echo "$CFLAGS" | awk '{for(i=1;i<=NF;++i) {if (arg[$i]++ == 0) s = s " " $i} print s}'`
+ CPPFLAGS=`echo "$CPPFLAGS" | awk '{for(i=1;i<=NF;++i) {if (arg[$i]++ == 0) s = s " " $i} print s}'`
+ LDFLAGS=`echo "$LDFLAGS" | awk '{for(i=1;i<=NF;++i) {if (arg[$i]++ == 0) s = s " " $i} print s}'`
+ #LIBS=`echo "$LIBS" | awk '{for(i=1;i<=NF;++i) {if (arg[$i]++ == 0) s = s " " $i} print s}'`
diff --git a/media-radio/xastir/files/xastir-2.0.4-fortify.diff b/media-radio/xastir/files/xastir-2.0.4-fortify.diff
new file mode 100644
index 000000000000..e2c34b007475
--- /dev/null
+++ b/media-radio/xastir/files/xastir-2.0.4-fortify.diff
@@ -0,0 +1,144 @@
+--- src/rac_data.c.orig 2012-09-23 18:19:22.000000000 +0200
++++ src/rac_data.c 2012-11-29 21:00:53.000000000 +0100
+@@ -212,7 +212,8 @@
+ char char_offset[16];
+ char index[32];
+ int found = 0;
+- rac_record racdata;
++ char buffer[sizeof(rac_record)];
++ rac_record *racdata = (rac_record *)buffer;
+ /*char filler[8];*/
+ char amacall_path[MAX_VALUE];
+
+@@ -220,7 +221,7 @@
+
+
+ xastir_snprintf(index, sizeof(index)," ");
+- xastir_snprintf(racdata.callsign, sizeof(racdata.callsign)," ");
++ xastir_snprintf(racdata->callsign, sizeof(racdata->callsign)," ");
+
+ /* ==================================================================== */
+ /* Search thru the index, get the RBA */
+@@ -257,19 +258,19 @@
+ if (callsign[5] == '-')
+ (void)chomp(callsign,5);
+
+- while (!feof(fdb) && strncmp((char *)&racdata, callsign, 6) < 0)
++ while (!feof(fdb) && strncmp(buffer, callsign, 6) < 0)
+
+ //WE7U
+ // Problem here: We're sticking 8 bytes too many into racdata!
+- rc = fgets((char *)&racdata, sizeof(racdata), fdb);
++ rc = fgets(buffer, sizeof(buffer), fdb);
+
+ } else
+ fprintf(stderr,"Search:Could not open RAC data base: %s\n", get_data_base_dir("fcc/AMACALL.LST") );
+
+ /* || (callsign[5] == '-' && strncmp((char *)&racdata,callsign,5) < 0)) */
+- (void)chomp(racdata.callsign, 6);
++ (void)chomp(racdata->callsign, 6);
+
+- if (!strncmp((char *)racdata.callsign, callsign, 6)) {
++ if (!strncmp(racdata->callsign, callsign, 6)) {
+ found = 1;
+
+ // Some of these cause problems on 64-bit processors, so commented
+@@ -293,82 +294,82 @@
+ xastir_snprintf(data->callsign,
+ sizeof(data->callsign),
+ "%s",
+- racdata.callsign);
++ racdata->callsign);
+
+ xastir_snprintf(data->first_name,
+ sizeof(data->first_name),
+ "%s",
+- racdata.first_name);
++ racdata->first_name);
+
+ xastir_snprintf(data->last_name,
+ sizeof(data->last_name),
+ "%s",
+- racdata.last_name);
++ racdata->last_name);
+
+ xastir_snprintf(data->address,
+ sizeof(data->address),
+ "%s",
+- racdata.address);
++ racdata->address);
+
+ xastir_snprintf(data->city,
+ sizeof(data->city),
+ "%s",
+- racdata.city);
++ racdata->city);
+
+ xastir_snprintf(data->province,
+ sizeof(data->province),
+ "%s",
+- racdata.province);
++ racdata->province);
+
+ xastir_snprintf(data->postal_code,
+ sizeof(data->postal_code),
+ "%s",
+- racdata.postal_code);
++ racdata->postal_code);
+
+ xastir_snprintf(data->qual_a,
+ sizeof(data->qual_a),
+ "%s",
+- racdata.qual_a);
++ racdata->qual_a);
+
+ xastir_snprintf(data->qual_b,
+ sizeof(data->qual_b),
+ "%s",
+- racdata.qual_b);
++ racdata->qual_b);
+
+ xastir_snprintf(data->qual_c,
+ sizeof(data->qual_c),
+ "%s",
+- racdata.qual_c);
++ racdata->qual_c);
+
+ xastir_snprintf(data->qual_d,
+ sizeof(data->qual_d),
+ "%s",
+- racdata.qual_d);
++ racdata->qual_d);
+
+ xastir_snprintf(data->club_name,
+ sizeof(data->club_name),
+ "%s",
+- racdata.club_name);
++ racdata->club_name);
+
+ xastir_snprintf(data->club_address,
+ sizeof(data->club_address),
+ "%s",
+- racdata.club_address);
++ racdata->club_address);
+
+ xastir_snprintf(data->club_city,
+ sizeof(data->club_city),
+ "%s",
+- racdata.club_city);
++ racdata->club_city);
+
+ xastir_snprintf(data->club_province,
+ sizeof(data->club_province),
+ "%s",
+- racdata.club_province);
++ racdata->club_province);
+
+ xastir_snprintf(data->club_postal_code,
+ sizeof(data->club_postal_code),
+ "%s",
+- racdata.club_postal_code);
++ racdata->club_postal_code);
+
+ }
+ (void)fclose(fdb);
diff --git a/media-radio/xastir/files/xastir-2.0.4-no-builtin-shapelib.diff b/media-radio/xastir/files/xastir-2.0.4-no-builtin-shapelib.diff
new file mode 100644
index 000000000000..7aef072a5c39
--- /dev/null
+++ b/media-radio/xastir/files/xastir-2.0.4-no-builtin-shapelib.diff
@@ -0,0 +1,58 @@
+--- configure.ac.orig 2012-11-30 08:29:51.000000000 +0100
++++ configure.ac 2012-11-30 08:29:56.000000000 +0100
+@@ -368,27 +368,17 @@
+
+ # Check for Shapelib
+ use_shapelib=yes
+-force_internal_shapelib=no
+ shapelib_desired=yes
+ LIBSHP=""
+ SUBSHP=""
+ # This symbol will be blank if the proj library hasn't been found, and will
+ # have the three programs that need proj if it has
+ CONTSHP=""
+-AC_ARG_WITH(internal-shapelib,[ --with-internal-shapelib Force use of internal shapelib library.],force_internal_shapelib=$withval)
+ AC_ARG_WITH(shapelib,[ --without-shapelib Disable shapelib features.],shapelib_desired=$withval)
+ if test "${shapelib_desired}" = "no"; then
+ use_shapelib=no
+- force_internal_shapelib=no
+ fi
+-if test "${force_internal_shapelib}" = "yes"; then
+- AC_MSG_WARN([***************************************************************** ])
+- AC_MSG_WARN([Internal Shapelib library has been forced. ])
+- AC_MSG_WARN([***************************************************************** ])
+- # Temporary setting to get into if block below
+- use_shapelib=no
+-fi
+-if test "${shapelib_desired}" = "yes" -a "${force_internal_shapelib}" = "no"; then
++if test "${shapelib_desired}" = "yes" ; then
+ use_shapelib=no
+ AC_CHECK_HEADERS(shapefil.h libshp/shapefil.h, [AC_CHECK_LIB(shp, DBFOpen, use_shapelib=yes
+ LIBS="$LIBS -lshp"
+@@ -397,26 +387,6 @@
+ AC_DEFINE(HAVE_LIBSHP, , Define to 1 if you have the `shp' library (-lshp). )
+ break)])
+ fi
+-if test "${shapelib_desired}" = "yes" -a "${use_shapelib}" = "no"; then
+- AC_MSG_WARN([**************************************************************** ])
+- AC_MSG_WARN([Your system does not have shapelib installed. Using an internal ])
+- AC_MSG_WARN([version. This may lead to a larger filesize for the executable. ])
+- AC_MSG_WARN([Install shapelib on your system to eliminate this warning. ])
+- AC_MSG_WARN([**************************************************************** ])
+- LIBSHP="-Lshapelib -lshape"
+- CPPFLAGS="-I\$(top_srcdir)/src/shapelib $CPPFLAGS"
+- SUBSHP="shapelib"
+- use_shapelib=yes
+- force_internal_shapelib=yes
+- AC_DEFINE(HAVE_DBFGETFIELDINDEX, , Define to 1 if your `shp' library has DBFGetFieldIndex. )
+- AC_DEFINE(HAVE_LIBSHP, , Define to 1 if you have the `shp' library (-lshp). )
+- AC_DEFINE(HAVE_SHAPEFIL_H, , Define to 1 if you have the `shapefil.h' header. )
+-
+- if test $use_proj = "yes"
+- then
+- CONTSHP="shpcentrd shpproj shpdata shpwkb"
+- fi
+-fi
+ AC_SUBST(SUBSHP)
+ AC_SUBST(CONTSHP)
+ AC_SUBST(LIBSHP)
diff --git a/media-radio/xastir/files/xastir-2.0.4-scripts.diff b/media-radio/xastir/files/xastir-2.0.4-scripts.diff
new file mode 100644
index 000000000000..369295b07f8c
--- /dev/null
+++ b/media-radio/xastir/files/xastir-2.0.4-scripts.diff
@@ -0,0 +1,101 @@
+# patch scripts location (bug #407185). partially backported from upstream.
+--- xastir-2.0.0-orig/scripts/Makefile.am.orig 2012-11-27 05:41:23.000000000 +0100
++++ xastir-2.0.0/scripts/Makefile.am 2012-12-05 06:21:59.000000000 +0100
+@@ -12,9 +12,7 @@
+ get-fcc-rac.pl \
+ get-gnis \
+ get-pop \
+- get-maptools.sh \
+ get-NWSdata \
+- get_shapelib.sh \
+ gpx2shape \
+ icontable.pl \
+ inf2geo.pl \
+@@ -43,10 +41,8 @@
+ values \
+ values.pl \
+ waypoint-get.pl \
+- xastir-fixcfg.sh \
+- xastir-migrate.sh \
+ Xastir_tigerpoly.py
+
+ install-data-hook:
+ cd $(DESTDIR)$(scriptsdir) && \
+- chmod a+x *.sh *.pl *.py get-* gpx2* *.bash
++ chmod a+x *.pl *.py get-* gpx2* *.bash
+diff -Nur -u xastir-2.0.0.orig/scripts/coord-convert.pl xastir-2.0.0/scripts/coord-convert.pl
+--- xastir-2.0.0.orig/scripts/coord-convert.pl 2010-07-03 22:09:48.000000000 +0000
++++ xastir-2.0.0/scripts/coord-convert.pl 2012-03-07 15:46:01.000000000 +0000
+@@ -26,7 +26,7 @@
+ #
+
+
+-use lib "${prefix}/lib";
++use lib /usr/share/xastir/scripts;
+ use Coordinate; # WE7U's Coordinate.pm module
+
+
+diff -Nur -u xastir-2.0.0.orig/scripts/permutations.pl xastir-2.0.0/scripts/permutations.pl
+--- xastir-2.0.0.orig/scripts/permutations.pl 2010-07-03 22:09:48.000000000 +0000
++++ xastir-2.0.0/scripts/permutations.pl 2012-03-07 15:42:34.000000000 +0000
+@@ -34,7 +34,7 @@
+ #
+
+
+-use lib "/usr/local/lib";
++use lib "/usr/share/xastir/scripts";
+ use Coordinate; # WE7U's Coordinate.pm module
+
+
+diff -Nur -u xastir-2.0.0.orig/scripts/test_coord.pl xastir-2.0.0/scripts/test_coord.pl
+--- xastir-2.0.0.orig/scripts/test_coord.pl 2010-01-31 02:12:23.000000000 +0000
++++ xastir-2.0.0/scripts/test_coord.pl 2012-03-07 15:42:34.000000000 +0000
+@@ -33,7 +33,7 @@
+
+ #------------------------------------------------------------------------------------------------
+
+-use lib "/usr/local/lib";
++use lib "/usr/share/xastir/scripts";
+ use Coordinate; # Snag WE7U's Coordinate module
+
+
+diff -Nur -u xastir-2.0.0.orig/scripts/toporama250k.pl xastir-2.0.0/scripts/toporama250k.pl
+--- xastir-2.0.0.orig/scripts/toporama250k.pl 2010-01-31 02:12:23.000000000 +0000
++++ xastir-2.0.0/scripts/toporama250k.pl 2012-03-07 15:46:49.000000000 +0000
+@@ -28,14 +28,14 @@
+ # map files for the whole of Canada!
+ #
+ #
+-# - "cd /usr/local/share/xastir/maps"
++# - "cd /usr/share/xastir/maps"
+ #
+ # - Assure you have write privileges in the directory above either
+ # by becoming root using the "su" command, using "sudo", or
+ # temporarily changing ownership and/or privileges on the
+ # "maps" directory.
+ #
+-# - "/usr/local/lib/xastir/toporama250k.pl"
++# - "/usr/share/xastir/scripts/toporama250k.pl"
+ #
+ # - The script will create/populate this directory heirarchy:
+ # .../maps/toporama/images/
+diff -Nur -u xastir-2.0.0.orig/scripts/toporama50k.pl xastir-2.0.0/scripts/toporama50k.pl
+--- xastir-2.0.0.orig/scripts/toporama50k.pl 2010-01-31 02:12:23.000000000 +0000
++++ xastir-2.0.0/scripts/toporama50k.pl 2012-03-07 15:47:01.000000000 +0000
+@@ -27,14 +27,14 @@
+ # map files for the whole of Canada!
+ #
+ #
+-# - "cd /usr/local/share/xastir/maps"
++# - "cd /usr/share/xastir/maps"
+ #
+ # - Assure you have write privileges in the directory above either
+ # by becoming root using the "su" command, using "sudo", or
+ # temporarily changing ownership and/or privileges on the
+ # "maps" directory.
+ #
+-# - "/usr/local/lib/xastir/toporama50k.pl"
++# - "/usr/share/xastir/scripts/toporama50k.pl"
+ #
+ # - The script will create/populate this directory heirarchy:
+ # .../maps/toporama/images/
diff --git a/media-radio/xastir/metadata.xml b/media-radio/xastir/metadata.xml
new file mode 100644
index 000000000000..78cb139b449e
--- /dev/null
+++ b/media-radio/xastir/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <use>
+ <flag name="festival">Enable text to speech synthesizer</flag>
+ <flag name="gdal">Support for some further map formats</flag>
+ <flag name="geotiff">Install geotiff support. Allows using USGS DRG topo
+ maps or other types of geotiff mapes/images</flag>
+ <flag name="graphicsmagick">Use graphicsmagick instead imagemagick for
+ rendering</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">xastir</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-radio/xastir/xastir-2.0.4.ebuild b/media-radio/xastir/xastir-2.0.4.ebuild
new file mode 100644
index 000000000000..c211549f0992
--- /dev/null
+++ b/media-radio/xastir/xastir-2.0.4.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit autotools eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="X Amateur Station Tracking and Information Reporting"
+HOMEPAGE="http://xastir.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="festival gdal geotiff graphicsmagick"
+
+DEPEND=">=x11-libs/motif-2.3:0
+ x11-libs/libXt
+ x11-libs/libX11
+ x11-libs/libXpm
+ x11-apps/xfontsel
+ dev-libs/libpcre
+ net-misc/curl
+ sys-libs/db
+ sci-libs/shapelib
+ !graphicsmagick? ( media-gfx/imagemagick[-hdri,-q32] )
+ graphicsmagick? ( media-gfx/graphicsmagick[-q32] )
+ geotiff? ( sci-libs/proj
+ sci-libs/libgeotiff
+ media-libs/tiff )
+ gdal? ( sci-libs/gdal )
+ festival? ( app-accessibility/festival )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # fix script location (bug #407185)
+ epatch "${FILESDIR}"/${P}-scripts.diff
+
+ # fix __FORTIFY_SOURCE warning (bug #337365)
+ epatch "${FILESDIR}"/${P}-fortify.diff
+
+ # do not use builtin shapelib if sci-libs/shapelib is not installed
+ # instead build without shapelib support (bug #430704)
+ epatch "${FILESDIR}"/${P}-no-builtin-shapelib.diff
+
+ # do not filter duplicate flags (see bug 411095)
+ epatch "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff
+
+ # fix deprectated AM_CONFIG_HEADER macro
+ sed -i -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ # provide include path to GraphicsMagic for configure stage
+ use graphicsmagick && append-cflags -I/usr/include/GraphicsMagick
+ econf --with-pcre \
+ --with-shapelib \
+ --with-dbfawk \
+ --without-ax25 \
+ --without-gpsman \
+ $(use_with !graphicsmagick imagemagick) \
+ $(use_with graphicsmagick) \
+ $(use_with geotiff libproj) \
+ $(use_with geotiff) \
+ $(use_with gdal) \
+ $(use_with festival)
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ rm -rf "${D}"/usr/share/doc/${PN}
+ dodoc AUTHORS ChangeLog FAQ README README.Contributing \
+ README.Getting-Started README.MAPS
+}
+
+pkg_postinst() {
+ elog "Kernel mode AX.25 and GPSman library not supported."
+ elog
+ elog "Remember you have to be root to add addditional scripts,"
+ elog "maps and other configuration data under /usr/share/xastir."
+}
diff --git a/media-radio/xastir/xastir-2.0.6.ebuild b/media-radio/xastir/xastir-2.0.6.ebuild
new file mode 100644
index 000000000000..85fc86e658a2
--- /dev/null
+++ b/media-radio/xastir/xastir-2.0.6.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="X Amateur Station Tracking and Information Reporting"
+HOMEPAGE="http://xastir.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="festival gdal geotiff graphicsmagick"
+
+DEPEND=">=x11-libs/motif-2.3:0
+ x11-libs/libXt
+ x11-libs/libX11
+ x11-libs/libXpm
+ x11-apps/xfontsel
+ dev-libs/libpcre
+ net-misc/curl
+ sys-libs/db:4.8
+ sci-libs/shapelib
+ !graphicsmagick? ( media-gfx/imagemagick[-hdri,-q32] )
+ graphicsmagick? ( media-gfx/graphicsmagick[-q32] )
+ geotiff? ( sci-libs/proj
+ sci-libs/libgeotiff
+ media-libs/tiff:0 )
+ gdal? ( sci-libs/gdal )
+ festival? ( app-accessibility/festival )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # fix script location (bug #407185)
+ epatch "${FILESDIR}"/${PN}-2.0.4-scripts.diff
+
+ # fix __FORTIFY_SOURCE warning (bug #337365)
+ epatch "${FILESDIR}"/${PN}-2.0.4-fortify.diff
+
+ # do not use builtin shapelib if sci-libs/shapelib is not installed
+ # instead build without shapelib support (bug #430704)
+ epatch "${FILESDIR}"/${PN}-2.0.4-no-builtin-shapelib.diff
+
+ # do not filter duplicate flags (see bug 411095)
+ epatch "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff
+
+ eautoreconf
+}
+
+src_configure() {
+ # provide include path to GraphicsMagic for configure stage
+ use graphicsmagick && append-cflags -I/usr/include/GraphicsMagick
+ econf --with-pcre \
+ --with-shapelib \
+ --with-dbfawk \
+ --without-ax25 \
+ --without-gpsman \
+ $(use_with !graphicsmagick imagemagick) \
+ $(use_with graphicsmagick) \
+ $(use_with geotiff libproj) \
+ $(use_with geotiff) \
+ $(use_with gdal) \
+ $(use_with festival)
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ rm -rf "${D}"/usr/share/doc/${PN}
+ dodoc AUTHORS ChangeLog FAQ README README.Contributing \
+ README.Getting-Started README.MAPS
+}
+
+pkg_postinst() {
+ elog "Kernel mode AX.25 and GPSman library not supported."
+ elog
+ elog "Remember you have to be root to add addditional scripts,"
+ elog "maps and other configuration data under /usr/share/xastir."
+}
diff --git a/media-radio/xdx/Manifest b/media-radio/xdx/Manifest
new file mode 100644
index 000000000000..c5d3c71e5596
--- /dev/null
+++ b/media-radio/xdx/Manifest
@@ -0,0 +1,3 @@
+DIST xdx-2.4.2.tar.gz 284792 SHA256 ba6e66a248c61a52349881e2c2ea3324840b0acc0419a85f12a49f00ca9d121a SHA512 59ddf00b607f392229481c7e63ff94b01950e69827a64da15c063cb83a8a0f567aadd908db97ad879fbd5cb62b5844e9806f960f5972be94bd5436cfe7ed23f9 WHIRLPOOL 0f6cd1159c76a69d7d582cb9ca84d06cd37474e00a397e7f25f7c3303dc86ac313aadee8595aa15a8a5f762f41f1d4ae4c0b48bbcca759548e5d57221c7be473
+DIST xdx-2.4.3.tar.gz 324178 SHA256 fc6e49a2c2a9d7c729acf68e659bf8f5ebd402dc3be0f781bd50b8b76b01427c SHA512 b121e1ae45edc08d4c9331f877120fab8c0ed80fab9b90516e0ea29fc1055715b9f27d492dcebd8a20288dc785a2341a15a8052e89d5f75f6609b03c827709cb WHIRLPOOL 45712dd0da1faf546b7f45f9fea8c6f29b22e5cfd09ee47d870f30d24d53936818d963cb4ed0816b98041b3f44e4e728be018bcbad55e802fef9f3fdb13e07b9
+DIST xdx-2.5.0.tar.gz 342548 SHA256 bf689015e6604c462333bde3383027c01bdfcf9f764f6ea2f1a77bff8eb98fdb SHA512 e03ac1fde04f921d33a7075a0f9ddc632336c2c4506e69c3e51386c25080c527eb7195729a89edb895308beff05e7544c93831ad03df6db376b9624063a2972a WHIRLPOOL df65bfe5b26657f5a4b665eb4101e5a2461669bc5785b8effbd94ee48285291d032195abb62d5dabb6f7d4a47f292f59e63305d627cdf372638d8bdddb0b985e
diff --git a/media-radio/xdx/files/xdx-2.4-gtk.patch b/media-radio/xdx/files/xdx-2.4-gtk.patch
new file mode 100644
index 000000000000..8928f2e72e83
--- /dev/null
+++ b/media-radio/xdx/files/xdx-2.4-gtk.patch
@@ -0,0 +1,11 @@
+--- src/gui_manualdialog.c.orig 2008-11-21 16:19:15.000000000 +0100
++++ src/gui_manualdialog.c 2008-11-21 16:19:45.000000000 +0100
+@@ -59,7 +59,7 @@
+ helpfile = g_strdup_printf ("%s%s%s", PACKAGE_DATA_DIR, G_DIR_SEPARATOR_S, _("MANUAL"));
+
+ g_signal_connect(G_OBJECT(manualdialog), "response",
+- GTK_SIGNAL_FUNC(gtk_widget_destroy), NULL);
++ G_CALLBACK (gtk_widget_destroy), NULL);
+
+
+ in = fopen (helpfile, "r");
diff --git a/media-radio/xdx/files/xdx-gtk-2.20.patch b/media-radio/xdx/files/xdx-gtk-2.20.patch
new file mode 100644
index 000000000000..2b3c7655e152
--- /dev/null
+++ b/media-radio/xdx/files/xdx-gtk-2.20.patch
@@ -0,0 +1,34 @@
+# fix for bug #326627 deprecated macro from gtk+-2.20 on
+diff -Nur xdx-2.4.2.orig//src/gui.c xdx-2.4.2//src/gui.c
+--- xdx-2.4.2.orig//src/gui.c 2010-07-03 11:09:59.000000000 +0000
++++ xdx-2.4.2//src/gui.c 2010-07-03 11:10:45.000000000 +0000
+@@ -841,7 +841,7 @@
+ GtkWidget *mainentry;
+
+ mainentry = g_object_get_data (G_OBJECT (gui->window), "mainentry");
+- if (GTK_WIDGET_HAS_FOCUS(mainentry))
++ if (gtk_widget_has_focus(mainentry))
+ {
+ switch (event->keyval)
+ {
+diff -Nur xdx-2.4.2.orig//src/text.c xdx-2.4.2//src/text.c
+--- xdx-2.4.2.orig//src/text.c 2010-07-03 11:09:59.000000000 +0000
++++ xdx-2.4.2//src/text.c 2010-07-03 11:11:16.000000000 +0000
+@@ -528,7 +528,7 @@
+
+
+ /* focusing the treeview will stop scrolling */
+- if (!GTK_WIDGET_HAS_FOCUS(treeview))
++ if (!gtk_widget_has_focus(treeview))
+ {
+ path = gtk_tree_model_get_path (GTK_TREE_MODEL (model), &iter);
+ gtk_tree_view_set_cursor (GTK_TREE_VIEW (treeview), path, NULL, FALSE);
+@@ -797,7 +797,7 @@
+ }
+ }
+ /* focusing (clicking) the textview will stop scrolling */
+- if (!GTK_WIDGET_HAS_FOCUS(maintext))
++ if (!gtk_widget_has_focus(maintext))
+ {
+ gtk_text_buffer_get_bounds (buffer, &start, &end);
+ gtk_text_buffer_place_cursor(buffer, &end);
diff --git a/media-radio/xdx/metadata.xml b/media-radio/xdx/metadata.xml
new file mode 100644
index 000000000000..7d50cab7d289
--- /dev/null
+++ b/media-radio/xdx/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">xdxclusterclient</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-radio/xdx/xdx-2.4.2.ebuild b/media-radio/xdx/xdx-2.4.2.ebuild
new file mode 100644
index 000000000000..3e41ca5e19ba
--- /dev/null
+++ b/media-radio/xdx/xdx-2.4.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils
+
+DESCRIPTION="a GTK+ TCP/IP DX-cluster and ON4KST chat client"
+HOMEPAGE="http://www.ibiblio.org/pub/linux/apps/ham"
+SRC_URI="http://www.ibiblio.org/pub/linux/apps/ham/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="nls"
+
+RDEPEND=">=x11-libs/gtk+-2.12:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ # fix for bug #326627 - deprecated macro in gtk+ from 2.20 on
+ if has_version ">=x11-libs/gtk+-2.20" ; then
+ epatch "${FILESDIR}"/${PN}-gtk-2.20.patch
+ fi
+
+ # Drop DEPRECATED flags, bug #391091
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+ src/Makefile.am src/Makefile.in || die
+
+ # Fix desktop file
+ sed -i -e "s/Network;HamRadio/Network;HamRadio;/" Xdx.desktop || die
+}
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
+
+pkg_postinst() {
+ elog "To use the rig control feature, install media-libs/hamlib"
+ elog "and enable hamlib in the Preferences dialog. (no need for recompile)"
+}
diff --git a/media-radio/xdx/xdx-2.4.3.ebuild b/media-radio/xdx/xdx-2.4.3.ebuild
new file mode 100644
index 000000000000..bb8ab52f8072
--- /dev/null
+++ b/media-radio/xdx/xdx-2.4.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils
+
+DESCRIPTION="a GTK+ TCP/IP DX-cluster and ON4KST chat client"
+HOMEPAGE="http://sourceforge.net/projects/xdxclusterclient"
+SRC_URI="mirror://sourceforge/xdxclusterclient/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="nls"
+
+RDEPEND=">=x11-libs/gtk+-2.12:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
+
+pkg_postinst() {
+ elog "To use the rig control feature, install media-libs/hamlib"
+ elog "and enable hamlib in the Preferences dialog. (no need for recompile)"
+}
diff --git a/media-radio/xdx/xdx-2.5.0.ebuild b/media-radio/xdx/xdx-2.5.0.ebuild
new file mode 100644
index 000000000000..b81c45eabef7
--- /dev/null
+++ b/media-radio/xdx/xdx-2.5.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils
+
+DESCRIPTION="a GTK+ TCP/IP DX-cluster and ON4KST chat client"
+HOMEPAGE="http://sourceforge.net/projects/xdxclusterclient"
+SRC_URI="mirror://sourceforge/xdxclusterclient/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND=">=x11-libs/gtk+-2.12:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
+
+pkg_postinst() {
+ elog "To use the rig control feature, install media-libs/hamlib"
+ elog "and enable hamlib in the Preferences dialog. (no need for recompile)"
+}
diff --git a/media-radio/xlog/Manifest b/media-radio/xlog/Manifest
new file mode 100644
index 000000000000..3854aeb78343
--- /dev/null
+++ b/media-radio/xlog/Manifest
@@ -0,0 +1,3 @@
+DIST xlog-2.0.11.tar.gz 11395343 SHA256 a2381b6bbbf446d9bb95644d8394c5fe5fa43bbafe0c87ef65a0f6fbdafcb744 SHA512 15e91cc51af162d4def7e9ce29a3bde7af076ba875e939d3e908ac0fb39b8e0c30a1fdad6ec58d19a70947629684209038ddf83cf8316331f059fa3a3db5cc34 WHIRLPOOL e7dcaf548acf36e39400b3d039348a86cb30189cbc551158902728698b23a5db988c9fcf54ad847a2291e3062ec9cd963bd4281032653bf7f59f6494a2441579
+DIST xlog-2.0.12.tar.gz 11396005 SHA256 c5666c53e67b92b49bedb5ee1a629cf62d384033af6a912dff7726995775abd4 SHA512 34f590915b11e0aa24a23210f90f0bc7fb62874b46ab226e254e766b14965add58752a131c1a4b792e2447670059f92ef5d160fba8382fe757e31e8478902550 WHIRLPOOL e9b2561d23e9902de2753c4fd07eca98fa42bfe0d62ce1f7113f9056b5df801247be0b95665d1d85d8c3f7d05e606fc949df69bc72bfb8cfba43066d4de96c46
+DIST xlog-2.0.13.tar.gz 11427287 SHA256 d53d8538b9fc61e761d1bd84ad0c866cc9a50540b663521ebad49df479d798ab SHA512 304efc65c35890f2d988680de2a5f21d2e728882175f9a3abf72a749d9172833ac7b18cbd65d9e9c2c143ee27bea0476b12ff5eb760d8dcbb64800944ac89003 WHIRLPOOL 7e77e2db8cd8f373fe5f93f81d80b29fdfc4870eab24557a8aa1c940d67df80fc4751d409a2751a795c42a14edb0da30a39dc88af7771cc223f0bb408c15ef23
diff --git a/media-radio/xlog/files/xlog-1.9-desktop-update.patch b/media-radio/xlog/files/xlog-1.9-desktop-update.patch
new file mode 100644
index 000000000000..ccdb2ddac205
--- /dev/null
+++ b/media-radio/xlog/files/xlog-1.9-desktop-update.patch
@@ -0,0 +1,51 @@
+--- configure.in.orig 2007-11-06 15:49:25.000000000 -0800
++++ configure.in 2007-11-06 15:51:22.000000000 -0800
+@@ -48,6 +48,7 @@
+ AH_TEMPLATE([HAVE_LC_MESSAGES], [])
+ AH_TEMPLATE([HAVE_STPCPY], [])
+
++dnl MIME update
+ AC_ARG_ENABLE(mime-update,
+ [ --enable-mime-update update the mime database],
+ [case "${enableval}" in
+@@ -63,6 +64,21 @@
+ echo "disabled updating of the mime database"
+ fi
+
++dnl Desktop update
++AC_ARG_ENABLE(desktop-update,
++[ --enable-desktop-update update the desktop database],
++[case "${enableval}" in
++ yes) desk_update=true ;;
++ no) desk_update=false ;;
++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-desk-update) ;;
++esac],[desk_update=false])
++AM_CONDITIONAL(DESKUPDATE, test x$desk_update = xtrue)
++
++if test "x${desk_update}" != "xfalse"; then
++ echo "enabled updating of the desktop database"
++else
++ echo "disabled updating of the desktop database"
++fi
+
+ AC_OUTPUT([po/Makefile.in
+ Makefile
+--- data/desktop/Makefile.am.orig 2007-11-06 15:47:51.000000000 -0800
++++ data/desktop/Makefile.am 2007-11-06 15:48:16.000000000 -0800
+@@ -5,12 +5,16 @@
+
+ EXTRA_DIST = $(DESKTOP_FILES)
+
++if DESKUPDATE
+ install-data-hook:
+ if HAVE_DESKTOP
+ $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(datadir)/applications"
+ endif
++endif
+
++if DESKUPDATE
+ uninstall-hook:
+ if HAVE_DESKTOP
+ $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(datadir)/applications"
+ endif
++endif
diff --git a/media-radio/xlog/files/xlog-2.0.13-desktop-update.patch b/media-radio/xlog/files/xlog-2.0.13-desktop-update.patch
new file mode 100644
index 000000000000..cf834e13ec7c
--- /dev/null
+++ b/media-radio/xlog/files/xlog-2.0.13-desktop-update.patch
@@ -0,0 +1,51 @@
+--- configure.ac.orig 2007-11-06 15:49:25.000000000 -0800
++++ configure.ac 2007-11-06 15:51:22.000000000 -0800
+@@ -48,6 +48,7 @@
+ AH_TEMPLATE([HAVE_LC_MESSAGES], [])
+ AH_TEMPLATE([HAVE_STPCPY], [])
+
++dnl MIME update
+ AC_ARG_ENABLE(mime-update,
+ [ --enable-mime-update update the mime database],
+ [case "${enableval}" in
+@@ -63,6 +64,21 @@
+ echo "disabled updating of the mime database"
+ fi
+
++dnl Desktop update
++AC_ARG_ENABLE(desktop-update,
++[ --enable-desktop-update update the desktop database],
++[case "${enableval}" in
++ yes) desk_update=true ;;
++ no) desk_update=false ;;
++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-desk-update) ;;
++esac],[desk_update=false])
++AM_CONDITIONAL(DESKUPDATE, test x$desk_update = xtrue)
++
++if test "x${desk_update}" != "xfalse"; then
++ echo "enabled updating of the desktop database"
++else
++ echo "disabled updating of the desktop database"
++fi
+
+ AC_OUTPUT([po/Makefile.in
+ Makefile
+--- data/desktop/Makefile.am.orig 2007-11-06 15:47:51.000000000 -0800
++++ data/desktop/Makefile.am 2007-11-06 15:48:16.000000000 -0800
+@@ -5,12 +5,16 @@
+
+ EXTRA_DIST = $(DESKTOP_FILES)
+
++if DESKUPDATE
+ install-data-hook:
+ if HAVE_DESKTOP
+ $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(datadir)/applications"
+ endif
++endif
+
++if DESKUPDATE
+ uninstall-hook:
+ if HAVE_DESKTOP
+ $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(datadir)/applications"
+ endif
++endif
diff --git a/media-radio/xlog/files/xlog-2.0.7-desktop.patch b/media-radio/xlog/files/xlog-2.0.7-desktop.patch
new file mode 100644
index 000000000000..e124e062351c
--- /dev/null
+++ b/media-radio/xlog/files/xlog-2.0.7-desktop.patch
@@ -0,0 +1,14 @@
+--- data/desktop/xlog.desktop.orig 2013-05-24 08:23:25.000000000 +0200
++++ data/desktop/xlog.desktop 2013-05-24 08:24:47.000000000 +0200
+@@ -5,8 +5,8 @@
+ Comment[pl]=Dziennik łączności dla radioamatorów
+ TryExec=xlog
+ Exec=xlog %F
+-Icon=xlog-icon.png
++Icon=xlog-icon
+ Terminal=false
+ Type=Application
+-Categories=Utility;Database;HamRadio;GTK
+-MimeType=text/x-xlog
++Categories=Utility;Database;HamRadio;GTK;
++MimeType=text/x-xlog;
diff --git a/media-radio/xlog/metadata.xml b/media-radio/xlog/metadata.xml
new file mode 100644
index 000000000000..28bcc7249968
--- /dev/null
+++ b/media-radio/xlog/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+</maintainer>
+</pkgmetadata>
diff --git a/media-radio/xlog/xlog-2.0.11.ebuild b/media-radio/xlog/xlog-2.0.11.ebuild
new file mode 100644
index 000000000000..80e4cc0bcf61
--- /dev/null
+++ b/media-radio/xlog/xlog-2.0.11.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit autotools eutils fdo-mime toolchain-funcs
+MY_P=${P/_}
+
+DESCRIPTION="An amateur radio logging program"
+HOMEPAGE="http://www.nongnu.org/xlog"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="media-libs/hamlib
+ dev-libs/glib:2
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.0.7-desktop.patch"
+
+ # Let portage handle updating mime/desktop databases,
+ epatch "${FILESDIR}/${PN}-1.9-desktop-update.patch"
+ # Drop -Werror
+ sed -i -e "s:-Werror::" configure.in || die
+ eautoreconf
+}
+
+src_configure() {
+ # mime-update causes file collisions if enabled
+ econf --disable-mime-update --disable-desktop-update \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ docompress -x /usr/share/doc/${PF}/{KEYS,ChangeLog,TODO,BUGS}
+ dodoc AUTHORS data/doc/THANKS NEWS README
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/media-radio/xlog/xlog-2.0.12.ebuild b/media-radio/xlog/xlog-2.0.12.ebuild
new file mode 100644
index 000000000000..80e4cc0bcf61
--- /dev/null
+++ b/media-radio/xlog/xlog-2.0.12.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit autotools eutils fdo-mime toolchain-funcs
+MY_P=${P/_}
+
+DESCRIPTION="An amateur radio logging program"
+HOMEPAGE="http://www.nongnu.org/xlog"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="media-libs/hamlib
+ dev-libs/glib:2
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.0.7-desktop.patch"
+
+ # Let portage handle updating mime/desktop databases,
+ epatch "${FILESDIR}/${PN}-1.9-desktop-update.patch"
+ # Drop -Werror
+ sed -i -e "s:-Werror::" configure.in || die
+ eautoreconf
+}
+
+src_configure() {
+ # mime-update causes file collisions if enabled
+ econf --disable-mime-update --disable-desktop-update \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ docompress -x /usr/share/doc/${PF}/{KEYS,ChangeLog,TODO,BUGS}
+ dodoc AUTHORS data/doc/THANKS NEWS README
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/media-radio/xlog/xlog-2.0.13.ebuild b/media-radio/xlog/xlog-2.0.13.ebuild
new file mode 100644
index 000000000000..b779b23c42ad
--- /dev/null
+++ b/media-radio/xlog/xlog-2.0.13.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit autotools eutils fdo-mime toolchain-funcs
+MY_P=${P/_}
+
+DESCRIPTION="An amateur radio logging program"
+HOMEPAGE="http://www.nongnu.org/xlog"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="media-libs/hamlib
+ dev-libs/glib:2
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.0.7-desktop.patch"
+
+ # Let portage handle updating mime/desktop databases,
+ epatch "${FILESDIR}/${PN}-2.0.13-desktop-update.patch"
+ # Drop -Werror
+ sed -i -e "s:-Werror::" configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ # mime-update causes file collisions if enabled
+ econf --disable-mime-update --disable-desktop-update \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ docompress -x /usr/share/doc/${PF}/{KEYS,ChangeLog,TODO,BUGS}
+ dodoc AUTHORS data/doc/THANKS NEWS README
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/media-radio/xwxapt/Manifest b/media-radio/xwxapt/Manifest
new file mode 100644
index 000000000000..80b1ee6e32d8
--- /dev/null
+++ b/media-radio/xwxapt/Manifest
@@ -0,0 +1,2 @@
+DIST xwxapt-2.1.tar.bz2 63986 SHA256 59e20721e70710ab99b78070b4ff5cae1ec4ed8b86f5bbd2a82a909856ad4a9d SHA512 17c31bf2732fb8215e139488551c5b4185a401c1f9d455f425e2373b7afc1ec401c536a832635501018415c64b71763a927e16ab05d8723fab932e9031775d5c WHIRLPOOL c432fcca1da233a98cb6efc31e40d7490d61b26e733fa5c8a7f398f3f6b0190f4bd33caa508960084fb49aeeb6e35242a3f889e469f99755fdebe29b050e54dd
+DIST xwxapt-2.2.tar.bz2 145635 SHA256 2ed1d7a2c7e7c4142fa0562ec17bb220ba3bd7a53412a7fac2bb6dc1ddac883e SHA512 debb539d57df4cf2bc550ad6000bd0aa8ad9acb107d3854fcf83c35b967f9feec7ae4d04a2998ecd9eaf91864bae7b48b88299e4f92cde2d0795077b24fc07a7 WHIRLPOOL 065813228f9f8fd212f367ccea8054d7b065f1f48b1cd2727099804a6949683caf5e592381e84abb2467933b04e27acc28aed904d0a5221f95b45a412b288cd6
diff --git a/media-radio/xwxapt/metadata.xml b/media-radio/xwxapt/metadata.xml
new file mode 100644
index 000000000000..28bcc7249968
--- /dev/null
+++ b/media-radio/xwxapt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+</maintainer>
+</pkgmetadata>
diff --git a/media-radio/xwxapt/xwxapt-2.1.ebuild b/media-radio/xwxapt/xwxapt-2.1.ebuild
new file mode 100644
index 000000000000..02f6344d8228
--- /dev/null
+++ b/media-radio/xwxapt/xwxapt-2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit autotools
+
+DESCRIPTION="GTK+ linux weather satellite APT image decoder software"
+HOMEPAGE="http://5b4az.chronos.org.uk/pages/apt.html"
+SRC_URI="http://5b4az.chronos.org.uk/pkg/apt/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ media-libs/alsa-lib
+ dev-libs/glib:2
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ # create missing mkinstalldir and prepare package
+ glib-gettextize --force --copy || die "gettextize failed"
+ eautoreconf
+}
+
+src_install() {
+ default
+ dohtml doc/xwxapt.html
+ insinto /usr/share/${PN}
+ doins xwxapt/xwxaptrc
+ dodir /usr/share/${PN}/images /usr/share/${PN}/records
+}
+
+pkg_postinst() {
+ einfo "You must copy the /usr/share/xwxapt directory into your home directory"
+ einfo "and configure the contained xwxaptrc file before starting the program"
+}
diff --git a/media-radio/xwxapt/xwxapt-2.2.ebuild b/media-radio/xwxapt/xwxapt-2.2.ebuild
new file mode 100644
index 000000000000..878db36ce722
--- /dev/null
+++ b/media-radio/xwxapt/xwxapt-2.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit autotools
+
+DESCRIPTION="GTK+ linux weather satellite APT image decoder software"
+HOMEPAGE="http://5b4az.chronos.org.uk/pages/apt.html"
+SRC_URI="http://5b4az.chronos.org.uk/pkg/apt/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ media-libs/alsa-lib
+ dev-libs/glib:2
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_prepare() {
+ # create missing mkinstalldir and prepare package
+ glib-gettextize --force --copy || die "gettextize failed"
+ eautoreconf
+}
+
+src_install() {
+ default
+ dohtml doc/xwxapt.html
+ insinto /usr/share/${PN}
+ doins xwxapt/xwxaptrc
+ dodir /usr/share/${PN}/images /usr/share/${PN}/records
+}
+
+pkg_postinst() {
+ einfo "You must copy the /usr/share/xwxapt directory into your home directory"
+ einfo "and configure the contained xwxaptrc file before starting the program"
+}