media-radio/svxlink: Version bump (bug #569512)
authorThomas Beierlein <tomjbe@gentoo.org>
Thu, 7 Jan 2016 17:39:42 +0000 (18:39 +0100)
committerThomas Beierlein <tomjbe@gentoo.org>
Thu, 7 Jan 2016 17:40:42 +0000 (18:40 +0100)
Package-Manager: portage-2.2.26

media-radio/svxlink/Manifest
media-radio/svxlink/svxlink-15.11.ebuild [new file with mode: 0644]

index 185737bcf37b95a9666aa7dd0582cbeeb92da3cb..8234ca644d434d32c5177fb27dc23ce470dbbbe2 100644 (file)
@@ -1 +1,2 @@
 DIST svxlink-13.12.tar.gz 1168697 SHA256 c2a991a35f3386027e33f35c53c9d383231bc8e3184c8e2fef871e4f68622245 SHA512 442320c7f29e090ab3596c607c640d310cd534093203264a9cb57f3e768b83604bffa478a2e743b37a2a82fd093b83050a1c300c623f01191048119091b4bf74 WHIRLPOOL 0c9ba108b076dca6ad5fa6ccf02141a83159a2bb28cf4653d614502cf6255583ada9281490fadd212837b97a5f7a7d75eb292fd35a912569d8122a005c409ebb
+DIST svxlink-15.11.tar.gz 1528034 SHA256 17bd8a1174c70e990b676210e6edb373732d284aed55c5a82bc378a1d69cecf2 SHA512 b5c36e1a5e1dd0f954b7c2318d32d1bd52d8ec0a94a98e9c2de0b61ebbc6d0809d87fefbf13271c20a1a55e1a965e1a98f14c819df7b16a523b7cfc0fd4562ac WHIRLPOOL a0b251b32ff32f6a15cb6596ddcc929eaf161f49c54191828bd0cb0434cb486f39ebc5271fa7c749a5d98f80d9931c366beec2059f01faffbdd3bd7a4f465d75
diff --git a/media-radio/svxlink/svxlink-15.11.ebuild b/media-radio/svxlink/svxlink-15.11.ebuild
new file mode 100644 (file)
index 0000000..d551952
--- /dev/null
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+
+}