summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-05-08 13:39:55 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2022-05-08 13:40:28 +0200
commit0b0ddedecbcca42529693110a6d6ad55bebc19a4 (patch)
tree4b9c9929970083c90ba6001b35851d8d030e815c /media-radio/fldigi
parentdev-libs/intel-compute-runtime: add 22.18.23063 (diff)
downloadgentoo-0b0ddedecbcca42529693110a6d6ad55bebc19a4.tar.gz
gentoo-0b0ddedecbcca42529693110a6d6ad55bebc19a4.tar.bz2
gentoo-0b0ddedecbcca42529693110a6d6ad55bebc19a4.zip
media-radio/fldigi: add 4.1.22
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/fldigi')
-rw-r--r--media-radio/fldigi/Manifest1
-rw-r--r--media-radio/fldigi/fldigi-4.1.22.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest
index 80606342f032..ea3a62e474bc 100644
--- a/media-radio/fldigi/Manifest
+++ b/media-radio/fldigi/Manifest
@@ -1 +1,2 @@
DIST fldigi-4.1.20.tar.gz 4906451 BLAKE2B ed12be269828a1c8a9b1eeab470981ca95d47a330a9eec098c6ce241e36a18bfaf5d36eecb480542aff128c7b7f6b06d85af1a37f30a9b721ed1712cf90a4df3 SHA512 97c4ae9d0721a3d264af55483e9e3e6dd22e33c879d60f7818489c2e8eb0f0615f8698c67c39fa066b05baccd75c06e1988d9f7ea3dc180158da77ed604a0d0f
+DIST fldigi-4.1.22.tar.gz 4934496 BLAKE2B 9db73c51acba4fe521c9acc90a7dcd5728aae8a0bf596c6d10831de2ba66bb1661bdff0be499585379db6951cc4312aae27491681b3325da41d36ae1dcae003a SHA512 e5b724afdd16b25d366ccfc549b4c39e7eed58c19fbf189d53bade0e27695d63124c5a1e02df7e256ce5ce145e85ba77e86da357faa6ccda8167c20698e70536
diff --git a/media-radio/fldigi/fldigi-4.1.22.ebuild b/media-radio/fldigi/fldigi-4.1.22.ebuild
new file mode 100644
index 000000000000..aa6226f74f7f
--- /dev/null
+++ b/media-radio/fldigi/fldigi-4.1.22.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic
+
+DESCRIPTION="Sound card based multimode software modem for Amateur Radio use"
+HOMEPAGE="http://www.w1hkj.com"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="hamlib nls pulseaudio"
+IUSE_CPU_FLAGS=" sse sse2 sse3"
+IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"
+
+RDEPEND="x11-libs/fltk:1[threads,xft]
+ media-libs/libsamplerate
+ media-libs/libpng:0
+ x11-misc/xdg-utils
+ dev-perl/RPC-XML
+ dev-perl/Term-ReadLine-Perl
+ || (
+ media-libs/portaudio[oss]
+ media-libs/portaudio[alsa]
+ )
+ hamlib? ( media-libs/hamlib:= )
+ pulseaudio? ( media-sound/pulseaudio )
+ >=media-libs/libsndfile-1.0.10"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+PATCHES=( "${FILESDIR}/${PN}-4.1.20-musl.patch" )
+
+src_prepare() {
+ eapply ${PATCHES[@]}
+ eapply_user
+}
+
+src_configure() {
+ append-cxxflags $(test-flags-CXX -std=c++14)
+ local myconf=""
+
+ use cpu_flags_x86_sse && myconf="${myconf} --enable-optimizations=sse"
+ use cpu_flags_x86_sse2 && myconf="${myconf} --enable-optimizations=sse2"
+ use cpu_flags_x86_sse3 && myconf="${myconf} --enable-optimizations=sse3"
+
+ econf ${myconf} \
+ --with-sndfile \
+ $(use_with hamlib) \
+ $(use_enable nls) \
+ $(use_with pulseaudio) \
+ --without-asciidoc
+}