diff options
Diffstat (limited to 'media-radio/svxlink')
-rw-r--r-- | media-radio/svxlink/Manifest | 2 | ||||
-rw-r--r-- | media-radio/svxlink/svxlink-19.09.2.ebuild | 80 |
2 files changed, 82 insertions, 0 deletions
diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest index e32b56681091..32d386a193ed 100644 --- a/media-radio/svxlink/Manifest +++ b/media-radio/svxlink/Manifest @@ -6,6 +6,8 @@ AUX svxlink.rc 568 BLAKE2B 7e0fa55b6d7d099778f2b20cf3b85b54a943460ade694bdf75159 AUX svxlink.service 690 BLAKE2B 7f62518556c7c0fd0a4e759031520181f5a9a61a4d5ebcf874e60e8cd400327feee0306011ab8c88b17b8a5b666cc0fda90244b7a9e5ad9734ec629e0bf3d2f3 SHA512 2879820eaa64bc574e1a2c57492ba429cb4b5748b56132fac8922727a8924197b719075c39a6ab0ffcb698b3cf4b5eb889f19c2aac0a9d143f0aef6de778b225 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 EBUILD svxlink-17.12.1.ebuild 1672 BLAKE2B a78139f14e1a4d8d8351a7367230df9f5522d3c92124f5c21e4e3f19b181c42ce28d0f52f99398e7ba4a851d7068faa1c54627cb7f4987e258b4329b0b614950 SHA512 bdd8c8ce8841d96fc1ed63287d0f9bf0e8c07b0918449a231bb87debbe1820c890fc64864c41fb0cf07b15393e5cb5034b0e655f4200fb93144f08f4237ee1a3 EBUILD svxlink-17.12.2.ebuild 1795 BLAKE2B b46352f97710784cf73ecd7e4abbfc0f6087b503bd7c23d5cd295a83579b155048b7e15d62e8632b8dc09d9f81ba3897a38c035cf85082b7b23103c72400dd1c SHA512 4bca680ce3c89d77f0491f31f43f2436fe40e17e433735b71493c70ff299671eec036393f90c0f45ceb0979906d3e5c92598cdc7405dfa777af631a2596d6f67 +EBUILD svxlink-19.09.2.ebuild 1782 BLAKE2B 2d9cbe7a4b86151b94284b9b3c1ee62f2443555f774c4c3e8847b5305c28d413527dff227eca7739a1cd39653b3dd821cf1a2758f29ad1d2f4182a9da9e0e03b SHA512 4fe4a3b67a46d1763ec854e56381aa6f464b872e60c2fa5dc6eb73499d4829f6ef697b3bd56da9e1e29baf930ecc4a51145eafd5dda5b305487253d81fcf2dbb MISC metadata.xml 696 BLAKE2B 6bf4c1b0c6be3993885cf24eff479637cb6b99a6bc7b5c671637d12115c125fc63be37753bcaa4abe029504da13f5ed023a7de238ce1b386b4be3baf6944c72f SHA512 fcf27a9ed0fe5b05a6053a8ef965eb9e5a43c9c2510d59fdf14aa0144291ddff290e5a55c08403deffc31d1b5b43db1fb8d2fc92b4784c119341f7778052d4d2 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..6d392debf618 --- /dev/null +++ b/media-radio/svxlink/svxlink-19.09.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_MAKEFILE_GENERATOR=emake + +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_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 +} |