summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-07-29 07:58:04 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-07-29 07:58:04 +0000
commit7ed2d9e71456ffc16ddd655081ac1c1e52f0cace (patch)
tree4deebd6b19d9e6bfa09d0c52673f5eb0f84f6ba4 /media-sound
parentAdd ~x86-linux keyword. (diff)
downloadgentoo-2-7ed2d9e71456ffc16ddd655081ac1c1e52f0cace.tar.gz
gentoo-2-7ed2d9e71456ffc16ddd655081ac1c1e52f0cace.tar.bz2
gentoo-2-7ed2d9e71456ffc16ddd655081ac1c1e52f0cace.zip
Use lrdf_CFLAGS to gain -I/usr/include/raptor2 for raptor.h; required with liblrdf-0.4.0-r20.
(Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/aqualung/ChangeLog8
-rw-r--r--media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild3
-rw-r--r--media-sound/aqualung/files/aqualung-0.9_beta11-use_lrdf_cflags.patch21
3 files changed, 30 insertions, 2 deletions
diff --git a/media-sound/aqualung/ChangeLog b/media-sound/aqualung/ChangeLog
index 268bf402c5a3..a8db41d020a1 100644
--- a/media-sound/aqualung/ChangeLog
+++ b/media-sound/aqualung/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/aqualung
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/aqualung/ChangeLog,v 1.17 2011/05/31 18:10:40 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aqualung/ChangeLog,v 1.18 2011/07/29 07:58:04 ssuominen Exp $
+
+ 29 Jul 2011; Samuli Suominen <ssuominen@gentoo.org>
+ aqualung-0.9_beta11-r1.ebuild,
+ +files/aqualung-0.9_beta11-use_lrdf_cflags.patch:
+ Use lrdf_CFLAGS to gain -I/usr/include/raptor2 for raptor.h; required with
+ liblrdf-0.4.0-r20.
31 May 2011; Daniel Pielmeier <billie@gentoo.org> aqualung-0.9_beta11.ebuild,
aqualung-0.9_beta11-r1.ebuild:
diff --git a/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild b/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild
index c91e5a60b993..3323d8f774f4 100644
--- a/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild
+++ b/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild,v 1.4 2011/05/31 18:10:40 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild,v 1.5 2011/07/29 07:58:04 ssuominen Exp $
EAPI=2
@@ -47,6 +47,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${PN}-${MY_PV}
src_prepare() {
+ epatch "${FILESDIR}"/${P}-use_lrdf_cflags.patch
sed -i -e 's:$(pkgdatadir)/doc:/usr/share/doc/${PF}:' doc/Makefile.am
eautoreconf
}
diff --git a/media-sound/aqualung/files/aqualung-0.9_beta11-use_lrdf_cflags.patch b/media-sound/aqualung/files/aqualung-0.9_beta11-use_lrdf_cflags.patch
new file mode 100644
index 000000000000..4b840e528978
--- /dev/null
+++ b/media-sound/aqualung/files/aqualung-0.9_beta11-use_lrdf_cflags.patch
@@ -0,0 +1,21 @@
+Otherwise we end up with missing -I/usr/include/raptor2 for raptor.h
+
+--- configure.ac
++++ configure.ac
+@@ -742,6 +742,7 @@
+ AC_MSG_CHECKING(whether liblrdf version >= 0.4.0)
+ if `pkg-config --exists 'lrdf >= 0.4.0'`; then
+ AC_MSG_RESULT(yes)
++ lrdf_CFLAGS=`pkg-config --cflags lrdf`
+ lrdf_LIBS=`pkg-config --libs lrdf`
+ AC_DEFINE([HAVE_LADSPA], [1], [Defined if compile with LADSPA plugin support])
+ else
+@@ -957,7 +958,7 @@
+
+ CFLAGS="$CFLAGS $BUILD_CFLAGS -Wall $PLATFORM_CFLAGS $AQUALUNG_SKINDIR $AQUALUNG_LOCALEDIR $AQUALUNG_DATADIR -D_GNU_SOURCE"
+ CXXFLAGS="$CFLAGS"
+-CPPFLAGS="$gtk_CFLAGS $glib_CFLAGS $xml_CFLAGS $alsa_CFLAGS $jack_CFLAGS $cdda_CFLAGS $pulse_CFLAGS"
++CPPFLAGS="$gtk_CFLAGS $glib_CFLAGS $xml_CFLAGS $alsa_CFLAGS $jack_CFLAGS $cdda_CFLAGS $pulse_CFLAGS $lrdf_CFLAGS"
+ LIBS="decoder/libdecoder.a encoder/libencoder.a $gtk_LIBS $glib_LIBS $xml_LIBS $jack_LIBS $lrdf_LIBS $src_LIBS $alsa_LIBS $sndio_LIBS $oss_LIBS $sndfile_LIBS $flac_LIBS $ogg_LIBS $wavpack_LIBS $speex_LIBS $mad_LIBS $mod_LIBS $mpc_LIBS $mac_LIBS $lavc_LIBS $vorbisenc_LIBS $lame_LIBS $cdda_LIBS $cddb_LIBS $ifp_LIBS $PLATFORM_LIBS $z_LIBS $bz2_LIBS $lua_LIBS $pulse_LIBS"
+
+