public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Beierlein" <tomjbe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/tucnak/
Date: Thu,  5 May 2022 06:04:31 +0000 (UTC)	[thread overview]
Message-ID: <1651730607.241052b11983a2f2764be9ff8ed8113a2e313f40.tomjbe@gentoo> (raw)

commit:     241052b11983a2f2764be9ff8ed8113a2e313f40
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Thu May  5 06:01:14 2022 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Thu May  5 06:03:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=241052b1

media-radio/tucnak: add 4.36

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

 media-radio/tucnak/Manifest           |  1 +
 media-radio/tucnak/tucnak-4.36.ebuild | 68 +++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/media-radio/tucnak/Manifest b/media-radio/tucnak/Manifest
index c207b07dc7c0..12eb95a8a852 100644
--- a/media-radio/tucnak/Manifest
+++ b/media-radio/tucnak/Manifest
@@ -1 +1,2 @@
 DIST tucnak-4.34.tar.gz 3596477 BLAKE2B 530b1e18167e7704b1596dc606f9c352fa761c6e3e060ff88e8dfb744c25faaf0b3840e89d2fad1747cb6dfd688f92222b4553731545d59d00dc8ad01f0c77bf SHA512 860c6887ba004d8efad8d6cd60951f744f772ca4ac6022a7f1b484eb43778eeba8f3426447b9a656dc321816e0b8dfb05906868e6122edaa26a7f3c2679ceb74
+DIST tucnak-4.36.tar.gz 3601081 BLAKE2B 76dfb5a319309203ef452e1e4faff5c47208b5c7f66fb63d9dbf45a6a3a63b35f788d0a05931db44965be6593c5eca1a26c23dcc50e79fd9a70446083f2644b1 SHA512 dee0c6b60ccd66b81257dbc04ead8b9a7df1a77a6c5a73503bcdf8012b8a59318ad8e96ba5a25d6e38ac995312acac23fdf62c5d6d2ad036bc029a691c1a350d

diff --git a/media-radio/tucnak/tucnak-4.36.ebuild b/media-radio/tucnak/tucnak-4.36.ebuild
new file mode 100644
index 000000000000..358be0cafa27
--- /dev/null
+++ b/media-radio/tucnak/tucnak-4.36.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 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 suid"
+
+RDEPEND="dev-libs/glib:2
+	dev-libs/libzia
+	media-libs/libsndfile
+	>=media-libs/libsdl-1.2
+	alsa? ( media-libs/alsa-lib )
+	fftw? ( sci-libs/fftw:3.0 )
+	gpm? ( sys-libs/gpm )
+	hamlib? ( media-libs/hamlib:= )"
+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)
+}
+
+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	other threads:[~2022-05-05  6:04 UTC|newest]

Thread overview: 107+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-05  6:04 Thomas Beierlein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-26  9:40 [gentoo-commits] repo/gentoo:master commit in: media-radio/tucnak/ Thomas Beierlein
2024-10-11 15:54 Thomas Beierlein
2024-09-05 12:22 Sam James
2024-09-05 12:22 Sam James
2024-07-29 13:43 Thomas Beierlein
2024-06-22 14:40 Thomas Beierlein
2024-05-30 18:06 Thomas Beierlein
2024-05-29 11:47 Sam James
2024-05-29 11:47 Sam James
2024-05-28 17:16 Thomas Beierlein
2024-04-17  6:54 Sam James
2024-04-13  6:48 Arthur Zamarin
2024-04-12 17:21 Thomas Beierlein
2024-03-12  7:35 Thomas Beierlein
2024-03-12  7:35 Thomas Beierlein
2024-03-10 13:19 Sam James
2024-03-10 12:04 Arthur Zamarin
2024-01-31 14:50 Thomas Beierlein
2024-01-31 14:15 Thomas Beierlein
2024-01-08 13:08 Thomas Beierlein
2024-01-08 13:08 Thomas Beierlein
2024-01-06  9:50 Michał Górny
2024-01-06  9:02 Sam James
2023-11-25 16:37 Thomas Beierlein
2023-11-09 20:09 Thomas Beierlein
2023-11-09 20:09 Thomas Beierlein
2023-11-08 20:23 Arthur Zamarin
2023-11-08 20:23 Arthur Zamarin
2023-10-03 14:57 Thomas Beierlein
2023-07-29  2:24 Sam James
2023-07-28 18:56 Sam James
2023-06-18 11:08 Thomas Beierlein
2023-06-18 11:06 Thomas Beierlein
2023-06-10 13:35 Sam James
2023-06-10 13:35 Sam James
2023-04-30 14:53 Thomas Beierlein
2023-03-27 11:54 Thomas Beierlein
2023-03-07 12:36 Thomas Beierlein
2023-01-29 15:48 Thomas Beierlein
2023-01-28 17:41 Arthur Zamarin
2023-01-28 17:04 Jakov Smolić
2022-12-22  7:53 Thomas Beierlein
2022-12-21 13:39 Thomas Beierlein
2022-10-24 17:00 Thomas Beierlein
2022-07-07 19:44 Sam James
2022-07-07 19:44 Sam James
2022-05-05  5:55 Thomas Beierlein
2022-01-29 21:54 Jakov Smolić
2022-01-29 21:42 Jakov Smolić
2021-12-27 15:59 Thomas Beierlein
2021-12-23 11:47 Thomas Beierlein
2021-11-11 17:57 Jakov Smolić
2021-10-14 16:16 Thomas Beierlein
2021-10-10 17:18 Thomas Beierlein
2021-09-26 14:57 Thomas Beierlein
2021-09-25 23:46 Sam James
2021-09-24 22:47 Sam James
2021-07-15  5:26 Thomas Beierlein
2021-06-29 18:05 Thomas Beierlein
2021-05-30  0:06 Sam James
2021-05-30  0:06 Sam James
2021-05-29 17:51 Thomas Beierlein
2021-04-27 18:07 Thomas Beierlein
2021-04-17 18:10 Thomas Beierlein
2021-04-17 18:10 Thomas Beierlein
2021-03-28 18:18 Sam James
2021-03-28 18:18 Sam James
2021-03-11 15:40 Thomas Beierlein
2021-02-04 18:15 Thomas Beierlein
2020-12-25 14:49 Thomas Beierlein
2020-12-13 18:57 Thomas Beierlein
2020-11-20  1:34 Thomas Deutschmann
2020-11-19 22:58 Sam James
2020-10-07  7:09 Agostino Sarubbo
2020-10-07  6:42 Agostino Sarubbo
2020-09-26 11:44 Thomas Beierlein
2020-08-28 16:27 Thomas Beierlein
2020-07-22 13:23 Thomas Beierlein
2020-07-19 12:18 Agostino Sarubbo
2020-07-17 15:17 Agostino Sarubbo
2020-05-23 14:48 Thomas Beierlein
2020-04-25 16:32 Thomas Beierlein
2020-04-13 10:20 Agostino Sarubbo
2020-04-13  8:58 Agostino Sarubbo
2020-01-31 12:29 Thomas Beierlein
2020-01-21 18:18 Thomas Beierlein
2020-01-21 18:14 Thomas Beierlein
2019-12-30 12:29 Agostino Sarubbo
2019-12-26 18:45 Agostino Sarubbo
2019-10-27 17:21 Thomas Beierlein
2019-09-03  5:32 Thomas Beierlein
2019-09-03  5:32 Thomas Beierlein
2019-08-23 10:37 Agostino Sarubbo
2019-08-23 10:03 Agostino Sarubbo
2019-05-20 11:18 Mikle Kolyada
2019-05-19 15:48 Thomas Deutschmann
2019-04-19 13:13 Thomas Beierlein
2019-04-19 13:13 Thomas Beierlein
2018-12-04 17:36 Thomas Beierlein
2018-12-04 17:06 Mikle Kolyada
2018-11-27 21:55 Thomas Deutschmann
2018-07-14  8:13 Thomas Beierlein
2018-06-16 11:10 Thomas Beierlein
2017-12-19 13:48 Jason Zaman
2017-12-08 19:02 Thomas Beierlein
2017-10-13 13:57 Thomas Beierlein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1651730607.241052b11983a2f2764be9ff8ed8113a2e313f40.tomjbe@gentoo \
    --to=tomjbe@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox