summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio/fldigi/fldigi-4.0.15.ebuild')
-rw-r--r--media-radio/fldigi/fldigi-4.0.15.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/media-radio/fldigi/fldigi-4.0.15.ebuild b/media-radio/fldigi/fldigi-4.0.15.ebuild
new file mode 100644
index 000000000000..e180da8b5f4f
--- /dev/null
+++ b/media-radio/fldigi/fldigi-4.0.15.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+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"
+
+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-19_pre20071207
+ 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 )
+
+src_prepare() {
+ epatch "$FILESDIR"/$PN-c++11.patch
+}
+
+src_configure() {
+ econf --with-sndfile \
+ $(use_with hamlib) \
+ $(use_enable nls) \
+ $(use_with pulseaudio) \
+ --without-asciidoc
+}