diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2023-11-09 21:43:06 +0100 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2023-11-09 21:43:55 +0100 |
commit | d7854cc4566de0626b2cedaf8c38a8954a497e10 (patch) | |
tree | fd5b7285d07e500e065df6d343f8c2b6735c273b /media-radio | |
parent | media-radio/flrig: add 2.0.04 (diff) | |
download | gentoo-d7854cc4566de0626b2cedaf8c38a8954a497e10.tar.gz gentoo-d7854cc4566de0626b2cedaf8c38a8954a497e10.tar.bz2 gentoo-d7854cc4566de0626b2cedaf8c38a8954a497e10.zip |
media-radio/fldigi: add 4.2.03
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/fldigi/Manifest | 1 | ||||
-rw-r--r-- | media-radio/fldigi/fldigi-4.2.03.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest index 7eabebb91677..f6a526551416 100644 --- a/media-radio/fldigi/Manifest +++ b/media-radio/fldigi/Manifest @@ -1,3 +1,4 @@ DIST fldigi-4.1.26.tar.gz 4964877 BLAKE2B 73048df0543b10602c7b49d8e5b426d20d4c563f3f2d3d5bd9cc5f91e071c429931e4f6307df8b256b3ab2be45c8023765cd0719a70310733c478b38d44fda0d SHA512 dee7cd8ce2a89ea6837a4515ef93c3e27d9674bbbb87f121b42c682bcd47e996de860796e45cd86ebfad5812569bbdc7c995a32953881987c84a6f8402b85faf DIST fldigi-4.1.27.tar.gz 4969090 BLAKE2B ddebcdb4193e42a23b5a74318aae1a2e82e68ba2ef294ae11042a06c6de54633412b8da82d70a166d629a4e8cc53315424398eb391f67ea010f00d96d6b4527f SHA512 fc4bf2cc6287bf11816bd0102c5ec0785cdc7ef6cb06358353ad683e7a50dbee86539239bbaa42bfea08943e608edac1aafc15c78fe62721c5655402842a8187 DIST fldigi-4.2.00.tar.gz 4973115 BLAKE2B 365e98252d808b96d083451c92ad6d50243994966e2ad71dba0fc1dc83cacd50ce39a56938fa107d5abfa6df8be2d687898a9bb6183522972d8a2d16d0547709 SHA512 4f441872713930044f5e7f7df7dc51cd166bef314f5eaa6f414894af5fbdc417b7c62fea7a8b62f858eefb82e1a8fd821bf563789ed1f2f56cb721120ade6bde +DIST fldigi-4.2.03.tar.gz 4979861 BLAKE2B fdff1c211bb40acc570e3ec316a02772b4cb378b2983ae24fa4fea9486847c5a4453abb90ee7203fe07e2ea2c685c0ff3e41d68d186f3ec2e8de4397ce609675 SHA512 fc2c0ffe0df83870617e88f7d5ba797440f10a6f3bfa7eaf202c8c94cc4df0319ef5d7212e203998bec08cffcea4e83762ffcd726b28225779cc5666ce722edf diff --git a/media-radio/fldigi/fldigi-4.2.03.ebuild b/media-radio/fldigi/fldigi-4.2.03.ebuild new file mode 100644 index 000000000000..028d7b2b7e37 --- /dev/null +++ b/media-radio/fldigi/fldigi-4.2.03.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 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 +} |