summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2020-04-25 18:41:00 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2020-04-25 18:41:40 +0200
commitaa932051f04884047fc44d34c03d05842ad7d8bc (patch)
tree571768f4aafeff9cb2936652b60b9e81ee0a0ff8 /media-radio
parentmedia-radio/fldigi: Drop old (diff)
downloadgentoo-aa932051f04884047fc44d34c03d05842ad7d8bc.tar.gz
gentoo-aa932051f04884047fc44d34c03d05842ad7d8bc.tar.bz2
gentoo-aa932051f04884047fc44d34c03d05842ad7d8bc.zip
media-radio/fldigi: Version bump
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/fldigi/Manifest1
-rw-r--r--media-radio/fldigi/fldigi-4.1.12.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest
index d4073269cd41..0971e834c558 100644
--- a/media-radio/fldigi/Manifest
+++ b/media-radio/fldigi/Manifest
@@ -1,2 +1,3 @@
DIST fldigi-4.1.09.tar.gz 4778091 BLAKE2B 2053cccbe84141ee4b43149f043a9f66c568d962d6ef01a694e7dcb876d76e2a74d87158cd3e811b44b7495152b8fdb191098d55ac64793e8c76a0b26783bd0a SHA512 b4c284f599f7985205c8198df32f02fade55bfba6c4630b0c385f9f2d734ef0be11b5620e73324d88a5d5dfc4258c44c8e1759a57cd8da77186bb7d4277e1503
DIST fldigi-4.1.11.tar.gz 4792572 BLAKE2B 7f96b5f8e83af28f522f0dc55e794d3b5beef05c54c990fb6304c2cfbbc21adced39d29be24ccbc0a50bbb3d97e7c3d71530169ceeaf5aa59e52389462c6e135 SHA512 37e5a40ae67bcce3fe1480c6c9cbb7d56a4f6cbf6dd042d676524cc96007d487fd50027394655aa6ad44f583e3b36b13cb5e0af2da0656803368ad3a243b579b
+DIST fldigi-4.1.12.tar.gz 4790381 BLAKE2B 8be45c87bce298f91cb3975c8fe348b8ef39ea5ffe5eb719df496c075aa0773f8bf9b139312ea809057f926ffd27087fd41d350342f0f8ac198800a65178f367 SHA512 f74fd5915119d9d04a54260268d1dcd753ca50b48b388d2cc86a6ac2534ce0a0b1595124415b9aa19e518e58344a993510f5e9817f7893814821ebd3df7fa5ae
diff --git a/media-radio/fldigi/fldigi-4.1.12.ebuild b/media-radio/fldigi/fldigi-4.1.12.ebuild
new file mode 100644
index 000000000000..7ded0b14db4c
--- /dev/null
+++ b/media-radio/fldigi/fldigi-4.1.12.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
+}