summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwin Rol <erwin@erwinrol.com>2010-01-25 12:45:27 +0100
committerErwin Rol <erwin@erwinrol.com>2010-02-02 13:10:25 +0100
commite710d512b49ba6caa8431d0881f20d4a3bc1e048 (patch)
tree5c71b25377f27ec87015e938995b790254782e77
parente7577f00e816cc981aae71f086c0fd3814d63f26 (diff)
downloadptxdist-e710d512b49ba6caa8431d0881f20d4a3bc1e048.tar.gz
ptxdist-e710d512b49ba6caa8431d0881f20d4a3bc1e048.tar.xz
[gst-plugins-bad] Version update to 0.10.17
Signed-off-by: Erwin Rol <erwin@erwinrol.com>
-rw-r--r--patches/gst-plugins-bad-0.10.17/0002--remove-endianness-swapping.patch (renamed from patches/gst-plugins-bad-0.10.10/0002--remove-endianness-swapping.patch)0
-rw-r--r--patches/gst-plugins-bad-0.10.17/0003--add-rgb666-support.patch (renamed from patches/gst-plugins-bad-0.10.10/0003--add-rgb666-support.patch)0
-rw-r--r--patches/gst-plugins-bad-0.10.17/bayer2rgb_configurable_first_line.diff (renamed from patches/gst-plugins-bad-0.10.10/bayer2rgb_configurable_first_line.diff)0
-rw-r--r--patches/gst-plugins-bad-0.10.17/series (renamed from patches/gst-plugins-bad-0.10.10/series)0
-rw-r--r--rules/gst-plugins-bad.in500
-rw-r--r--rules/gst-plugins-bad.make224
6 files changed, 628 insertions, 96 deletions
diff --git a/patches/gst-plugins-bad-0.10.10/0002--remove-endianness-swapping.patch b/patches/gst-plugins-bad-0.10.17/0002--remove-endianness-swapping.patch
index 154950eb0..154950eb0 100644
--- a/patches/gst-plugins-bad-0.10.10/0002--remove-endianness-swapping.patch
+++ b/patches/gst-plugins-bad-0.10.17/0002--remove-endianness-swapping.patch
diff --git a/patches/gst-plugins-bad-0.10.10/0003--add-rgb666-support.patch b/patches/gst-plugins-bad-0.10.17/0003--add-rgb666-support.patch
index bb6eb67fb..bb6eb67fb 100644
--- a/patches/gst-plugins-bad-0.10.10/0003--add-rgb666-support.patch
+++ b/patches/gst-plugins-bad-0.10.17/0003--add-rgb666-support.patch
diff --git a/patches/gst-plugins-bad-0.10.10/bayer2rgb_configurable_first_line.diff b/patches/gst-plugins-bad-0.10.17/bayer2rgb_configurable_first_line.diff
index 9c786700a..9c786700a 100644
--- a/patches/gst-plugins-bad-0.10.10/bayer2rgb_configurable_first_line.diff
+++ b/patches/gst-plugins-bad-0.10.17/bayer2rgb_configurable_first_line.diff
diff --git a/patches/gst-plugins-bad-0.10.10/series b/patches/gst-plugins-bad-0.10.17/series
index accdfb0d1..accdfb0d1 100644
--- a/patches/gst-plugins-bad-0.10.10/series
+++ b/patches/gst-plugins-bad-0.10.17/series
diff --git a/rules/gst-plugins-bad.in b/rules/gst-plugins-bad.in
index cd7a678fd..271f44f15 100644
--- a/rules/gst-plugins-bad.in
+++ b/rules/gst-plugins-bad.in
@@ -6,31 +6,499 @@ menuconfig GST_PLUGINS_BAD
select LIBOIL
select GSTREAMER
select GST_PLUGINS_BASE
+ select SDL if GST_PLUGINS_BAD_SDL
+ select BZIP2 if GST_PLUGINS_BAD_BZ2
+ select BZIP2_LIBBZ2 if GST_PLUGINS_BAD_BZ2
+ select LIBTHEORA if GST_PLUGINS_BAD_THEORADEC
+
prompt "gst-plugins-bad "
help
- FIXME
+ GStreamer Bad Plug-ins is a set of plug-ins that aren't
+ up to par compared to the rest. They might be close to being
+ good quality, but they're missing something - be it a good
+ code review, some documentation, a set of tests, a real
+ live maintainer, or some actual wide use.
+
if GST_PLUGINS_BAD
- config GST_PLUGINS_BAD__FBDEVSINK
- bool
- prompt "fbdevsink"
+config GST_PLUGINS_BAD_AACPARSE
+ bool
+ prompt "aacparse"
+
+config GST_PLUGINS_BAD_ADPCMDEC
+ bool
+ prompt "adpcmdec"
+
+config GST_PLUGINS_BAD_AIFF
+ bool
+ prompt "aiff"
+
+config GST_PLUGINS_BAD_AMRPARSE
+ bool
+ prompt "amrparse"
+
+config GST_PLUGINS_BAD_ASFMUX
+ bool
+ prompt "asfmux"
+
+config GST_PLUGINS_BAD_AUTOCONVERT
+ bool
+ prompt "autoconvert"
+
+config GST_PLUGINS_BAD_CAMERABIN
+ bool
+ prompt "camerabin"
+
+config GST_PLUGINS_BAD_LEGACYRESAMPLE
+ bool
+ prompt "legacyresample"
+
+config GST_PLUGINS_BAD_BAYER
+ bool
+ prompt "bayer"
+
+config GST_PLUGINS_BAD_CDXAPARSE
+ bool
+ prompt "cdxaparse"
+
+config GST_PLUGINS_BAD_DCCP
+ bool
+ prompt "dccp"
+
+config GST_PLUGINS_BAD_DEBUGUTILS
+ bool
+ prompt "debugutils"
+
+config GST_PLUGINS_BAD_DTMF
+ bool
+ prompt "dtmf"
+
+config GST_PLUGINS_BAD_DVDSPU
+ bool
+ prompt "dvdspu"
+
+config GST_PLUGINS_BAD_FESTIVAL
+ bool
+ prompt "festival"
+
+config GST_PLUGINS_BAD_FREEZE
+ bool
+ prompt "freeze"
+
+config GST_PLUGINS_BAD_FREI0R
+ bool
+ prompt "frei0r"
+
+config GST_PLUGINS_BAD_H264PARSE
+ bool
+ prompt "h264parse"
+
+config GST_PLUGINS_BAD_HDVPARSE
+ bool
+ prompt "hdvparse"
+
+config GST_PLUGINS_BAD_ID3TAG
+ bool
+ prompt "id3tag"
+
+config GST_PLUGINS_BAD_LIBRFB
+ bool
+ prompt "librfb"
+
+config GST_PLUGINS_BAD_LIVEADDER
+ bool
+ prompt "liveadder"
+
+config GST_PLUGINS_BAD_MPEGDEMUX
+ bool
+ prompt "mpegdemux"
+
+config GST_PLUGINS_BAD_MPEGTSMUX
+ bool
+ prompt "mpegtsmux"
+
+config GST_PLUGINS_BAD_MPEGPSMUX
+ bool
+ prompt "mpegpsmux"
+
+config GST_PLUGINS_BAD_MPEG4VIDEOPARSE
+ bool
+ prompt "mpeg4videoparse"
+
+config GST_PLUGINS_BAD_MPEGVIDEOPARSE
+ bool
+ prompt "mpegvideoparse"
+
+config GST_PLUGINS_BAD_MVE
+ bool
+ prompt "mve"
+
+config GST_PLUGINS_BAD_MXF
+ bool
+ prompt "mxf"
+
+config GST_PLUGINS_BAD_NFS
+ bool
+ prompt "nsf"
+
+config GST_PLUGINS_BAD_NUVDEMUX
+ bool
+ prompt "nuvdemux"
+
+config GST_PLUGINS_BAD_PCAPPARSE
+ bool
+ prompt "pcapparse"
+
+config GST_PLUGINS_BAD_PNM
+ bool
+ prompt "pnm"
+
+config GST_PLUGINS_BAD_QTMUX
+ bool
+ prompt "qtmux"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_RAWPARSE
+ bool
+ prompt "rawparse"
+
+config GST_PLUGINS_BAD_REAL
+ bool
+ prompt "real"
+
+config GST_PLUGINS_BAD_RTPMUX
+ bool
+ prompt "rtpmux"
+
+config GST_PLUGINS_BAD_SCALETEMPO
+ bool
+ prompt "scaletempo"
+
+config GST_PLUGINS_BAD_SDP
+ bool
+ prompt "sdp"
+
+config GST_PLUGINS_BAD_SELECTOR
+ bool
+ prompt "selector"
+
+config GST_PLUGINS_BAD_SHAPEWIPE
+ bool
+ prompt "shapewipe"
+
+config GST_PLUGINS_BAD_SIREN
+ bool
+ prompt "siren"
+
+config GST_PLUGINS_BAD_SPEED
+ bool
+ prompt "speed"
+
+config GST_PLUGINS_BAD_SUBENC
+ bool
+ prompt "subenc"
+
+config GST_PLUGINS_BAD_STEREO
+ bool
+ prompt "stereo"
+
+config GST_PLUGINS_BAD_TTA
+ bool
+ prompt "tta"
+
+config GST_PLUGINS_BAD_VALVE
+ bool
+ prompt "valve"
+
+config GST_PLUGINS_BAD_VIDEOMEASURE
+ bool
+ prompt "videomeasure"
+
+config GST_PLUGINS_BAD_VIDEOSIGNAL
+ bool
+ prompt "videosignal"
+
+config GST_PLUGINS_BAD_VMNC
+ bool
+ prompt "vmnc"
+
+config GST_PLUGINS_BAD_DIRECTSOUND
+ bool
+ prompt "directsound"
+
+config GST_PLUGINS_BAD_DIRECTDRAW
+ bool
+ prompt "directdraw"
+
+config GST_PLUGINS_BAD_OSX_VIDEO
+ bool
+ prompt "osx_video"
+
+config GST_PLUGINS_BAD_QUICKTIME
+ bool
+ prompt "quicktime"
+
+config GST_PLUGINS_BAD_VCD
+ bool
+ prompt "vcd"
+
+config GST_PLUGINS_BAD_ALSA
+ bool
+ prompt "alsa"
+
+config GST_PLUGINS_BAD_ASSRENDER
+ bool
+ prompt "assrender"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_AMRWB
+ bool
+ prompt "amrwb"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_APEXSINK
+ bool
+ prompt "apexsink"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_BZ2
+ bool
+ prompt "bz2"
+
+config GST_PLUGINS_BAD_CDAUDIO
+ bool
+ prompt "cdaudio"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_CELT
+ bool
+ prompt "celt"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_COG
+ bool
+ prompt "cog"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_DC1394
+ bool
+ prompt "dc1394"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_DIRECTFB
+ bool
+ prompt "directfb"
+
+config GST_PLUGINS_BAD_DIRAC
+ bool
+ prompt "dirac"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_DTS
+ bool
+ prompt "dts"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_DIVX
+ bool
+ prompt "divx"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_DVDNAV
+ bool
+ prompt "dvdnav"
+
+config GST_PLUGINS_BAD_METADATA
+ bool
+ prompt "metadata"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_FAAC
+ bool
+ prompt "faac"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_FAAD
+ bool
+ prompt "faad"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_FBDEV
+ bool
+ prompt "fbdev"
+
+config GST_PLUGINS_BAD_GSM
+ bool
+ prompt "gsm"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_IVORBIS
+ bool
+ prompt "ivorbis"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_JACK
+ bool
+ prompt "jack"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_JP2K
+ bool
+ prompt "jp2k"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_KATE
+ bool
+ prompt "kate"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_LADSPA
+ bool
+ prompt "ladspa"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_LV2
+ bool
+ prompt "lv2"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_LIBMMS
+ bool
+ prompt "libmms"
+
+config GST_PLUGINS_BAD_MODPLUG
+ bool
+ prompt "modplug"
+
+config GST_PLUGINS_BAD_MIMIC
+ bool
+ prompt "mimic"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_MPEG2ENC
+ bool
+ prompt "mpeg2enc"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_MPLEX
+ bool
+ prompt "mplex"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_MUSEPACK
+ bool
+ prompt "musepack"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_MUSICBRAINZ
+ bool
+ prompt "musicbrainz"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_MYTHTV
+ bool
+ prompt "mythtv"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_NAS
+ bool
+ prompt "nas"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_NEON
+ bool
+ prompt "neon"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_OFA
+ bool
+ prompt "ofa"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_RSVG
+ bool
+ prompt "rsvg"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_TIMIDITY
+ bool
+ prompt "timidity"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_WILDMIDI
+ bool
+ prompt "wildmidi"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_SDL
+ bool
+ prompt "sdl"
+
+config GST_PLUGINS_BAD_SNDFILE
+ bool
+ prompt "sndfile"
+
+config GST_PLUGINS_BAD_SOUNDTOUCH
+ bool
+ prompt "soundtouch"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_SPC
+ bool
+ prompt "spc"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_GME
+ bool
+ prompt "gme"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_SWFDEC
+ bool
+ prompt "swfdec"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_THEORADEC
+ bool
+ prompt "theoradec"
+
+config GST_PLUGINS_BAD_XVID
+ bool
+ prompt "xvid"
+ depends on BROKEN
+
+config GST_PLUGINS_BAD_DVB
+ bool
+ prompt "dvb"
+
+config GST_PLUGINS_BAD_OSS4
+ bool
+ prompt "oss4"
+
+config GST_PLUGINS_BAD_WININET
+ bool
+ prompt "wininet"
+ depends on BROKEN
- config GST_PLUGINS_BAD__BAYER
- bool
- prompt "bayer filter"
+config GST_PLUGINS_BAD_ACM
+ bool
+ prompt "acm"
+ depends on BROKEN
- config GST_PLUGINS_BAD__MPEGDEMUX
- bool
- prompt "mpeg demuxer"
+config GST_PLUGINS_BAD_VDPAU
+ bool
+ prompt "vdpau"
+ depends on BROKEN
- config GST_PLUGINS_BAD__MPEG4VIDEOPARSE
- bool
- prompt "mpeg4 video parser"
+config GST_PLUGINS_BAD_SCHRO
+ bool
+ prompt "schro"
- config GST_PLUGINS_BAD__H264PARSE
- bool
- prompt "h264 parser"
+config GST_PLUGINS_BAD_ZBAR
+ bool
+ prompt "zbar"
+ depends on BROKEN
endif
diff --git a/rules/gst-plugins-bad.make b/rules/gst-plugins-bad.make
index 472cb6cf5..8a8082049 100644
--- a/rules/gst-plugins-bad.make
+++ b/rules/gst-plugins-bad.make
@@ -1,5 +1,6 @@
# -*-makefile-*-
#
+# Copyright (C) 2010 by Erwin Rol <erwin@erwinrol.com>
# Copyright (C) 2008 by Sascha Hauer
#
# See CREDITS for details about who has contributed to this project.
@@ -16,13 +17,14 @@ PACKAGES-$(PTXCONF_GST_PLUGINS_BAD) += gst-plugins-bad
#
# Paths and names
#
-GST_PLUGINS_BAD_VERSION := 0.10.10
+GST_PLUGINS_BAD_VERSION := 0.10.17
GST_PLUGINS_BAD := gst-plugins-bad-$(GST_PLUGINS_BAD_VERSION)
GST_PLUGINS_BAD_SUFFIX := tar.bz2
GST_PLUGINS_BAD_URL := http://gstreamer.freedesktop.org/src/gst-plugins-bad/$(GST_PLUGINS_BAD).$(GST_PLUGINS_BAD_SUFFIX)
GST_PLUGINS_BAD_SOURCE := $(SRCDIR)/$(GST_PLUGINS_BAD).$(GST_PLUGINS_BAD_SUFFIX)
GST_PLUGINS_BAD_DIR := $(BUILDDIR)/$(GST_PLUGINS_BAD)
+
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
@@ -35,90 +37,142 @@ $(GST_PLUGINS_BAD_SOURCE):
# Prepare
# ----------------------------------------------------------------------------
-GST_PLUGINS_BAD_PATH := PATH=$(CROSS_PATH)
-GST_PLUGINS_BAD_ENV := $(CROSS_ENV)
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_AACPARSE) += aacparse
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_ADPCMDEC) += adpcmdec
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_AIFF) += aiff
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_AMRPARSE) += amrparse
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_ASFMUX) += asfmux
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_AUTOCONVERT) += autoconvert
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_CAMERABIN) += camerabin
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_LEGACYRESAMPLE) += legacyresample
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_BAYER) += bayer
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_CDXAPARSE) += cdxaparse
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DCCP) += dccp
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DEBUGUTILS) += debugutils
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DTMF) += dtmf
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DVDSPU) += dvdspu
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_FESTIVAL) += festival
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_FREEZE) += freeze
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_FREI0R) += frei0r
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_H264PARSE) += h264parse
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_HDVPARSE) += hdvparse
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_ID3TAG) += id3tag
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_LIBRFB) += librfb
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_LIVEADDER) += liveadder
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MPEGDEMUX) += mpegdemux
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MPEGTSMUX) += mpegtsmux
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MPEGPSMUX) += mpegpsmux
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MPEG4VIDEOPARSE) += mpeg4videoparse
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MPEGVIDEOPARSE) += mpegvideoparse
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MVE) += mve
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MXF) += mxf
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_NFS) += nsf
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_NUVDEMUX) += nuvdemux
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_PCAPPARSE) += pcapparse
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_PNM) += pnm
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_QTMUX) += qtmux
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_RAWPARSE) += rawparse
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_REAL) += real
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_RTPMUX) += rtpmux
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SCALETEMPO) += scaletempo
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SDP) += sdp
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SELECTOR) += selector
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SHAPEWIPE) += shapewipe
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SIREN) += siren
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SPEED) += speed
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SUBENC) += subenc
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_STEREO) += stereo
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_TTA) += tta
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_VALVE) += valve
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_VIDEOMEASURE) += videomeasure
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_VIDEOSIGNAL) += videosignal
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_VMNC) += vmnc
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DIRECTSOUND) += directsound
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DIRECTDRAW) += directdraw
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_OSX_VIDEO) += osx_video
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_QUICKTIME) += quicktime
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_VCD) += vcd
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_ALSA) += alsa
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_ASSRENDER) += assrender
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_AMRWB) += amrwb
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_APEXSINK) += apexsink
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_BZ2) += bz2
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_CDAUDIO) += cdaudio
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_CELT) += celt
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_COG) += cog
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DC1394) += dc1394
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DIRECTFB) += directfb
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DIRAC) += dirac
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DTS) += dts
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DIVX) += divx
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DVDNAV) += dvdnav
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_METADATA) += metadata
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_FAAC) += faac
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_FAAD) += faad
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_FBDEV) += fbdev
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_GSM) += gsm
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_IVORBIS) += ivorbis
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_JACK) += jack
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_JP2K) += jp2k
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_KATE) += kate
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_LADSPA) += ladspa
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_LV2) += lv2
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_LIBMMS) += libmms
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MODPLUG) += modplug
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MIMIC) += mimic
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MPEG2ENC) += mpeg2enc
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MPLEX) += mplex
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MUSEPACK) += musepack
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MUSICBRAINZ) += musicbrainz
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_MYTHTV) += mythtv
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_NAS) += nas
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_NEON) += neon
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_OFA) += ofa
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_RSVG) += rsvg
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_TIMIDITY) += timidity
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_WILDMIDI) += wildmidi
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SDL) += sdl
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SNDFILE) += sndfile
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SOUNDTOUCH) += soundtouch
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SPC) += spc
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_GME) += gme
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SWFDEC) += swfdec
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_THEORADEC) += theoradec
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_XVID) += xvid
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_DVB) += dvb
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_OSS4) += oss4
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_WININET) += wininet
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_ACM) += acm
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_VDPAU) += vdpau
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_SCHRO) += schro
+GST_PLUGINS_BAD_ENABLE-$(PTXCONF_GST_PLUGINS_BAD_ZBAR) += zbar
+
#
# autoconf
#
-GST_PLUGINS_BAD_AUTOCONF := $(CROSS_AUTOCONF_USR) \
+GST_PLUGINS_BAD_CONF_TOOL := autoconf
+GST_PLUGINS_BAD_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-nls \
+ --disable-rpath \
+ --disable-debug \
+ --disable-profiling \
+ --disable-valgrind \
+ --disable-gcov \
--disable-examples \
- --disable-quicktime \
- --disable-vcd \
- --disable-alsa \
- --disable-amrwb \
- --disable-bz2 \
- --disable-cdaudio \
- --disable-dc1394 \
- --disable-directfb \
- --disable-dirac \
- --disable-dts \
- --disable-divx \
- --disable-dvdnav \
- --disable-metadata \
- --disable-faac \
- --disable-faad \
- --disable-gsm \
- --disable-ivorbis \
- --disable-jack \
- --disable-ladspa \
- --disable-libmms \
- --disable-mpeg2enc \
- --disable-mplex \
- --disable-musepack \
- --disable-musicbrainz \
- --disable-mythtv \
- --disable-nas \
- --disable-neon \
- --disable-ofa \
- --disable-timidity \
- --disable-wildmidi \
- --disable-sdl \
+ --enable-external \
+ --enable-experimental \
+ --disable-gtk-doc \
--disable-sdltest \
- --disable-sndfile \
- --disable-soundtouch \
- --disable-spc \
- --disable-swfdec \
- --disable-theoradec \
- --disable-x264 \
- --disable-xvid \
- --disable-dvb \
- --disable-oss4 \
- --disable-wininet
-
-ifdef PTXCONF_GST_PLUGINS_BAD__FBDEVSINK
-GST_PLUGINS_BAD_AUTOCONF += --enable-fbdev
-GST_PLUGINS_BAD_INSTALL += /usr/lib/gstreamer-0.10/libgstfbdevsink.so
-else
-GST_PLUGINS_BADD_AUTOCONF += --disable-fbdev
-endif
-
-ifdef PTXCONF_GST_PLUGINS_BAD__BAYER
-GST_PLUGINS_BAD_AUTOCONF += --enable-bayer
-GST_PLUGINS_BAD_INSTALL += /usr/lib/gstreamer-0.10/libgstbayer.so
-else
-GST_PLUGINS_BADD_AUTOCONF += --disable-bayer
-endif
-
-ifdef PTXCONF_GST_PLUGINS_BAD__MPEG4VIDEOPARSE
-GST_PLUGINS_BAD_AUTOCONF += --enable-mpeg4videoparse
-GST_PLUGINS_BAD_INSTALL += /usr/lib/gstreamer-0.10/libgstmpeg4videoparse.so
-else
-GST_PLUGINS_BADD_AUTOCONF += --disable-mpeg4videoparse
-endif
+ --enable-shave
-ifdef PTXCONF_GST_PLUGINS_BAD__H264PARSE
-GST_PLUGINS_BAD_AUTOCONF += --enable-h264parse
-GST_PLUGINS_BAD_INSTALL += /usr/lib/gstreamer-0.10/libgsth264parse.so
-else
-GST_PLUGINS_BADD_AUTOCONF += --disable-h264parse
+ifneq ($(call remove_quotes,$(GST_PLUGINS_BAD_ENABLE-y)),)
+GST_PLUGINS_BAD_CONF_OPT += --enable-$(subst $(space),$(space)--enable-,$(strip $(GST_PLUGINS_BAD_ENABLE-y)))
endif
-ifdef PTXCONF_GST_PLUGINS_BAD__MPEGDEMUX
-GST_PLUGINS_BAD_AUTOCONF += --enable-mpegdemux
-GST_PLUGINS_BAD_INSTALL += /usr/lib/gstreamer-0.10/libgstmpegdemux.so
-else
-GST_PLUGINS_BADD_AUTOCONF += --disable-mpegdemux
+ifneq ($(call remove_quotes,$(GST_PLUGINS_BAD_ENABLE-)),)
+GST_PLUGINS_BAD_CONF_OPT += --disable-$(subst $(space),$(space)--disable-,$(strip $(GST_PLUGINS_BAD_ENABLE-)))
endif
# ----------------------------------------------------------------------------
@@ -137,11 +191,21 @@ $(STATEDIR)/gst-plugins-bad.targetinstall:
@$(call install_fixup, gst-plugins-bad,DEPENDS,)
@$(call install_fixup, gst-plugins-bad,DESCRIPTION,missing)
+ # install all activated libs
+ @if [ -d $(GST_PLUGINS_BAD_PKGDIR)/usr/lib/ ]; then \
+ cd $(GST_PLUGINS_BAD_PKGDIR)/usr/lib/ && for libs in `find -name "*-0.10.so"`; do \
+ $(call install_copy, gst-plugins-bad, 0, 0, 0644, -, /usr/lib/$$libs.0.0.0); \
+ $(call install_link, gst-plugins-bad, $$libs.0.0.0, /usr/lib/$$libs.0); \
+ $(call install_link, gst-plugins-bad, $$libs.0.0.0, /usr/lib/$$libs); \
+ done \
+ fi
+
# install all activated plugins
- @for i in $(GST_PLUGINS_BAD_INSTALL); do \
- $(call install_copy, gst-plugins-bad, 0, 0, 644, \
- $(PKGDIR)/$(GST_PLUGINS_BAD)$$i, $$i) \
- done
+ @if [ -d $(GST_PLUGINS_BAD_PKGDIR)/usr/lib/gstreamer-0.10/ ]; then \
+ cd $(GST_PLUGINS_BAD_PKGDIR) && for plugin in `find ./usr/lib/gstreamer-0.10/ -name "*.so"`; do \
+ $(call install_copy, gst-plugins-bad, 0, 0, 0644, -, /$$plugin); \
+ done \
+ fi
@$(call install_finish, gst-plugins-bad)