summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2024-04-24 14:01:14 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2024-04-24 14:02:01 +0200
commite59779d1967da7e63dfe69bc31c786cc96165b39 (patch)
tree119215b4771ef3186636cf479f1b6c8a79f8a787 /media-radio
parentnet-mail/mailbox-count: trim down longdescription (diff)
downloadgentoo-e59779d1967da7e63dfe69bc31c786cc96165b39.tar.gz
gentoo-e59779d1967da7e63dfe69bc31c786cc96165b39.tar.bz2
gentoo-e59779d1967da7e63dfe69bc31c786cc96165b39.zip
media-radio/fldigi: add 4.2.05
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.2.05.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest
index 6d2e6fe3cc3e..6ffec819a8ae 100644
--- a/media-radio/fldigi/Manifest
+++ b/media-radio/fldigi/Manifest
@@ -1,2 +1,3 @@
DIST fldigi-4.2.03.tar.gz 4979861 BLAKE2B fdff1c211bb40acc570e3ec316a02772b4cb378b2983ae24fa4fea9486847c5a4453abb90ee7203fe07e2ea2c685c0ff3e41d68d186f3ec2e8de4397ce609675 SHA512 fc2c0ffe0df83870617e88f7d5ba797440f10a6f3bfa7eaf202c8c94cc4df0319ef5d7212e203998bec08cffcea4e83762ffcd726b28225779cc5666ce722edf
DIST fldigi-4.2.04.tar.gz 5118463 BLAKE2B 9c3f51c4ad7a08c9ce26230f59e7ecbf7a2a3d1734905afbb130145a425bd83c6d11478dddce6499c229d3b87f4670ef94f87ffe34e96168761e2f705464ebf4 SHA512 609f687e47022822674b0188f16ce997712ce2ae605ef915507acf9531edf7c4d4c18dd7df96e3302b3c83bd8abe40afe79232ac1b59fa7014e5e8415784f2b2
+DIST fldigi-4.2.05.tar.gz 5127250 BLAKE2B 54a144e34da47c5379256c4ece67447815c29500331e29ccce884885daa96650d6ec098839eb97d13a641d8d0078a9656c9d443016a2acc98fbe7b78c98ca6f9 SHA512 46281e65dad24c57ea344182ed053ddea70281b1682d2fe6b40aa1f111c529328c7e1e4de86828ac265ed4523882d086f5213706159fc43b61f15989fdd9d407
diff --git a/media-radio/fldigi/fldigi-4.2.05.ebuild b/media-radio/fldigi/fldigi-4.2.05.ebuild
new file mode 100644
index 000000000000..cbbcbb8b6895
--- /dev/null
+++ b/media-radio/fldigi/fldigi-4.2.05.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic
+
+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-libs/libpulse )
+ >=media-libs/libsndfile-1.0.10"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+PATCHES=( "${FILESDIR}/${PN}-drop-nullptr-definition.patch" )
+
+src_prepare() {
+ eapply ${PATCHES[@]}
+ eapply_user
+}
+
+src_configure() {
+ #fails to compile with -flto (bug #860405)
+ filter-lto
+
+ append-cxxflags $(test-flags-CXX -std=c++14)
+ 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
+}