summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2019-01-31 07:42:06 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2019-01-31 07:42:06 +0100
commit3e6d512d9ef4534d058cefbf26f4403425e70585 (patch)
tree29de9df07ca0fc521b8a7dccb7ab926717046557 /media-radio/fldigi
parentmedia-radio/fldigi: Drop old (diff)
downloadgentoo-3e6d512d9ef4534d058cefbf26f4403425e70585.tar.gz
gentoo-3e6d512d9ef4534d058cefbf26f4403425e70585.tar.bz2
gentoo-3e6d512d9ef4534d058cefbf26f4403425e70585.zip
media-radio/fldigi: Version bump
Package-Manager: Portage-2.3.59, Repoman-2.3.12 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.00.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest
index 2e31aef308a2..61c8d062ff9c 100644
--- a/media-radio/fldigi/Manifest
+++ b/media-radio/fldigi/Manifest
@@ -1 +1,2 @@
DIST fldigi-4.0.18.tar.gz 3757912 BLAKE2B f50f9233bf077c8d53bafffe153c319778fc0f0efa5123b1c6169bce70f91bb6cd799944486b4c2eb31ecdf0f15e75d9d6b700d6c21f4a256382d947d4e14f68 SHA512 b585845b83b8f108a0aefa108349a73e53378e39c545d426c5846dc451653bcbc13d2239e33e69e6045eaeb605c4ac7dc1ae3e9cc0173962f6e0cb86bc6a4f5c
+DIST fldigi-4.1.00.tar.gz 3916169 BLAKE2B d41d254eb42ea4ae5cc361faf637e471b1d6ebdc08e1b2b1f9ff21e5467bbd399e219c0b350429cf68e5cc75d75492dd5614bf8630abca81376e8a6da544e90d SHA512 49673c1a45bc438ce38dd539e926f7700f6b06364a1a53592ace21387751eb782936cc619a08d94315cca33872cd9874d090d3503b087252f69a9ef99fbb392f
diff --git a/media-radio/fldigi/fldigi-4.1.00.ebuild b/media-radio/fldigi/fldigi-4.1.00.ebuild
new file mode 100644
index 000000000000..8f56029eafdc
--- /dev/null
+++ b/media-radio/fldigi/fldigi-4.1.00.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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
+}