diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2023-02-18 18:21:00 +0100 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2023-02-18 18:21:00 +0100 |
commit | fdf5837b4efc848369900e6d4becc82e00756a50 (patch) | |
tree | 6e4dcda495cbdcaed2f48f68a0a73e5ca2e4b92f /media-radio | |
parent | dev-python/pygccxml: drop 2.2.1 (diff) | |
download | gentoo-fdf5837b4efc848369900e6d4becc82e00756a50.tar.gz gentoo-fdf5837b4efc848369900e6d4becc82e00756a50.tar.bz2 gentoo-fdf5837b4efc848369900e6d4becc82e00756a50.zip |
media-radio/fldigi: add 4.1.25
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.1.25.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest index e3059d559a3a..d5cfbdd85c6d 100644 --- a/media-radio/fldigi/Manifest +++ b/media-radio/fldigi/Manifest @@ -1,3 +1,4 @@ DIST fldigi-4.1.22.tar.gz 4934496 BLAKE2B 9db73c51acba4fe521c9acc90a7dcd5728aae8a0bf596c6d10831de2ba66bb1661bdff0be499585379db6951cc4312aae27491681b3325da41d36ae1dcae003a SHA512 e5b724afdd16b25d366ccfc549b4c39e7eed58c19fbf189d53bade0e27695d63124c5a1e02df7e256ce5ce145e85ba77e86da357faa6ccda8167c20698e70536 DIST fldigi-4.1.23.tar.gz 4933875 BLAKE2B 73c9598d73e3f8f4a4299edebf687254830196d81470b4563bc530b0434e7b8beb6d9d0cbbd97029fba2da3491ec354f3fc723045e4691b60db7d03666624a07 SHA512 c01d579fb23325f097969cbb93bd488c8e0c61ef552097166c902a56ce119d7c20694df5cd76ae9b2cb485d68570720745d961b1f1dd9918c6f466f0441005fb DIST fldigi-4.1.24.tar.gz 4958881 BLAKE2B 9f138cee6ad16e5fc7e66aa8d985a838d5394417fa4f914c35ea737064433f8be9da4d798de65b2e72c321cf7ebf52242bec4e8c68bc7ad984c899c839146d71 SHA512 e5509e8904b2ee779e655483529b76aecc65ec927b358346b63b2ce1062194472713ea99ff6305acf7da68cb38c59c7a3bee31d867faea72bc51328c3050a4b7 +DIST fldigi-4.1.25.tar.gz 4959378 BLAKE2B 6d4ba6fa1c33fb7be29517a46fdf5c25fdf2d083700d41776e8365de99f6bd893be9af91c49a16e4b1192730781274551c45d7ae40138cd32cde4032d27f5329 SHA512 68b1327433b6f42e1daee5a1af912303ba876c9b2b65851e955807a5ae611dfdb572404d0336454c46ccf536c025ebf5efe58c33a3604a0e521f7c902b680c5b diff --git a/media-radio/fldigi/fldigi-4.1.25.ebuild b/media-radio/fldigi/fldigi-4.1.25.ebuild new file mode 100644 index 000000000000..247868d8a399 --- /dev/null +++ b/media-radio/fldigi/fldigi-4.1.25.ebuild @@ -0,0 +1,63 @@ +# 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-sound/pulseaudio ) + >=media-libs/libsndfile-1.0.10" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +PATCHES=( "${FILESDIR}/${PN}-4.1.20-musl.patch" + "${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 +} |