mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
media-radio/fldigi: add 4.2.06
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
parent
47af6f1027
commit
df7f679569
@ -1 +1,2 @@
|
||||
DIST fldigi-4.2.05.tar.gz 5127250 BLAKE2B 54a144e34da47c5379256c4ece67447815c29500331e29ccce884885daa96650d6ec098839eb97d13a641d8d0078a9656c9d443016a2acc98fbe7b78c98ca6f9 SHA512 46281e65dad24c57ea344182ed053ddea70281b1682d2fe6b40aa1f111c529328c7e1e4de86828ac265ed4523882d086f5213706159fc43b61f15989fdd9d407
|
||||
DIST fldigi-4.2.06.tar.gz 5149140 BLAKE2B b7a86e22b237b91b1931b09e718ba3821f62f4a1eb529ef6ba9427d0973dcf0af86f4f8dfa5e7fa374d5f7df6e5302b06dcd0307aa836a7ac454bf994e2ffe3c SHA512 770e8650f8ba9d8276665d0683e2418bd4fa399bd92fb66c1c219633f8fb3d4c49c1568bd2a0261a72af1e9527d548a247f872fe4b4a8019de086f51db280db6
|
||||
|
||||
64
media-radio/fldigi/fldigi-4.2.06.ebuild
Normal file
64
media-radio/fldigi/fldigi-4.2.06.ebuild
Normal file
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user