summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2019-02-12 14:18:45 +0100
committerAlexis Ballier <aballier@gentoo.org>2019-02-12 14:19:20 +0100
commit0bbf3625a6d486b9a6484c7f0418d1c6d4d3136c (patch)
tree0d659c521501d5cc1039f24959bd8fc9ea1e57a2 /media-sound/sonic-visualiser
parentdev-python/pycapnp: bump to 0.6.4 (diff)
downloadgentoo-0bbf3625a6d486b9a6484c7f0418d1c6d4d3136c.tar.gz
gentoo-0bbf3625a6d486b9a6484c7f0418d1c6d4d3136c.tar.bz2
gentoo-0bbf3625a6d486b9a6484c7f0418d1c6d4d3136c.zip
media-sound/sonic-visualiser: build in c++14 mode (required by capnproto 0.7)
Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'media-sound/sonic-visualiser')
-rw-r--r--media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild
index 264d383f4b8b..788100ee4154 100644
--- a/media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild
+++ b/media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -49,6 +49,7 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-qt/qttest:5
virtual/pkgconfig
+ sys-devel/autoconf-archive
"
REQUIRED_USE="|| ( jack pulseaudio portaudio )"
@@ -77,6 +78,12 @@ src_prepare() {
use portaudio || sv_disable_opt portaudio
use pulseaudio || sv_disable_opt libpulse
+ # capnproto 0.7 requires c++14 now
+ sed -e 's/AX_CXX_COMPILE_STDCXX_11/AX_CXX_COMPILE_STDCXX_14/g' \
+ -i configure.ac \
+ -i */configure.ac \
+ || die
+
eautoreconf
# Those need to be regenerated as they must match current capnproto version
@@ -92,6 +99,10 @@ src_configure() {
export QMAKE="$(qt5_get_bindir)"/qmake
econf
eqmake5 -r sonic-visualiser.pro
+ sed -e 's/std=gnu++11/std=gnu++14/g' \
+ -i Makefile.* \
+ -i checker/Makefile.* \
+ || die
}
src_test() {