summaryrefslogtreecommitdiff
path: root/media-radio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-14 15:21:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-14 15:21:15 +0100
commit1c382dc5dbc52576ac2300fee0498af8af44e7b4 (patch)
tree45d2492f5c659cbb01120d4192c9be34841362bd /media-radio
parentb9e8f3cc44aed3b6da71c7510c6287bf7bbbc66b (diff)
Revert "gentoo auto-resync : 14:06:2023 - 15:13:45"
This reverts commit b9e8f3cc44aed3b6da71c7510c6287bf7bbbc66b.
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/Manifest.gzbin5029 -> 5029 bytes
-rw-r--r--media-radio/tucnak/Manifest7
-rw-r--r--media-radio/tucnak/files/tucnak-4.40-configure.patch22
-rw-r--r--media-radio/tucnak/tucnak-4.39.ebuild68
-rw-r--r--media-radio/tucnak/tucnak-4.40-r1.ebuild71
-rw-r--r--media-radio/tucnak/tucnak-4.42.ebuild68
6 files changed, 236 insertions, 0 deletions
diff --git a/media-radio/Manifest.gz b/media-radio/Manifest.gz
index 24dc10ba23d8..fd495fa08bf8 100644
--- a/media-radio/Manifest.gz
+++ b/media-radio/Manifest.gz
Binary files differ
diff --git a/media-radio/tucnak/Manifest b/media-radio/tucnak/Manifest
index 969949f7b481..135e0e068ad1 100644
--- a/media-radio/tucnak/Manifest
+++ b/media-radio/tucnak/Manifest
@@ -1,3 +1,10 @@
+AUX tucnak-4.40-configure.patch 573 BLAKE2B 152d0ddf8a5559c86bde2b3827dd1ddd14be5a8110817d7748bd880bb04bcb334adce3e600561ceaa0e1f0c9bb2b8d9954fa48da4b87497eff5277a87cf8262e SHA512 208124e50cfa663f6654d50c84757bb6ec80791eba3752fd74bea0b97d6ae9a03eab09dca5ef50a04d8161ab33108703b37b763a8641786e20c7ec31771b61d9
+DIST tucnak-4.39.tar.gz 3603142 BLAKE2B 21d7e90f7e84628550e8db8bf270fcc31df2d09490ece7625b34c06c01c7672c841b08e8146754af470c1fc26d612ebefb3cf30dec4a32458cbfc173e6ffc9db SHA512 950d2014579287f3e9a0ea34e2e25ae169170ba8469a48eb2b49b38bf6d5e7246fa6a01f43531d8faa5f3577bbf62181eaa5eb6f11c244e309ee6e8ce2c16c66
+DIST tucnak-4.40.tar.gz 3603819 BLAKE2B 968fe3dca29989b3fac5a00a9ba5670778bb8379c08ff86af7449f1ccb498b70cc652368e57157d15a1b6ffcbcef07ad31909552b1f755376656cbc228e5c5c6 SHA512 9e709f18dd530b963a7868ded16e6f310b904a7c8d2cf8a1455377ce0a97db86da0199ed65da1e2409fe197ae55329885de87c0b1376d6967f853983810cf636
+DIST tucnak-4.42.tar.gz 3607419 BLAKE2B f9de386a40c9fbef4b73571be19aa6042ed0878cf12ea7749946590278d5f27cd6492f16d5f30b7d7e3cf04e1d91afe8cd9a9dab8361421fc9e7f2decaaead0c SHA512 a602e1853513b6a2289a616b36048afd3d5131f8d06797536a4cf227d866b11fbb4f3f6d19ae52de9f42a87b34d5169252e8c85b47e39b6aff09876379284e48
DIST tucnak-4.43.tar.gz 3607575 BLAKE2B 96aba674db8357cf86c870ccdb45f0d1c466a0dd2c446b066146935eee68a47352abd21f550d8d882496be153554ac0db5afbe40dfff285a557792c14271ccd5 SHA512 98f70b1c90218f97fdac8cd03029023cc5bc0909036a419664b72eebf03280b9aefee4321efff78b43da75c9e1c6559d04df06e39edf9fa753d3e3a372f16caa
+EBUILD tucnak-4.39.ebuild 1960 BLAKE2B 2dbb2c6df165a35703ac96e1bfb1ea8296bde955eedbb3580ad4116ef2c6ce1eceb28011c0ff9376898ff9b5ecd141ee9f1cbaf63c7ab99edf4503cc676d0c94 SHA512 470a8a321ad763f74c502b5bc63ac019dd3cf29fa15c43a04dc452131ffb93b86aac97f2f27ea987414fed776430d97ad2cac8a6e15068ce8dad74027065c569
+EBUILD tucnak-4.40-r1.ebuild 2039 BLAKE2B 65bafb4ef069f17743bc40108aa70fafa5f6e3b1cb7c09efbcb1dc8a47d0332f8e4e4d3b72305d4633fa8aa5422f281d406587384c95254ca9c8b1a6f0b2b5a6 SHA512 70d95b826db3e61b5c238d5ab29a4052ef0c01a267840519cf21fc111d6fedd711c8f18502bfb587706a8b5622125dbceb60a1443d3a06de6e6d50d86dfc748f
+EBUILD tucnak-4.42.ebuild 1962 BLAKE2B 1fc0bc3361f5686caa6f01ac29513f92af0389f4222eb8bce3056ca703896b5d52b966b11df40892abccca7ee352e348b266628c7103b4c8c7edfe88adf3d15d SHA512 b66bf63d19425892046b0908d443263beaa330ff1a20d887ef95699cc90c6fb8e4143d0e040b6136fe610a7f07a1695a570e95a47dafbbdf51f148f18ce64a32
EBUILD tucnak-4.43.ebuild 1960 BLAKE2B 80348e3e1bb8f33e0a3a9dd8e9922afec9230aac5c9cfbf8878c95c9baf555e7b144567613d4e820938e71ab8af149370a7e6e26e9f098c43a212686600823e8 SHA512 9aed00c5fa6e2cf8145060a71b188174e996fe98887c03d4e224117de46a3bb04249df3a43f26004145989b538a94fc459884505ec1b4a842af3a92468014afb
MISC metadata.xml 409 BLAKE2B 8179722b95bb5d639bbf3755eac5ec6d3a2492d117a9af0edd5aba1910974f7ca99c35bf759f9c44a6ee59d18a4b7088c1f009abf0dbdfbafd04f6c3a6875b3a SHA512 e07f3bbf055dfafb6d6fb2596fe20bdb0aaccb8960fc5d1ad5ea372a51baafb75458571729f99afc1086fcc596aa35cd22aafbc9af4d422dba2aba1243c93422
diff --git a/media-radio/tucnak/files/tucnak-4.40-configure.patch b/media-radio/tucnak/files/tucnak-4.40-configure.patch
new file mode 100644
index 000000000000..c7a83a892ce9
--- /dev/null
+++ b/media-radio/tucnak/files/tucnak-4.40-configure.patch
@@ -0,0 +1,22 @@
+# fix implicit function declaration in configure.ac
+# Bug 899844
+diff --git a/configure.ac b/configure.ac
+index c3ebffb..29abf94 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -664,6 +664,7 @@ AC_TRY_RUN([
+ #define AUTOCONF_TEST 1
+ #include <sys/ioctl.h>
+ #include "confdefs.h"
++#include <stdlib.h>
+ int cmp(const struct dirent **a, const struct dirent **b){return 0;}
+ int main(){
+ char c[2];
+@@ -684,6 +685,7 @@ AC_TRY_RUN([
+ #define AUTOCONF_TEST 1
+ #include <sys/socket.h>
+ #include "confdefs.h"
++#include <stdlib.h>
+ int main(){
+ socklen_t tmp;
+ exit(0);
diff --git a/media-radio/tucnak/tucnak-4.39.ebuild b/media-radio/tucnak/tucnak-4.39.ebuild
new file mode 100644
index 000000000000..badeb5996df5
--- /dev/null
+++ b/media-radio/tucnak/tucnak-4.39.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.39
+ 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
+}
diff --git a/media-radio/tucnak/tucnak-4.40-r1.ebuild b/media-radio/tucnak/tucnak-4.40-r1.ebuild
new file mode 100644
index 000000000000..2c8e4466e90b
--- /dev/null
+++ b/media-radio/tucnak/tucnak-4.40-r1.ebuild
@@ -0,0 +1,71 @@
+# 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.40
+ 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"
+
+PATCHES=( "${FILESDIR}"/${PN}-${PV}-configure.patch )
+
+src_prepare() {
+ eapply_user
+ eapply ${PATCHES[@]}
+ # 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
+}
diff --git a/media-radio/tucnak/tucnak-4.42.ebuild b/media-radio/tucnak/tucnak-4.42.ebuild
new file mode 100644
index 000000000000..b1d9c79e457a
--- /dev/null
+++ b/media-radio/tucnak/tucnak-4.42.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.42
+ 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
+}