mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-radio/fldigi: add 4.1.22
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST fldigi-4.1.20.tar.gz 4906451 BLAKE2B ed12be269828a1c8a9b1eeab470981ca95d47a330a9eec098c6ce241e36a18bfaf5d36eecb480542aff128c7b7f6b06d85af1a37f30a9b721ed1712cf90a4df3 SHA512 97c4ae9d0721a3d264af55483e9e3e6dd22e33c879d60f7818489c2e8eb0f0615f8698c67c39fa066b05baccd75c06e1988d9f7ea3dc180158da77ed604a0d0f
|
||||
DIST fldigi-4.1.22.tar.gz 4934496 BLAKE2B 9db73c51acba4fe521c9acc90a7dcd5728aae8a0bf596c6d10831de2ba66bb1661bdff0be499585379db6951cc4312aae27491681b3325da41d36ae1dcae003a SHA512 e5b724afdd16b25d366ccfc549b4c39e7eed58c19fbf189d53bade0e27695d63124c5a1e02df7e256ce5ce145e85ba77e86da357faa6ccda8167c20698e70536
|
||||
|
||||
59
media-radio/fldigi/fldigi-4.1.22.ebuild
Normal file
59
media-radio/fldigi/fldigi-4.1.22.ebuild
Normal file
@@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2022 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" )
|
||||
|
||||
src_prepare() {
|
||||
eapply ${PATCHES[@]}
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user