/[gentoo-x86]/eclass/gst-plugins-bad.eclass
Gentoo

Diff of /eclass/gst-plugins-bad.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.23 Revision 1.24
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-bad.eclass,v 1.23 2009/11/09 01:31:16 leio Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-bad.eclass,v 1.24 2009/11/09 02:43:05 leio Exp $
4 4
5# 5#
6# Original Author: Saleem Abdulrasool <compnerd@gentoo.org> 6# Original Author: Saleem Abdulrasool <compnerd@gentoo.org>
7# Based on the work of foser <foser@gentoo.org> and zaheerm <zaheerm@gentoo.org> 7# Based on the work of foser <foser@gentoo.org> and zaheerm <zaheerm@gentoo.org>
8# Purpose: This elcass is designed to help package external gst-plugins per 8# Purpose: This elcass is designed to help package external gst-plugins per
18# Not present in 0.10.5 - wavpack 18# Not present in 0.10.5 - wavpack
19# This list is current for gst-plugins-bad-0.10.14 and is only getting entries 19# This list is current for gst-plugins-bad-0.10.14 and is only getting entries
20# added to it, and never removed for longer backwards compatibility. 20# added to it, and never removed for longer backwards compatibility.
21my_gst_plugins_bad="alsa amrwb apexsink assrender bz2 cdaudio celt dc1394 dirac 21my_gst_plugins_bad="alsa amrwb apexsink assrender bz2 cdaudio celt dc1394 dirac
22directfb divx dts dvb dvdnav faac faad fbdev gme gsm gst_v4l2 ivorbis jack jp2k 22directfb divx dts dvb dvdnav faac faad fbdev gme gsm gst_v4l2 ivorbis jack jp2k
23ladspa libmms lv2 metadata mimic modplug mpeg2enc mplex musepack 23kate ladspa libmms lv2 metadata mimic modplug mpeg2enc mplex musepack
24musicbrainz mythtv nas neon ofa opengl oss4 quicktime schro sdl sdltest sndfile 24musicbrainz mythtv nas neon ofa opengl oss4 quicktime schro sdl sdltest sndfile
25soundtouch soup spc swfdec theoradec timidity twolame vcd vdpau wavpack wildmidi 25soundtouch soup spc swfdec theoradec timidity twolame vcd vdpau wavpack wildmidi
26x x264 xvid" 26x x264 xvid"
27 27
28#qtdemux spped tta 28#qtdemux spped tta
31 31
32MY_PN="gst-plugins-bad" 32MY_PN="gst-plugins-bad"
33MY_P=${MY_PN}-${PV} 33MY_P=${MY_PN}-${PV}
34 34
35SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-bad/${MY_P}.tar.bz2" 35SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-bad/${MY_P}.tar.bz2"
36if [ ${PV} == "0.10.14" ]; then
37 SRC_URI="${SRC_URI} http://dev.gentoo.org/~leio/distfiles/gst-plugins-bad-0.10.14-kate-configure-fix.patch.bz2"
38fi
36 39
37# added to remove circular deps 40# added to remove circular deps
38# 6/2/2006 - zaheerm 41# 6/2/2006 - zaheerm
39if [ "${PN}" != "${MY_PN}" ]; then 42if [ "${PN}" != "${MY_PN}" ]; then
40RDEPEND="=media-libs/gstreamer-0.10* 43RDEPEND="=media-libs/gstreamer-0.10*
59 sed -e "s:\$(top_builddir)/gst-libs/gst/interfaces/libgstphotography:${ROOT}/usr/$(get_libdir)/libgstphotography:" \ 62 sed -e "s:\$(top_builddir)/gst-libs/gst/interfaces/libgstphotography:${ROOT}/usr/$(get_libdir)/libgstphotography:" \
60 -e "s:\$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor:${ROOT}/usr/$(get_libdir)/libgstsignalprocessor:" \ 63 -e "s:\$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor:${ROOT}/usr/$(get_libdir)/libgstsignalprocessor:" \
61 -e "s:\$(top_builddir)/gst-libs/gst/video/libgstbasevideo:${ROOT}/usr/$(get_libdir)/libgstbasevideo:" \ 64 -e "s:\$(top_builddir)/gst-libs/gst/video/libgstbasevideo:${ROOT}/usr/$(get_libdir)/libgstbasevideo:" \
62 -i Makefile.in 65 -i Makefile.in
63 66
67 # 0.10.14 configure errors when --disable-kate is passed:
68 # configure: error: conditional "USE_TIGER" was never defined.
69 # Fix it - this has to stay until any 0.10.14 split or main is in tree:
70 if [ ${PV} == "0.10.14" ]; then
64# cd ${S} 71 cd ${S}
72 epatch "${WORKDIR}/gst-plugins-bad-0.10.14-kate-configure-fix.patch"
73 fi
65 74
66 # Remove generation of any other Makefiles except the plugin's Makefile 75 # Remove generation of any other Makefiles except the plugin's Makefile
67# if [[ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]] ; then 76# if [[ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]] ; then
68# makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile" 77# makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile"
69# elif [[ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]] ; then 78# elif [[ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]] ; then

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.20