From 483d7c056fba15727fe24545f93627a1d1e1e2eb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 18 Oct 2024 04:04:23 +0100 Subject: gentoo auto-resync : 18:10:2024 - 04:04:23 --- media-radio/fldigi/Manifest | 2 ++ media-radio/fldigi/fldigi-4.2.06.ebuild | 64 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 media-radio/fldigi/fldigi-4.2.06.ebuild (limited to 'media-radio/fldigi') diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest index 3aa0d751ca85..613ca120cdd7 100644 --- a/media-radio/fldigi/Manifest +++ b/media-radio/fldigi/Manifest @@ -1,5 +1,7 @@ AUX fldigi-drop-nullptr-definition.patch 596 BLAKE2B d258036b22f597d82b6a66ecadbf12f8dde20be21464910e6d205d4c24dbc19ae60e00cb089818f3504d88d8dbc56e9dc4894dc5cc2f2b3925b614c3cb231206 SHA512 71993594183394a6f8f9329e43c14cf08b759b35d462632bab8a02ec4540107fbc99e50c95b0239daa61e279cb10c442ccc0b4fabf419bea3b6841f0d89ba54d DIST fldigi-4.2.05.tar.gz 5127250 BLAKE2B 54a144e34da47c5379256c4ece67447815c29500331e29ccce884885daa96650d6ec098839eb97d13a641d8d0078a9656c9d443016a2acc98fbe7b78c98ca6f9 SHA512 46281e65dad24c57ea344182ed053ddea70281b1682d2fe6b40aa1f111c529328c7e1e4de86828ac265ed4523882d086f5213706159fc43b61f15989fdd9d407 +DIST fldigi-4.2.06.tar.gz 5149140 BLAKE2B b7a86e22b237b91b1931b09e718ba3821f62f4a1eb529ef6ba9427d0973dcf0af86f4f8dfa5e7fa374d5f7df6e5302b06dcd0307aa836a7ac454bf994e2ffe3c SHA512 770e8650f8ba9d8276665d0683e2418bd4fa399bd92fb66c1c219633f8fb3d4c49c1568bd2a0261a72af1e9527d548a247f872fe4b4a8019de086f51db280db6 EBUILD fldigi-4.2.05-r2.ebuild 1530 BLAKE2B 387c8b1dbbf0459ecb35324fdb05127339a01cbdb8c15d7c7e8cfc844855f62bb085fcc990cb586c53ec44a50eb0a79a62c040590a48c05add49c472ec7afb52 SHA512 4ddd6284a8b4910e2a0da2c0c1107d40885ba91948b806d5238438fb9b11f1b847c3e3e87e8433d3fbc584cf79fb6c09e5065cd464ad26a6708d2b96316a5aa3 EBUILD fldigi-4.2.05.ebuild 1501 BLAKE2B dfd9ccc42d366064147581de4b55bb6867d1e366aa644dbd9ab366ccdd614619231db3f3352f63a863346e6fc5e5c4ce7f650da1a5bc43d8dc5bf46078cd50c1 SHA512 a046fff36d638c49a0db33b36f830fcbf83914b7ef048ea6d19347ae25278aa0f9134f1f6dfc77c25e73d77efdf8b2f70fb85600b9e146d7885329e3050aad3d +EBUILD fldigi-4.2.06.ebuild 1530 BLAKE2B 387c8b1dbbf0459ecb35324fdb05127339a01cbdb8c15d7c7e8cfc844855f62bb085fcc990cb586c53ec44a50eb0a79a62c040590a48c05add49c472ec7afb52 SHA512 4ddd6284a8b4910e2a0da2c0c1107d40885ba91948b806d5238438fb9b11f1b847c3e3e87e8433d3fbc584cf79fb6c09e5065cd464ad26a6708d2b96316a5aa3 MISC metadata.xml 647 BLAKE2B 1acc1909ca9e9e64ce6387c1775ee3947848ac1f7f29cd0e43cec1936967595b7d2bbf44b68080e23d4ddcc23f74075ff0fad1bfc45d9ad4477679adbc452e7b SHA512 89f0532a41977f17d7c36d218a967739b47f0a6ac73d92666a2d7b06ebdfd320bab28bbaf4c9dc97a59ffa8ce6ed963796ca053501480863d0c82a5d144b68d8 diff --git a/media-radio/fldigi/fldigi-4.2.06.ebuild b/media-radio/fldigi/fldigi-4.2.06.ebuild new file mode 100644 index 000000000000..6f0e742ae1a0 --- /dev/null +++ b/media-radio/fldigi/fldigi-4.2.06.ebuild @@ -0,0 +1,64 @@ +# 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="https://downloads.sourceforge.net/${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] + x11-libs/libX11 + virtual/libudev:= + media-libs/libsamplerate + media-libs/libpng:= + 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" +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 +} -- cgit v1.2.3