diff options
author | Mart Raudsepp <leio@gentoo.org> | 2009-11-09 02:43:05 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2009-11-09 02:43:05 +0000 |
commit | e93c0181b623b6aa25e147172aa8d95c5c7b105a (patch) | |
tree | d7b1cab930791527f8e38ebc418f484f8972086c /eclass/gst-plugins-bad.eclass | |
parent | Fix compilation with --disable-kate (diff) | |
download | historical-e93c0181b623b6aa25e147172aa8d95c5c7b105a.tar.gz historical-e93c0181b623b6aa25e147172aa8d95c5c7b105a.tar.bz2 historical-e93c0181b623b6aa25e147172aa8d95c5c7b105a.zip |
Add kate back to the plugin list while fixing compilation with --disable-kate for split plugins
Diffstat (limited to 'eclass/gst-plugins-bad.eclass')
-rw-r--r-- | eclass/gst-plugins-bad.eclass | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/eclass/gst-plugins-bad.eclass b/eclass/gst-plugins-bad.eclass index 797b368892fa..4e95cc3e2cc4 100644 --- a/eclass/gst-plugins-bad.eclass +++ b/eclass/gst-plugins-bad.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-bad.eclass,v 1.23 2009/11/09 01:31:16 leio Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-bad.eclass,v 1.24 2009/11/09 02:43:05 leio Exp $ # # Original Author: Saleem Abdulrasool <compnerd@gentoo.org> @@ -20,7 +20,7 @@ # added to it, and never removed for longer backwards compatibility. my_gst_plugins_bad="alsa amrwb apexsink assrender bz2 cdaudio celt dc1394 dirac directfb divx dts dvb dvdnav faac faad fbdev gme gsm gst_v4l2 ivorbis jack jp2k -ladspa libmms lv2 metadata mimic modplug mpeg2enc mplex musepack +kate ladspa libmms lv2 metadata mimic modplug mpeg2enc mplex musepack musicbrainz mythtv nas neon ofa opengl oss4 quicktime schro sdl sdltest sndfile soundtouch soup spc swfdec theoradec timidity twolame vcd vdpau wavpack wildmidi x x264 xvid" @@ -33,6 +33,9 @@ MY_PN="gst-plugins-bad" MY_P=${MY_PN}-${PV} SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-bad/${MY_P}.tar.bz2" +if [ ${PV} == "0.10.14" ]; then + SRC_URI="${SRC_URI} http://dev.gentoo.org/~leio/distfiles/gst-plugins-bad-0.10.14-kate-configure-fix.patch.bz2" +fi # added to remove circular deps # 6/2/2006 - zaheerm @@ -61,7 +64,13 @@ gst-plugins-bad_src_unpack() { -e "s:\$(top_builddir)/gst-libs/gst/video/libgstbasevideo:${ROOT}/usr/$(get_libdir)/libgstbasevideo:" \ -i Makefile.in -# cd ${S} + # 0.10.14 configure errors when --disable-kate is passed: + # configure: error: conditional "USE_TIGER" was never defined. + # Fix it - this has to stay until any 0.10.14 split or main is in tree: + if [ ${PV} == "0.10.14" ]; then + cd ${S} + epatch "${WORKDIR}/gst-plugins-bad-0.10.14-kate-configure-fix.patch" + fi # Remove generation of any other Makefiles except the plugin's Makefile # if [[ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]] ; then |