diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2021-04-26 16:31:22 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2021-04-26 16:33:21 +0200 |
commit | 49c8bd7c94b5ca280c4c9dc7398293124efdfb8f (patch) | |
tree | aba04a0ff0638ce58f411235e88ac6d1197090bf /media-radio/svxlink | |
parent | app-text/foliate: remove old (diff) | |
download | gentoo-49c8bd7c94b5ca280c4c9dc7398293124efdfb8f.tar.gz gentoo-49c8bd7c94b5ca280c4c9dc7398293124efdfb8f.tar.bz2 gentoo-49c8bd7c94b5ca280c4c9dc7398293124efdfb8f.zip |
media-radio/svxlink: Version bump and migrate to GLEP 81
Furthermore migrate away from cmake_utils eclass
Bugs: https://bugs.gentoo.org/781329
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/svxlink')
-rw-r--r-- | media-radio/svxlink/Manifest | 1 | ||||
-rw-r--r-- | media-radio/svxlink/svxlink-19.09.2.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest index cfd55c8ab9b2..91efaa753d23 100644 --- a/media-radio/svxlink/Manifest +++ b/media-radio/svxlink/Manifest @@ -1,2 +1,3 @@ DIST svxlink-17.12.1.tar.gz 1621559 BLAKE2B 8a1d9498f451a730ee8d961d4ebd548f34f977367069658bdf4af7d91726e558c9e1ab084423b0238ae1f5fdcafd8e88480b818491e5f91d176d07d81fced5a3 SHA512 90bd74420fcd78d974d12ee13ac792f2a0ecd7cb483ec36ef1085e905f9d6c62af707cb65d04079ec66d7df6da615080a2058a0a559c82171b4882a4b20289f9 DIST svxlink-17.12.2.tar.gz 1622039 BLAKE2B f67e74605d371f37bddc06f2092d7c9c355a549df2dcfcda3e48e3238dd38d57e195f2fe7edf390e3d48324ef8ab4accf18975ead9216259e484d96597275937 SHA512 cace3894da3b94ae8bd41c47c76c9c6203cb7eaaca6d2c847509b733ed4a6a1dc9ca8c4c16c060dfb0d9ee2982f2a0a2746aa06a5507640d5ed9c9b4fdf90f7e +DIST svxlink-19.09.2.tar.gz 1730836 BLAKE2B 7fe8a1b018dba7837486dbed21242d8514a1f546b5eecbd2d2bfdf620d7e093cddbedab17f19d5f2cbd79c9a66825713c45a981335f0b526ba0946e764efc535 SHA512 f3c8b29953da3b2f61eba528a07152f40a2aca2efe511cb98637b1ef77fa676e506a3f4766edb81069f13333ddbae2d39f679874455b05286d3daf96a903e1c1 diff --git a/media-radio/svxlink/svxlink-19.09.2.ebuild b/media-radio/svxlink/svxlink-19.09.2.ebuild new file mode 100644 index 000000000000..f6ae56cc19fc --- /dev/null +++ b/media-radio/svxlink/svxlink-19.09.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake systemd + +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="" + +CDEPEND="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" +RDEPEND="${CDEPEND} + acct-group/svxlink + acct-user/svxlink" +DEPEND="${CDEPEND} + dev-qt/linguist-tools:5 + virtual/pkgconfig" + +src_prepare() { + cmake_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_MAKEFILE_GENERATOR=emake + cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +src_install() { + cmake_src_install + + fowners -R svxlink.svxlink /var/spool/svxlink + + rm -R "${D}"/usr/share/doc/${P}/man || 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 + + keepdir /var/spool/${PN}/propagation_monitor + keepdir /var/spool/${PN}/qso_recorder + keepdir /var/spool/${PN}/voice_mail +} |