diff options
Diffstat (limited to 'media-radio/fldigi')
-rw-r--r-- | media-radio/fldigi/Manifest | 2 | ||||
-rw-r--r-- | media-radio/fldigi/fldigi-4.2.05.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest index 7115ec88cdbc..16a1cd08c8aa 100644 --- a/media-radio/fldigi/Manifest +++ b/media-radio/fldigi/Manifest @@ -1,6 +1,8 @@ AUX fldigi-drop-nullptr-definition.patch 596 BLAKE2B d258036b22f597d82b6a66ecadbf12f8dde20be21464910e6d205d4c24dbc19ae60e00cb089818f3504d88d8dbc56e9dc4894dc5cc2f2b3925b614c3cb231206 SHA512 71993594183394a6f8f9329e43c14cf08b759b35d462632bab8a02ec4540107fbc99e50c95b0239daa61e279cb10c442ccc0b4fabf419bea3b6841f0d89ba54d 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 EBUILD fldigi-4.2.03.ebuild 1488 BLAKE2B dec691138c5483fe824baa127d01c374b6204a0728c0e677f7d106a4846567756f3f0edae87253e7b70fe8e68cef56d66bcb4456998dfab1e9b3bc94c6543a82 SHA512 dfdc2f521492b934fc3bad3afab42602460c0069da9708ba4aeaf61fef49defd9d5e1e1c46b864d1273a2795bd23864296fb58af6206282676668214bc35ee35 EBUILD fldigi-4.2.04.ebuild 1488 BLAKE2B 60fc67018dd785e80d39f85fee0fb6112f0d41449bb1bd37f820ea4a0314da2faf28ed031c98501d3cf35f9701dd097d9a099723fde6fa945515cb858b2cad21 SHA512 da445a55a71488ba697a4a29a9287d2ca2b1090e685fbdd1ea6be109c4c7ff928269eadfb11656f909f96ecf0be3920c410598c9d7e2a70f5235a35675f381ef +EBUILD fldigi-4.2.05.ebuild 1490 BLAKE2B 596a6a4cc7fd7089e27849ee8c2b239cfa78d4697b5c2e08df1383ba816dcd34ccdfc6bb7fc50945557e76a76a82f97d22e759432dc36543abac11af4246bdbb SHA512 bc412893f982f5edaf585a2351082afa9d91bfcdcacc0649566bfde75e47c9d4bbf8ea16239608e504b93407f21b13497276f76735da017b71ef72f09c4bf7f4 MISC metadata.xml 548 BLAKE2B c527aea6c74ff1af56467b594775abdd47e6c57b0f1772013a38f941a5ca32eae9edebf2224c0f435a3f3ca6cbe076d1e33996f66d81e25504e2bd66e04cb9ad SHA512 200dba843700a8361c0f1367038a24c2d8d1389ad6bb36a609543272b44ae672118ab9c74ab7a63036b2bb130a1a288487a204b187e1780dc2bef132e6a1511d 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 +} |