diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-03 17:49:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-03 17:49:12 +0100 |
commit | c99c2410831577bef101e22948e954f85f56cba1 (patch) | |
tree | 3a441417709f2a7a24673267462b405615c5df40 /media-radio/tucnak | |
parent | 8e3f5a0e42ba2822463660764321da4ed3b52ef9 (diff) |
gentoo auto-resync : 03:10:2023 - 17:49:12
Diffstat (limited to 'media-radio/tucnak')
-rw-r--r-- | media-radio/tucnak/Manifest | 2 | ||||
-rw-r--r-- | media-radio/tucnak/tucnak-4.46.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/media-radio/tucnak/Manifest b/media-radio/tucnak/Manifest index 4958bf624435..5a4df787ae64 100644 --- a/media-radio/tucnak/Manifest +++ b/media-radio/tucnak/Manifest @@ -1,5 +1,7 @@ DIST tucnak-4.43.tar.gz 3607575 BLAKE2B 96aba674db8357cf86c870ccdb45f0d1c466a0dd2c446b066146935eee68a47352abd21f550d8d882496be153554ac0db5afbe40dfff285a557792c14271ccd5 SHA512 98f70b1c90218f97fdac8cd03029023cc5bc0909036a419664b72eebf03280b9aefee4321efff78b43da75c9e1c6559d04df06e39edf9fa753d3e3a372f16caa DIST tucnak-4.44.tar.gz 3613373 BLAKE2B 9bd9ae37c3adadfe5f52b3d1c848427607a44a7527f0493dc5acc674acd358cc100a29658f981248275008b7227957cdd031da80fe622acfa24d482101407bb6 SHA512 ae6115ba4b1d90e63a47ac9e1d659836287bfbd8b616543134152756322d6c794bc795a3fdd9d4cf11869828c8bf81927c3fa71fcc8699d123c6e58cb7d9865c +DIST tucnak-4.46.tar.gz 3617927 BLAKE2B 090a962c686e0de83d41c4fb017caaf9482d2058909164a97db4eb7e4bfd4d8fe19e21cc750f31493e4bf64454fa8d03f65b55da58749257601dba64b1476c8e SHA512 9c33c9dd7061d0ab2cb696ccf121145ebc60e0f8b2a29152ec6e59155af186c20d101cce698d48b8d669f64c8ee4b88d57d1896b574e9e250853a2bc45029d06 EBUILD tucnak-4.43.ebuild 1960 BLAKE2B 80348e3e1bb8f33e0a3a9dd8e9922afec9230aac5c9cfbf8878c95c9baf555e7b144567613d4e820938e71ab8af149370a7e6e26e9f098c43a212686600823e8 SHA512 9aed00c5fa6e2cf8145060a71b188174e996fe98887c03d4e224117de46a3bb04249df3a43f26004145989b538a94fc459884505ec1b4a842af3a92468014afb EBUILD tucnak-4.44.ebuild 1960 BLAKE2B ffb750a8f0d80f20d98a003919d9a4514cc7f13d8333db5f4bd64e2df96671f50abfc4b628e2ffcc5192f2b261a79f7901b61d511b9716f7c31468c77febf745 SHA512 8984c177b6dc3b49ce869e80a38d5698623f9d85a852f16a97f6a1fbc5f3be0e971680c5e251b16cd2773a0281c9c577fb70702b775aff50e809f7e117f59ced +EBUILD tucnak-4.46.ebuild 1962 BLAKE2B fdba8de1362a5cffef9ad4ad57a28d9085db0cd2ff01ae863e53cf6c6743c9f22b8bc4a054ba28e007e3a1f934cefed72913b97c23415fd3701840e90df76e7d SHA512 7df0aca37797bafa3dc92ec4f292e2aa3390fc6c97863e19ff76aca8067056e9256c35382e16323c4f85ccfc0d4442cf33d5b526ca781147b201628391d7f52e MISC metadata.xml 409 BLAKE2B 8179722b95bb5d639bbf3755eac5ec6d3a2492d117a9af0edd5aba1910974f7ca99c35bf759f9c44a6ee59d18a4b7088c1f009abf0dbdfbafd04f6c3a6875b3a SHA512 e07f3bbf055dfafb6d6fb2596fe20bdb0aaccb8960fc5d1ad5ea372a51baafb75458571729f99afc1086fcc596aa35cd22aafbc9af4d422dba2aba1243c93422 diff --git a/media-radio/tucnak/tucnak-4.46.ebuild b/media-radio/tucnak/tucnak-4.46.ebuild new file mode 100644 index 000000000000..4e836bf30bfc --- /dev/null +++ b/media-radio/tucnak/tucnak-4.46.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 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-4.46 + 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:= )" +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 +} |