summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2021-06-25 10:47:05 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2021-06-25 10:47:05 +0200
commit504deaeeb866e8acba3e87f32676b95332dae2c8 (patch)
tree628af74b87d399953552721cfbab9f9ebe9cdefb /media-radio
parentsci-mathematics/fricas: bump to 1.3.7 (diff)
downloadgentoo-504deaeeb866e8acba3e87f32676b95332dae2c8.tar.gz
gentoo-504deaeeb866e8acba3e87f32676b95332dae2c8.tar.bz2
gentoo-504deaeeb866e8acba3e87f32676b95332dae2c8.zip
media-radio/fldigi: Version bump
Package-Manager: Portage-3.0.20, Repoman-3.0.3 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.19.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest
index fdc5d1d64cf4..6634b73cacda 100644
--- a/media-radio/fldigi/Manifest
+++ b/media-radio/fldigi/Manifest
@@ -1 +1,2 @@
DIST fldigi-4.1.18.tar.gz 4847091 BLAKE2B 5b5ab773a78370b3c6ea86d63af7631bea97b16c3eacdb3d3b4e1b18dbbe70c727afa2ddf04c1ca7934f483503b2373d5d94bf4fcd896ad52a843c723a7c5cd2 SHA512 4d7fef4d464fcedf075d226bae7fd7134cd7436d737e17b7e21607e5120c957a909d1775900dbfea608c68629409c04eaa70a399bef6cba27b6e12b255696633
+DIST fldigi-4.1.19.tar.gz 4900636 BLAKE2B 1fa8689bc3c0a8fff24514bd306c70815039b8610673e1834f6c2b567ef0c6e9170750ef208efd58c62fc2f872865ae30e64651c57eaeb14abc96896d73d0417 SHA512 68eaeb4879e58f648827d129fad7ccb799062ad220429f29afc6c75fd50794393bf31e130ba03628e409a2703d52598d2a04dfba8780960d32b132306cc177b4
diff --git a/media-radio/fldigi/fldigi-4.1.19.ebuild b/media-radio/fldigi/fldigi-4.1.19.ebuild
new file mode 100644
index 000000000000..179a9c3176ab
--- /dev/null
+++ b/media-radio/fldigi/fldigi-4.1.19.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 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
+}