summaryrefslogtreecommitdiff
path: root/media-radio/svxlink
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio/svxlink')
-rw-r--r--media-radio/svxlink/Manifest9
-rw-r--r--media-radio/svxlink/files/remotetrx.init42
-rw-r--r--media-radio/svxlink/files/remotetrx.rc21
-rw-r--r--media-radio/svxlink/files/svxlink.init42
-rw-r--r--media-radio/svxlink/files/svxlink.rc21
-rw-r--r--media-radio/svxlink/metadata.xml18
-rw-r--r--media-radio/svxlink/svxlink-15.11.ebuild70
7 files changed, 223 insertions, 0 deletions
diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest
new file mode 100644
index 000000000000..8d8416d2fdd9
--- /dev/null
+++ b/media-radio/svxlink/Manifest
@@ -0,0 +1,9 @@
+AUX remotetrx.init 786 SHA256 25430f5994a7b2e1c3ab5e202999468e56df1827c988e758eba7c21427aff236 SHA512 66222df5ee57a28b5f857ee1209efa3e9af270be3f38ef763ec757b55ef58bd831f18e4704f6dd5554435522a24982ce59c8e70e013e2098b16b997495fb2d05 WHIRLPOOL 1c4639755d998d004d7e73e03f94657e32e953cca0f923dd510442d255f53e58c5139bce42037ebcf12ff4440d54cc7bf50213557bdf330bd3b9fa1ffb923546
+AUX remotetrx.rc 578 SHA256 90176eb6d1bc0f95f504e90a5bba375c5d4513f57fb322284d4da9462ac0b201 SHA512 759adaa668f5f0315dd9d710d3ed738b4a0e042a7d12541862c2a311073d25573195336416b3940aaa89443242ce34abf7994c902603cd2640d08291037f465f WHIRLPOOL b4d3c8d5f1912b6aa1fe9e8bb7ad4c665803fe33828c357c2dbe0f783193a019f65e94aa79bc0de6eb887df8e30ecb8b4d4842356ad1cc674f4f3507a874b4a4
+AUX svxlink.init 782 SHA256 10c510210d3097fc24454e385ea87bd2236bf0e8b63087cbcc37fb521f46b8ae SHA512 ad3f8c2310a346bc34eeecf541cef87a5eb24649060695d8b510de3f08de1c0cdb4cccac229dc53ab1bf5bc6386aa7b191a6df3a1546a5ddcdfdc146b9f16b51 WHIRLPOOL 04d5ddc4690e5371e5cdd57533e6bc6ca907870c2f77f92c8926981b6ee06aa6461dc646c096d236d902100e4b8f26a524c7f2516dc918a0f9d6aac167bc272b
+AUX svxlink.rc 568 SHA256 d9faf2c39ee13f382ea5be3af8c6cedf67a69bbaeff601220a91437fa52daafa SHA512 96e95116c031e3e5f21d1239362736c093c3e5c32adcb4eef1fa667c89a08d62cdb82640a246cf11b9fddc62544f98a660f626e91c67dd7a0d608904b8ddf6dd WHIRLPOOL b3d18d8d8c7f87ea52b8825c8b6e85903fb7a49847dc92cbb3b973d2f5c0869611ac25c9c61cb39eb20ca0983a3952ac39a7c77ef945dfb3a97765755f0dbca2
+DIST svxlink-15.11.tar.gz 1528034 SHA256 17bd8a1174c70e990b676210e6edb373732d284aed55c5a82bc378a1d69cecf2 SHA512 b5c36e1a5e1dd0f954b7c2318d32d1bd52d8ec0a94a98e9c2de0b61ebbc6d0809d87fefbf13271c20a1a55e1a965e1a98f14c819df7b16a523b7cfc0fd4562ac WHIRLPOOL a0b251b32ff32f6a15cb6596ddcc929eaf161f49c54191828bd0cb0434cb486f39ebc5271fa7c749a5d98f80d9931c366beec2059f01faffbdd3bd7a4f465d75
+EBUILD svxlink-15.11.ebuild 1520 SHA256 18ec5bbb2490f747dc3d61f67a8556fad505b04dcd21598e781302840d2398e0 SHA512 a4c6eb384aad5ece4a47c100b1b8bd2a47279547f4e6b477acba5d89818d88038368518c3bdfdbaf46a20c3bf91cdd960f9a22fcdad143f168aaa6a853b93d4c WHIRLPOOL 5cf8e46b49e7cb935ba8a85c86c37d1e1cdc63c0aa913dd1a5f3866b0ac4ab96bd5cd41de251ac06556e19140fb40d522a5cba35181e785e9905706758ddcf20
+MISC ChangeLog 3363 SHA256 f00a26efcd82a97c2b5f6fc64d1801c1de72217d54e0f4d03181c1412aabc0f2 SHA512 6abfa4fffa635f09e4cce0ffadcee4176b701f4cfaa0fabcbc056736353b5622e31124d42c852fca715cdf23fb861bff80d213df26ea1c1fea269c42d0c6d167 WHIRLPOOL a29258fb4ffc6181096c4603f8817cbd017b60c8d734383c856b0d4ff581c7f87e6bc677ff44a2362d69add7e28bdc5b426476a9f99b7a673be4e1edb2c81a96
+MISC ChangeLog-2015 5940 SHA256 30e31c3449e1de272ff132fddc8d80bd057fa4b912299f447e9973e30031038c SHA512 c076b1dc60db4a4c1380652584714d3e03decd8ef22a2ad641bf458abbfed20924df322d09cdb466045a1207420444815673430e7d3677a48c004ae7939606b1 WHIRLPOOL 81537482f05060057b318a2bc93a163c3cdbdc47cfef101bc2c37a20762d912f028131c6279599adb978d6ab4739ebfdf4928222dcc9ceced9d9828312c9d2c0
+MISC metadata.xml 696 SHA256 40f67435a90cc86a991c9a8d23ec3d1a75c7e22f2da673e07a4a7b48ebc1ad25 SHA512 8e514fc2f15af5d7520a371ab802aa2a024276514d184f31b00b96c09b06e7b7c69904a0ea256f17fbe9e97f8da4cd908a91072284b274ba6488982e92182bc5 WHIRLPOOL 997ff594adb98098ece44acd38f3e88946bfebd295dd052f12276e76bd65235c58b21b28f3ffea359559bc2d38e278cee88c64421619a64c2c1e6ff574fa4f60
diff --git a/media-radio/svxlink/files/remotetrx.init b/media-radio/svxlink/files/remotetrx.init
new file mode 100644
index 000000000000..e9197369d0c7
--- /dev/null
+++ b/media-radio/svxlink/files/remotetrx.init
@@ -0,0 +1,42 @@
+#!/sbin/openrc-run
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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.init b/media-radio/svxlink/files/svxlink.init
new file mode 100644
index 000000000000..79a43eb1141d
--- /dev/null
+++ b/media-radio/svxlink/files/svxlink.init
@@ -0,0 +1,42 @@
+#!/sbin/openrc-run
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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..8b69810841ee
--- /dev/null
+++ b/media-radio/svxlink/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <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>
+ <remote-id type="github">sm0svx/svxlink</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-radio/svxlink/svxlink-15.11.ebuild b/media-radio/svxlink/svxlink-15.11.ebuild
new file mode 100644
index 000000000000..1ef133a65bb1
--- /dev/null
+++ b/media-radio/svxlink/svxlink-15.11.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils qt4-r2 user
+
+CMAKE_USE_DIR="${S}/src"
+
+DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink"
+HOMEPAGE="http://www.svxlink.org"
+SRC_URI="https://github.com/sm0svx/${PN}/archive/15.11.tar.gz -> ${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"
+
+pkg_setup() {
+ enewgroup svxlink
+ enewuser svxlink -1 -1 -1 svxlink
+}
+
+src_prepare() {
+ # drop deprecated desktop category (bug #475730)
+ sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DSYSCONF_INSTALL_DIR=/etc
+ -DLOCAL_STATE_DIR=/var
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ fowners -R svxlink.svxlink /var/spool/svxlink
+
+ rm -R "${D}"/usr/share/doc/svxlink || die
+ dodoc src/doc/README-${PV}.adoc
+ doman src/doc/man/*.1 src/doc/man/*.5
+
+ insinto /etc/logrotate.d
+ doins distributions/gentoo/etc/logrotate.d/*
+
+ newinitd "${FILESDIR}"/remotetrx.init remotetrx
+ newinitd "${FILESDIR}"/svxlink.init svxlink
+ newconfd "${FILESDIR}"/remotetrx.rc remotetrx
+ newconfd "${FILESDIR}"/svxlink.rc svxlink
+
+}