From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 66465138330 for ; Mon, 15 Jan 2018 15:27:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83588E07ED; Mon, 15 Jan 2018 15:27:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4C564E07ED for ; Mon, 15 Jan 2018 15:27:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AADC4335C3C for ; Mon, 15 Jan 2018 15:27:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46CDB192 for ; Mon, 15 Jan 2018 15:27:04 +0000 (UTC) From: "Thomas Beierlein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Beierlein" Message-ID: <1516029982.1465f196238c927d94440ea016c216557bc70efc.tomjbe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/svxlink/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-radio/svxlink/Manifest media-radio/svxlink/svxlink-17.12.1.ebuild X-VCS-Directories: media-radio/svxlink/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: 1465f196238c927d94440ea016c216557bc70efc X-VCS-Branch: master Date: Mon, 15 Jan 2018 15:27:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2d8b6766-9d4e-4d21-9caf-23213bcfb712 X-Archives-Hash: b0360224d167c74156a2b15aa866d91b commit: 1465f196238c927d94440ea016c216557bc70efc Author: Thomas Beierlein gentoo org> AuthorDate: Mon Jan 15 15:24:38 2018 +0000 Commit: Thomas Beierlein gentoo org> CommitDate: Mon Jan 15 15:26:22 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1465f196 media-radio/svxlink: Version bump. (bug #644376) Switch away from Qt4 to newer Qt5. Thnaks Adreas Sturmlechner. Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-radio/svxlink/Manifest | 1 + media-radio/svxlink/svxlink-17.12.1.ebuild | 74 ++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest index 3216c0b11dd..143694cf07b 100644 --- a/media-radio/svxlink/Manifest +++ b/media-radio/svxlink/Manifest @@ -1 +1,2 @@ DIST svxlink-15.11.tar.gz 1528034 BLAKE2B 70a8f0f0181aee836738fba0b570d5fe5a896685267b8a9bbd09e6f6139fd764f5dac58dd57cff1ec2531b748511bb210a2aacc30704c5aee7d378489316a9b5 SHA512 b5c36e1a5e1dd0f954b7c2318d32d1bd52d8ec0a94a98e9c2de0b61ebbc6d0809d87fefbf13271c20a1a55e1a965e1a98f14c819df7b16a523b7cfc0fd4562ac +DIST svxlink-17.12.1.tar.gz 1621559 BLAKE2B 8a1d9498f451a730ee8d961d4ebd548f34f977367069658bdf4af7d91726e558c9e1ab084423b0238ae1f5fdcafd8e88480b818491e5f91d176d07d81fced5a3 SHA512 90bd74420fcd78d974d12ee13ac792f2a0ecd7cb483ec36ef1085e905f9d6c62af707cb65d04079ec66d7df6da615080a2058a0a559c82171b4882a4b20289f9 diff --git a/media-radio/svxlink/svxlink-17.12.1.ebuild b/media-radio/svxlink/svxlink-17.12.1.ebuild new file mode 100644 index 00000000000..e63fd2cb6cf --- /dev/null +++ b/media-radio/svxlink/svxlink-17.12.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils systemd 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/${PV}.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:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + 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() { + cmake-utils_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 + 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 + + systemd_dounit "${FILESDIR}"/remotetrx.service + systemd_dounit "${FILESDIR}"/svxlink.service +}