summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-radio/fldigi/Manifest1
-rw-r--r--media-radio/fldigi/fldigi-4.1.15.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest
index 9079bc1d158..632a32b811b 100644
--- a/media-radio/fldigi/Manifest
+++ b/media-radio/fldigi/Manifest
@@ -1,2 +1,3 @@
DIST fldigi-4.1.12.tar.gz 4790381 BLAKE2B 8be45c87bce298f91cb3975c8fe348b8ef39ea5ffe5eb719df496c075aa0773f8bf9b139312ea809057f926ffd27087fd41d350342f0f8ac198800a65178f367 SHA512 f74fd5915119d9d04a54260268d1dcd753ca50b48b388d2cc86a6ac2534ce0a0b1595124415b9aa19e518e58344a993510f5e9817f7893814821ebd3df7fa5ae
DIST fldigi-4.1.14.tar.gz 4792805 BLAKE2B 2f910c9eabb22dcc31e03fcebd5088edff9db128ab59ada553a3cd1016864a326204b7a082d1310c45ea682ed9264038e7e59a19ba68cf4ff5a30443b8033cd5 SHA512 b96a9d724087bacad93b6e729039ab67231ee6ebbd1b082c143e7bfb58f103012f98448f3ea0badabeeb748ed81d6d44e503b71bcb5ee6d0fa8108ab6d029d8d
+DIST fldigi-4.1.15.tar.gz 4838204 BLAKE2B 3eab05ba366457fe3b1452cca37b262ba07414619c36781512ae1063e87c764a2bd562f3b7ad4733d885835df778b9ba11eb6470aa84d99ad9f9b3e1ef3675c3 SHA512 6579b557c9ce7e878f1ba7e6f59e0f676b1baddff78a94bd4b76925204e9b5a871da3080c4c13122781cb2e77311f61e15c03c82fbdd34a845051093070e9ab0
diff --git a/media-radio/fldigi/fldigi-4.1.15.ebuild b/media-radio/fldigi/fldigi-4.1.15.ebuild
new file mode 100644
index 00000000000..7ded0b14db4
--- /dev/null
+++ b/media-radio/fldigi/fldigi-4.1.15.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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-c++11.patch )
+
+src_configure() {
+ 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
+}