summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-06-27 19:57:00 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-06-27 19:57:00 +0000
commit96e8adc2fabf206fbc3a2f4fb83366220433fcf5 (patch)
tree7bf6f3ffc83777373df4b14a3f9156610b4eeaf7 /media-sound/traverso
parentsign (diff)
downloadgentoo-2-96e8adc2fabf206fbc3a2f4fb83366220433fcf5.tar.gz
gentoo-2-96e8adc2fabf206fbc3a2f4fb83366220433fcf5.tar.bz2
gentoo-2-96e8adc2fabf206fbc3a2f4fb83366220433fcf5.zip
Fix building with USE="lv2" by querying Cflags: from slv2.pc pkg-config file for raptor2.h include path wrt #415165
(Portage version: 2.2.0_alpha113/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/traverso')
-rw-r--r--media-sound/traverso/ChangeLog7
-rw-r--r--media-sound/traverso/traverso-0.49.2-r1.ebuild29
2 files changed, 21 insertions, 15 deletions
diff --git a/media-sound/traverso/ChangeLog b/media-sound/traverso/ChangeLog
index 1b6feabbc115..42277e942159 100644
--- a/media-sound/traverso/ChangeLog
+++ b/media-sound/traverso/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/traverso
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/ChangeLog,v 1.32 2012/06/27 19:35:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/ChangeLog,v 1.33 2012/06/27 19:57:00 ssuominen Exp $
+
+ 27 Jun 2012; Samuli Suominen <ssuominen@gentoo.org>
+ traverso-0.49.2-r1.ebuild:
+ Fix building with USE="lv2" by querying Cflags: from slv2.pc pkg-config file
+ for raptor2.h include path wrt #415165
27 Jun 2012; Samuli Suominen <ssuominen@gentoo.org>
traverso-0.49.2-r1.ebuild, +files/traverso-0.49.2-gcc47.patch:
diff --git a/media-sound/traverso/traverso-0.49.2-r1.ebuild b/media-sound/traverso/traverso-0.49.2-r1.ebuild
index 3a79ccbba701..e1f1f0775611 100644
--- a/media-sound/traverso/traverso-0.49.2-r1.ebuild
+++ b/media-sound/traverso/traverso-0.49.2-r1.ebuild
@@ -1,35 +1,34 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/traverso-0.49.2-r1.ebuild,v 1.2 2012/06/27 19:35:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/traverso-0.49.2-r1.ebuild,v 1.3 2012/06/27 19:57:00 ssuominen Exp $
EAPI=4
-inherit cmake-utils eutils gnome2-utils
+inherit cmake-utils eutils flag-o-matic gnome2-utils
DESCRIPTION="Professional Audio Tools for GNU/Linux"
HOMEPAGE="http://traverso-daw.org/"
SRC_URI="http://traverso-daw.org/download/releases/current/${P}.tar.gz"
-IUSE="alsa debug jack lame lv2 mad pulseaudio"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="alsa debug jack lame lv2 mad pulseaudio"
-RDEPEND="
+RDEPEND=">=media-libs/flac-1.1.2
+ >=media-libs/libogg-1.1.2
+ media-libs/libsamplerate
+ >=media-libs/libsndfile-1.0.12
+ >=media-libs/libvorbis-1.1.2
+ >=media-sound/wavpack-4.40.0
+ >=sci-libs/fftw-3
x11-libs/qt-core:4
x11-libs/qt-gui:4
alsa? ( >=media-libs/alsa-lib-1.0.0 )
jack? ( >=media-sound/jack-audio-connection-kit-0.100 )
- pulseaudio? ( >=media-sound/pulseaudio-0.9 )
- >=media-libs/libsndfile-1.0.12
- media-libs/libsamplerate
- >=sci-libs/fftw-3
- >=media-sound/wavpack-4.40.0
- >=media-libs/libogg-1.1.2
- >=media-libs/libvorbis-1.1.2
- >=media-libs/flac-1.1.2
+ lame? ( media-sound/lame )
lv2? ( >=media-libs/slv2-0.6.1 )
mad? ( >=media-libs/libmad-0.15.0 )
- lame? ( media-sound/lame )"
+ pulseaudio? ( >=media-sound/pulseaudio-0.9 )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -43,6 +42,8 @@ PATCHES=(
)
src_configure() {
+ use lv2 && append-cppflags "$($(tc-getPKG_CONFIG) --cflags slv2)" #415165
+
local mycmakeargs=(
$(cmake-utils_use_want jack JACK) $(cmake-utils_use_want alsa ALSA)
$(cmake-utils_use_want pulseaudio PULSEAUDIO)