diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2024-07-01 21:35:54 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2024-07-01 21:35:54 +0200 |
commit | dc85ab1eb4b0550af396bb88a23c43690166c925 (patch) | |
tree | ddb2d902048be83b002e6c3fcb93cb9d138abf0c /media-radio | |
parent | sys-apps/systemd: update pkg_pretend check (diff) | |
download | gentoo-dc85ab1eb4b0550af396bb88a23c43690166c925.tar.gz gentoo-dc85ab1eb4b0550af396bb88a23c43690166c925.tar.bz2 gentoo-dc85ab1eb4b0550af396bb88a23c43690166c925.zip |
media-radio/svxlink: add 24.02
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/svxlink/Manifest | 1 | ||||
-rw-r--r-- | media-radio/svxlink/svxlink-24.02.ebuild | 85 |
2 files changed, 86 insertions, 0 deletions
diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest index 37bcc24ce109..601e6c0d9b13 100644 --- a/media-radio/svxlink/Manifest +++ b/media-radio/svxlink/Manifest @@ -1 +1,2 @@ DIST svxlink-19.09.2.tar.gz 1730836 BLAKE2B 7fe8a1b018dba7837486dbed21242d8514a1f546b5eecbd2d2bfdf620d7e093cddbedab17f19d5f2cbd79c9a66825713c45a981335f0b526ba0946e764efc535 SHA512 f3c8b29953da3b2f61eba528a07152f40a2aca2efe511cb98637b1ef77fa676e506a3f4766edb81069f13333ddbae2d39f679874455b05286d3daf96a903e1c1 +DIST svxlink-24.02.tar.gz 1974323 BLAKE2B ca743d8356bdcde85bc560015ffa51f97f8fa1bcbbe6972f1789b68dbda33210cc2194f950b0ead57272963de67244bb57a6cbb546e3091215d288cdb6a16c2a SHA512 7bd8d9bf272922ec5d4b134ca1d5ee9cb1f9713c5cb9985aed5f63e601425bb6b6a17de026095c9cbb83797cf58228bcf05284c5a87384b4d019f6c27ac3e848 diff --git a/media-radio/svxlink/svxlink-24.02.ebuild b/media-radio/svxlink/svxlink-24.02.ebuild new file mode 100644 index 000000000000..6a9e245becf4 --- /dev/null +++ b/media-radio/svxlink/svxlink-24.02.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_MAKEFILE_GENERATOR=emake + +inherit cmake flag-o-matic systemd xdg-utils + +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" + +DEPEND="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="${DEPEND} + acct-group/svxlink + acct-user/svxlink" +BDEPEND=" + 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() { + # -Wodr warnings, see bug #860414 + filter-lto + + local mycmakeargs=( + -DSYSCONF_INSTALL_DIR=/etc + -DLOCAL_STATE_DIR=/var + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + fowners -R svxlink:svxlink /var/spool/svxlink + + 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 +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} |