/[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.36 Revision 1.37
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.36 2011/04/09 07:24:38 leio Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-bad.eclass,v 1.37 2011/04/13 08:50:24 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
9# plugin rather than in a single package. 9# plugin rather than in a single package.
10# 10#
11 11
12inherit eutils versionator gst-plugins10 12inherit eutils versionator gst-plugins10
13 13
14# This list is current for gst-plugins-bad-0.10.18. 14# This list is current for gst-plugins-bad-0.10.21.
15my_gst_plugins_bad="directsound directdraw osx_video quicktime vcd 15my_gst_plugins_bad="directsound directdraw osx_video quicktime vcd
16alsa assrender amrwb apexsink bz2 cdaudio celt cog dc1394 directfb dirac dts divx 16assrender amrwb apexsink bz2 cdaudio celt cog dc1394 directfb dirac dts divx
17metadata faac faad fbdev flite gsm jp2k kate ladspa lv2 libmms 17faac faad fbdev flite gsm jp2k kate ladspa lv2 libmms
18modplug mimic mpeg2enc mplex musepack musicbrainz mythtv nas neon ofa rsvg 18modplug mimic mpeg2enc mplex musepack musicbrainz mythtv nas neon ofa rsvg
19timidity wildmidi sdl sdltest sndfile soundtouch spc gme swfdec theoradec xvid 19timidity wildmidi sdl sdltest sndfile soundtouch spc gme swfdec theoradec xvid
20dvb wininet acm vdpau schro zbar" 20dvb wininet acm vdpau schro zbar"
21 21
22# When adding conditionals like below, be careful about having leading spaces 22# When adding conditionals like below, be careful about having leading spaces
23 23
24# Changes in 0.10.21: 24# Changes in 0.10.21:
25# jack moved to -good 25# New opencv and apple_media plugins
26# exif for a specific jifmux tests purpose only
27if version_is_at_least "0.10.21"; then
28 my_gst_plugins_bad+=" opencv apple_media exif"
29fi
30
31# jack moved to -good, metadata removed (functionality in base classes)
32# alsaspdif gone (gst-plugins-alsa from -base can do spdif on its own long ago)
26if ! version_is_at_least "0.10.21"; then 33if ! version_is_at_least "0.10.21"; then
27 my_gst_plugins_bad+=" jack" 34 my_gst_plugins_bad+=" jack metadata alsa"
28fi 35fi
29 36
30# Changes in 0.10.20: 37# Changes in 0.10.20:
31# New split plugins rtmp, gsettings and shm 38# New split plugins rtmp, gsettings and shm
32if version_is_at_least "0.10.20"; then 39if version_is_at_least "0.10.20"; then
33 my_gst_plugins_bad+=" rtmp gsettings shm" 40 my_gst_plugins_bad+=" rtmp gsettings shm"
34fi 41fi
35 42
36# Changes in 0.10.19: 43# Changes in 0.10.19:
37# dvdnav configure option changed from --enable-dvdnav to --enable-resindvd 44# dvdnav configure option changed from --enable-dvdnav to --enable-resindvd
45# New vp8 plugin
38if version_is_at_least "0.10.19"; then 46if version_is_at_least "0.10.19"; then
39 my_gst_plugins_bad+=" resindvd vp8" 47 my_gst_plugins_bad+=" resindvd vp8"
40fi 48fi
41 49
42# dvdnav configure option changed from --enable-dvdnav to --enable-resindvd 50# dvdnav configure option changed from --enable-dvdnav to --enable-resindvd
62# added to remove circular deps 70# added to remove circular deps
63# 6/2/2006 - zaheerm 71# 6/2/2006 - zaheerm
64if [ "${PN}" != "${MY_PN}" ]; then 72if [ "${PN}" != "${MY_PN}" ]; then
65RDEPEND="=media-libs/gstreamer-0.10* 73RDEPEND="=media-libs/gstreamer-0.10*
66 =media-libs/gst-plugins-base-0.10* 74 =media-libs/gst-plugins-base-0.10*
67 >=dev-libs/glib-2.6 75 >=dev-libs/glib-2.6"
68 >=dev-libs/liboil-0.3.8"
69DEPEND="${RDEPEND} 76DEPEND="${RDEPEND}
70 sys-apps/sed 77 sys-apps/sed
71 dev-util/pkgconfig 78 dev-util/pkgconfig
72 sys-devel/gettext" 79 sys-devel/gettext"
73 80
91 # Link with the syswide installed gst-libs if needed 98 # Link with the syswide installed gst-libs if needed
92 gst-plugins10_find_plugin_dir 99 gst-plugins10_find_plugin_dir
93 sed -e "s:\$(top_builddir)/gst-libs/gst/interfaces/libgstphotography:${ROOT}/usr/$(get_libdir)/libgstphotography:" \ 100 sed -e "s:\$(top_builddir)/gst-libs/gst/interfaces/libgstphotography:${ROOT}/usr/$(get_libdir)/libgstphotography:" \
94 -e "s:\$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor:${ROOT}/usr/$(get_libdir)/libgstsignalprocessor:" \ 101 -e "s:\$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor:${ROOT}/usr/$(get_libdir)/libgstsignalprocessor:" \
95 -e "s:\$(top_builddir)/gst-libs/gst/video/libgstbasevideo:${ROOT}/usr/$(get_libdir)/libgstbasevideo:" \ 102 -e "s:\$(top_builddir)/gst-libs/gst/video/libgstbasevideo:${ROOT}/usr/$(get_libdir)/libgstbasevideo:" \
103 -e "s:\$(top_builddir)/gst-libs/gst/basecamerabinsrc/libgstbasecamerabinsrc:${ROOT}/usr/$(get_libdir)/libgstbasecamerabinsrc:" \
96 -i Makefile.in 104 -i Makefile.in
97 105
98 # 0.10.14 configure errors when --disable-kate is passed: 106 # 0.10.14 configure errors when --disable-kate is passed:
99 # configure: error: conditional "USE_TIGER" was never defined. 107 # configure: error: conditional "USE_TIGER" was never defined.
100 # Fix it - this has to stay until any 0.10.14 split or main is in tree: 108 # Fix it - this has to stay until any 0.10.14 split or main is in tree:

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.20