summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2018-08-01 13:35:10 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2018-08-01 13:35:10 +0200
commit26d5ca6261fee0a9489a248dc38490e6e24c2630 (patch)
treec60717b4ad18d8584511fa2aa6922d0d508d57eb /media-radio
parentapp-portage/gemato: Bump to 14.0, with WKD support (diff)
downloadgentoo-26d5ca6261fee0a9489a248dc38490e6e24c2630.tar.gz
gentoo-26d5ca6261fee0a9489a248dc38490e6e24c2630.tar.bz2
gentoo-26d5ca6261fee0a9489a248dc38490e6e24c2630.zip
media-radio/fldigi: Fix DEPS, honour CPU_FLAGS_X86 settings
Reported-by: Philippe Trottier <tchiwam@gmail.com> Closes: https://bugs.gentoo.org/659930 Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/fldigi/fldigi-4.0.17.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/media-radio/fldigi/fldigi-4.0.17.ebuild b/media-radio/fldigi/fldigi-4.0.17.ebuild
index 0a1adf91e44f..36c4d891600d 100644
--- a/media-radio/fldigi/fldigi-4.0.17.ebuild
+++ b/media-radio/fldigi/fldigi-4.0.17.ebuild
@@ -11,6 +11,8 @@ 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
@@ -18,7 +20,10 @@ RDEPEND="x11-libs/fltk:1[threads,xft]
x11-misc/xdg-utils
dev-perl/RPC-XML
dev-perl/Term-ReadLine-Perl
- >=media-libs/portaudio-19_pre20071207
+ || (
+ media-libs/portaudio[oss]
+ media-libs/portaudio[alsa]
+ )
hamlib? ( media-libs/hamlib )
pulseaudio? ( media-sound/pulseaudio )
>=media-libs/libsndfile-1.0.10"
@@ -35,5 +40,8 @@ src_configure() {
$(use_with hamlib) \
$(use_enable nls) \
$(use_with pulseaudio) \
+ $(use_enable cpu_flags_x86_sse optimizations sse) \
+ $(use_enable cpu_flags_x86_sse2 optimizations sse2) \
+ $(use_enable cpu_flags_x86_sse3 optimizations sse3) \
--without-asciidoc
}