commit:     c533932fc5670034eb422217b4c6d0b0d5c38fa5
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  1 08:07:06 2026 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sun Mar  1 08:07:43 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c533932f

media-radio/tucnak: add 4.71

Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 media-radio/tucnak/Manifest           |  1 +
 media-radio/tucnak/tucnak-4.71.ebuild | 74 +++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/media-radio/tucnak/Manifest b/media-radio/tucnak/Manifest
index 2841531a19ff..7a3f6dda34be 100644
--- a/media-radio/tucnak/Manifest
+++ b/media-radio/tucnak/Manifest
@@ -1 +1,2 @@
 DIST tucnak-4.70.tar.gz 7070082 BLAKE2B 
bbe006e63d021ee4663ad9cfeecf32b5264113fcbbe36abcd2c1486556b32ff06604cea478596b990c01cf9f77be562574f1775b2f39a55c5dc751d9dbaec605
 SHA512 
34001ad057253d4ae502277ea1e5b03c7cf090987a2b60d259ab5254d62ca9962dc4068762c073e0bd357e52eef7089584ee32313765da31eb5121ea56090de2
+DIST tucnak-4.71.tar.gz 7059379 BLAKE2B 
aabdfc3042ce383e6c6fcbe6be700a456600fd5e6c544061a65530b226f94472814b78b62c87079b4a4ba0c42a969635749041716d310986f9ea8977ec564397
 SHA512 
c551698c0035b4fab85ce9f59a16e491c289a6e2b8e073ffc83c283e204ae24ba3a646a53b63540c61b39450ab8c5074f93d78a6fa17bb0237e1a3170369ee33

diff --git a/media-radio/tucnak/tucnak-4.71.ebuild 
b/media-radio/tucnak/tucnak-4.71.ebuild
new file mode 100644
index 000000000000..2beb4064bfae
--- /dev/null
+++ b/media-radio/tucnak/tucnak-4.71.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit autotools flag-o-matic
+
+DESCRIPTION="Amateur Radio VHF Contest Logbook"
+HOMEPAGE="http://tucnak.nagano.cz";
+SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa fftw gpm hamlib portaudio rtlsdr suid"
+
+RDEPEND="dev-libs/glib:2
+       ~dev-libs/libzia-4.71
+       media-libs/libsndfile
+       media-libs/libsdl2
+       alsa? ( media-libs/alsa-lib )
+       fftw? ( sci-libs/fftw:3.0= )
+       gpm? ( sys-libs/gpm )
+       hamlib? ( media-libs/hamlib:= )
+       portaudio? ( media-libs/portaudio )
+       rtlsdr? ( net-wireless/rtl-sdr:= )"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+src_prepare() {
+       eapply_user
+       # fix destop file
+       sed -i -e "s/HamRadio/HamRadio;/" share/applications/tucnak.desktop || 
die
+       # fix doc install path
+       sed -i -e "s/docsdir/# docsdir/" \
+               -e "s/docs_DATA =/# docs_DATA/" \
+               -e "s/EXTRA_DIST =/# EXTRA_DIST =/" Makefile.am doc/Makefile.am 
|| die
+       eautoreconf
+}
+
+src_configure() {
+       append-ldflags -L/usr/$(get_libdir)/hamlib
+       econf $(use_with alsa) \
+               $(use_with gpm) \
+               $(use_with hamlib) \
+               $(use_with fftw fftw3) \
+               $(use_with portaudio) \
+               $(use_with rtlsdr) \
+               --without-hidapi
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       dodoc AUTHORS ChangeLog doc/NAVOD.pdf
+       if use suid ; then
+               fperms 4711 /usr/bin/soundwrapper
+       fi
+}
+
+pkg_postinst() {
+       elog "In order to use sound with tucnak add yourself to the 'audio' 
group"
+       elog "and to key your rig via the parport add yourself to the 'lp' 
group"
+       elog ""
+       elog "tucnak can be used with the following additional packages:"
+       elog "     media-radio/cwdaemon  : Morse output via code cwdaemon"
+       elog "                             (No need to recompile)"
+       if use suid ; then
+               ewarn "You have choosen to install the little helper program 
'soundwrapper'"
+               ewarn "setuid by setting USE=suid. That helper is only needed 
if you"
+               ewarn "want to use morse sidetone output via the PC speaker."
+               ewarn ""
+               ewarn "While the helper should be safe by design be aware that 
setting"
+               ewarn "any program setuid is a security risk."
+       fi
+}

Reply via email to