+++ /dev/null
-#
-# Copyright (C) 2011-2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=gst-plugins-bad
-PKG_VERSION:=0.10.23
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-bad/
-PKG_MD5SUM:=e4822fa2cc933768e2998311a1565979
-
-PKG_BUILD_DEPENDS:= gstreamer gst-plugins-base liboil
-
-PKG_FIXUP:=autoreconf
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/nls.mk
-
-define Package/gstreamer/Default
- CATEGORY:=Multimedia
- SECTION:=multimedia
- TITLE:=GStreamer
- URL:=http://gstreamer.freedesktop.org/
-endef
-
-define Package/gstreamer/description/Default
- GStreamer open source multimedia framework
-endef
-
-
-define Package/gst-plugins-bad
-$(call Package/gstreamer/Default)
- TITLE+= plugins collection (bad)
- DEPENDS+= $(GST_DEPENDS)
-endef
-
-define Package/gts-plugins-bad/description
-$(call Package/gstreamer/description/Default)
- .
- This meta package contains only dependencies to the other plugins from
- the bad plugins collection.
-endef
-
-
-GST_VERSION:=0.10
-
-CONFIGURE_ARGS += \
- --disable-examples \
- --disable-nls \
- \
- --disable-directsound \
- --disable-directdraw \
- --disable-osx_video \
- --disable-quicktime \
- --disable-vcd \
- --disable-alsa \
- --disable-assrender \
- --disable-amrwb \
- --disable-apexsink \
- --disable-bz2 \
- --disable-cdaudio \
- --disable-celt \
- --disable-cog \
- --disable-dc1394 \
- --disable-directfb \
- --disable-dirac \
- --disable-dts \
- --disable-divx \
- --disable-resindvd \
- --disable-metadata \
- --disable-faac \
- --disable-fbdev \
- --disable-flite \
- --disable-gsm \
- --disable-jack \
- --disable-jp2k \
- --disable-kate \
- --disable-ladspa \
- --disable-lv2 \
- --disable-modplug \
- --disable-mimic \
- --disable-mpeg2enc \
- --disable-mplex \
- --disable-musepack \
- --disable-musicbrainz \
- --disable-mythtv \
- --disable-nas \
- --disable-neon \
- --disable-ofa \
- --disable-rsvg \
- --disable-timidity \
- --disable-wildmidi \
- --disable-sdl \
- --disable-sdltest \
- --disable-sndfile \
- --disable-soundtouch \
- --disable-spc \
- --disable-gme \
- --disable-swfdec \
- --disable-theoradec \
- --disable-xvid \
- --disable-dvb \
- --disable-wininet \
- --disable-acm \
- --disable-vdpau \
- --disable-schro \
- --disable-zbar \
- --disable-vp8 \
- --disable-librfb \
- \
- --without-libiconv-prefix \
- --without-libintl-prefix \
- --without-x \
-
-EXTRA_LDFLAGS+= \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-
-
-define Package/gst-plugins-ugly/install
- /bin/true
-endef
-
-# 1: short name
-# 2: description
-# 3: dependencies on other gstreamer libraries (short name)
-# 4: dependencies on other packages
-define GstBuildLibrary
-
- GST_DEPENDS += +libgst$(1)
-
- define Package/libgst$(1)
- $(call Package/gstreamer/Default)
- TITLE+= $(2) library (base)
- DEPENDS+= +libgstreamer $$(foreach p,$(3),+libgst$$(p)) $(4)
- endef
-
- define Package/libgst$(1)/description
- $(call Package/gstreamer/description/Default)
- .
- This package contains the GStreamer $(2) library.
- endef
-
- define Package/libgst$(1)/install
- $(INSTALL_DIR) $$(1)/usr/lib
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
- $$(1)/usr/lib/ \
- )
- endef
-
- $$(eval $$(call BuildPackage,libgst$(1)))
-endef
-$(eval $(call GstBuildLibrary,photography,photography,,))
-
-
-# 1: short name
-# 2: description
-# 3: dependencies on other gstreamer libraries (short name)
-# 4: dependencies on other gstreamer plugins (short name)
-# 5: dependencies on other packages
-define GstBuildPlugin
-
- GST_DEPENDS += +gst-mod-$(1)
-
- define Package/gst-mod-$(1)
- $(call Package/gstreamer/Default)
- TITLE+= $(2) plugin (bad)
- DEPENDS+= +libgstreamer $$(foreach p,$(3),+libgst$$(p)) $$(foreach p,$(4),+gst-mod-$$(p)) $(5)
- endef
-
- define Package/gst-mod-$(1)/description
- $(call Package/gstreamer/description/Default)
- .
- This package contains the GStreamer $(2) plugin.
- endef
-
- define Package/gst-mod-$(1)/install
- $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
- $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
- )
- endef
-
- $$(eval $$(call BuildPackage,gst-mod-$(1)))
-endef
-
-$(eval $(call GstBuildPlugin,adpcmdec,adpcm decoding support,,,))
-$(eval $(call GstBuildPlugin,adpcmenc,adpcm encoding support,,,))
-$(eval $(call GstBuildPlugin,aiff,aiff support,tag,,))
-$(eval $(call GstBuildPlugin,asfmux,asf muxing support,rtp,,))
-$(eval $(call GstBuildPlugin,autoconvert,autoconvert support,,,))
-$(eval $(call GstBuildPlugin,camerabin,camerabin support,interfaces photography tag,,))
-$(eval $(call GstBuildPlugin,legacyresample,legacyresample support,,,+liboil +librt))
-$(eval $(call GstBuildPlugin,bayer,bayer support,video,,))
-$(eval $(call GstBuildPlugin,cdxaparse,cdxaparse support,riff,,))
-$(eval $(call GstBuildPlugin,dataurisrc,dataurisrc support,,,))
-$(eval $(call GstBuildPlugin,dccp,dccp support,,,))
-$(eval $(call GstBuildPlugin,debugutilsbad,debugutils support,interfaces video,,))
-$(eval $(call GstBuildPlugin,dtmf,dtmf support,rtp,,))
-$(eval $(call GstBuildPlugin,dvdspu,dvdspu support,video,,))
-$(eval $(call GstBuildPlugin,faad,faad support,audio,,+libfaad2))
-$(eval $(call GstBuildPlugin,festival,festival support,audio,,))
-$(eval $(call GstBuildPlugin,freeze,freeze support,,,))
-$(eval $(call GstBuildPlugin,frei0r,frei0r support,controller video,,))
-$(eval $(call GstBuildPlugin,h264parse,h264parse support,,,))
-$(eval $(call GstBuildPlugin,hdvparse,hdvparse support,,,))
-$(eval $(call GstBuildPlugin,id3tag,id3tag support,tag,,))
-$(eval $(call GstBuildPlugin,jpegformat,jpegformat support,tag interfaces,,))
-$(eval $(call GstBuildPlugin,liveadder,liveadder support,audio,,))
-$(eval $(call GstBuildPlugin,mpegdemux,mpegdemux support,tag,,+liboil +librt))
-$(eval $(call GstBuildPlugin,mpegtsmux,mpegtsmux support,video,,))
-$(eval $(call GstBuildPlugin,mpegpsmux,mpegpsmux support,,,))
-$(eval $(call GstBuildPlugin,mpegvideoparse,mpegvideoparse support,,,))
-$(eval $(call GstBuildPlugin,mve,mve support,,,))
-$(eval $(call GstBuildPlugin,mxf,mxf support,video,,))
-$(eval $(call GstBuildPlugin,nsf,nsf support,,,))
-$(eval $(call GstBuildPlugin,nuvdemux,nuvdemux support,,,))
-$(eval $(call GstBuildPlugin,pcapparse,pcapparse support,,,))
-$(eval $(call GstBuildPlugin,pnm,pnm support,video,,))
-$(eval $(call GstBuildPlugin,rawparse,rawparse support,video audio,,))
-$(eval $(call GstBuildPlugin,rtpmux,rtpmux support,rtp,,))
-#$(eval $(call GstBuildPlugin,rfbsrc,rfb support,,,))
-$(eval $(call GstBuildPlugin,scaletempoplugin,scaletempo support,,,))
-$(eval $(call GstBuildPlugin,sdpelem,sdp support,interfaces rtp sdp,,))
-$(eval $(call GstBuildPlugin,segmentclip,segmentclip support,audio,,))
-$(eval $(call GstBuildPlugin,siren,siren support,rtp,,))
-#$(eval $(call GstBuildPlugin,soundtouch,soundtouch support,,,))
-$(eval $(call GstBuildPlugin,speed,speed support,,,))
-$(eval $(call GstBuildPlugin,subenc,subenc support,controller,,))
-$(eval $(call GstBuildPlugin,stereo,stereo support,audio controller,,))
-$(eval $(call GstBuildPlugin,tta,tta support,,,))
-$(eval $(call GstBuildPlugin,videomeasure,videomeasure support,video,,))
-$(eval $(call GstBuildPlugin,videosignal,videosignal support,video,,))
-$(eval $(call GstBuildPlugin,vmnc,vmnc support,,,))
-$(eval $(call GstBuildPlugin,mms,mms support,,,+libmms))
-
-$(eval $(call BuildPackage,gst-plugins-bad))
+++ /dev/null
-diff -ur gst-plugins-bad-0.10.19.orig/configure.ac gst-plugins-bad-0.10.19/configure.ac
---- gst-plugins-bad-0.10.19.orig/configure.ac 2011-01-07 01:44:21.000000000 +0100
-+++ gst-plugins-bad-0.10.19/configure.ac 2011-01-07 01:45:31.000000000 +0100
-@@ -1772,7 +1772,6 @@
- ext/vp8/Makefile
- ext/xvid/Makefile
- ext/zbar/Makefile
--po/Makefile.in
- docs/Makefile
- docs/plugins/Makefile
- docs/version.entities
-diff -ur gst-plugins-bad-0.10.19.orig/Makefile.am gst-plugins-bad-0.10.19/Makefile.am
---- gst-plugins-bad-0.10.19.orig/Makefile.am 2011-01-07 01:44:21.000000000 +0100
-+++ gst-plugins-bad-0.10.19/Makefile.am 2011-01-07 01:46:17.000000000 +0100
-@@ -2,7 +2,7 @@
-
- SUBDIRS = \
- gst-libs gst sys ext pkgconfig \
-- m4 common docs tests po tools
-+ m4 common docs tests tools
-
- DIST_SUBDIRS = \
- gst gst-libs sys ext pkgconfig \
+++ /dev/null
-#
-# Copyright (C) 2008-2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=gst-plugins-base
-PKG_VERSION:=0.10.36
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-base/
-PKG_MD5SUM:=776c73883e567f67b9c4a2847d8d041a
-
-PKG_BUILD_DEPENDS:= gstreamer liboil
-PKG_CONFIG_DEPENDS:= \
- CONFIG_PACKAGE_gst-mod-alsa \
- CONFIG_PACKAGE_gst-mod-app \
- CONFIG_PACKAGE_gst-mod-audioconvert \
- CONFIG_PACKAGE_gst-mod-audiorate \
- CONFIG_PACKAGE_gst-mod-audioresample \
- CONFIG_PACKAGE_gst-mod-audiotestsrc \
- CONFIG_PACKAGE_gst-mod-gio \
- CONFIG_PACKAGE_gst-mod-ogg \
- CONFIG_PACKAGE_gst-mod-tcp \
- CONFIG_PACKAGE_gst-mod-theora \
- CONFIG_PACKAGE_gst-mod-videotestsrc \
- CONFIG_PACKAGE_gst-mod-volume \
- CONFIG_PACKAGE_gst-mod-vorbis \
-
-PKG_FIXUP:=autoreconf
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/nls.mk
-
-# -liconv crept in from pkg-config, to be revisited later
-include $(INCLUDE_DIR)/nls.mk
-
-define Package/gstreamer/Default
- CATEGORY:=Multimedia
- SECTION:=multimedia
- TITLE:=GStreamer
- URL:=http://gstreamer.freedesktop.org/
-endef
-
-define Package/gstreamer/description/Default
- GStreamer open source multimedia framework
-endef
-
-
-define Package/gst-plugins-base
-$(call Package/gstreamer/Default)
- TITLE+= plugins collection (base)
- DEPENDS+= $(GST_DEPENDS)
-endef
-
-define Package/gts-plugins-base/description
-$(call Package/gstreamer/description/Default)
- .
- This meta package contains only dependencies to the other libraries and
- plugins from the base plugins collection.
-endef
-
-
-GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst-mod-$(1)),--enable,--disable)-%,$(1))
-
-GST_VERSION:=0.10
-
-CONFIGURE_ARGS += \
- --disable-examples \
- \
- $(call GST_COND_SELECT,alsa) \
- --disable-alsa-test \
- $(call GST_COND_SELECT,app) \
- $(call GST_COND_SELECT,audioconvert) \
- $(call GST_COND_SELECT,audiorate) \
- $(call GST_COND_SELECT,audioresample) \
- $(call GST_COND_SELECT,audiotestsrc) \
- --disable-cdparanoia \
- --disable-ffmpegcolorspace \
- --disable-freetypetest \
- $(call GST_COND_SELECT,gio) \
- --disable-gnome_vfs \
- --disable-gst_v4l \
- --disable-libvisual \
- $(call GST_COND_SELECT,ogg) \
- --disable-oggtest \
- --disable-pango \
- --disable-subparse \
- $(call GST_COND_SELECT,tcp) \
- $(call GST_COND_SELECT,theora) \
- --disable-videorate \
- --disable-videoscale \
- $(call GST_COND_SELECT,videotestsrc) \
- $(call GST_COND_SELECT,volume) \
- $(call GST_COND_SELECT,vorbis) \
- --disable-vorbistest \
- --disable-x \
- --disable-xshm \
- --disable-xvideo \
- \
- --without-libiconv-prefix \
- --without-libintl-prefix \
- --without-x \
- \
- --with-audioresample-format=int \
-
-EXTRA_LDFLAGS+= \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-
-
-define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/include/gstreamer-$(GST_VERSION)/* \
- $(1)/usr/include/gstreamer-$(GST_VERSION)/ \
- )
- $(INSTALL_DIR) $(1)/usr/lib
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/libgst*-$(GST_VERSION).{a,la,so*} \
- $(1)/usr/lib/ \
- )
- $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \
- $(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
- )
- $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \
- $(1)/usr/lib/pkgconfig/ \
- )
-endef
-
-
-define Package/gst-plugins-base/install
- /bin/true
-endef
-
-
-# 1: short name
-# 2: description
-# 3: dependencies on other gstreamer libraries (short name)
-# 4: dependencies on other packages
-define GstBuildLibrary
-
- GST_DEPENDS += +libgst$(1)
-
- define Package/libgst$(1)
- $(call Package/gstreamer/Default)
- TITLE+= $(2) library (base)
- DEPENDS+= +libgstreamer $$(foreach p,$(3),+libgst$$(p)) $(4)
- endef
-
- define Package/libgst$(1)/description
- $(call Package/gstreamer/description/Default)
- .
- This package contains the GStreamer $(2) library.
- endef
-
- define Package/libgst$(1)/install
- $(INSTALL_DIR) $$(1)/usr/lib
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
- $$(1)/usr/lib/ \
- )
- endef
-
- $$(eval $$(call BuildPackage,libgst$(1)))
-endef
-
-$(eval $(call GstBuildLibrary,app,app,,))
-$(eval $(call GstBuildLibrary,audio,audio,interfaces pbutils,))
-$(eval $(call GstBuildLibrary,cdda,CDDA,tag,))
-$(eval $(call GstBuildLibrary,fft,FFT,,))
-$(eval $(call GstBuildLibrary,interfaces,interfaces,))
-$(eval $(call GstBuildLibrary,netbuffer,network buffer,,))
-$(eval $(call GstBuildLibrary,pbutils,utils,,))
-$(eval $(call GstBuildLibrary,riff,RIFF media,audio tag,,))
-$(eval $(call GstBuildLibrary,rtp,RTP,,))
-$(eval $(call GstBuildLibrary,rtsp,RTSP,,))
-$(eval $(call GstBuildLibrary,sdp,SDP,,))
-$(eval $(call GstBuildLibrary,tag,tag support,,))
-$(eval $(call GstBuildLibrary,video,video,,))
-
-
-# 1: short name
-# 2: description
-# 3: dependencies on other gstreamer libraries (short name)
-# 4: dependencies on other gstreamer plugins (short name)
-# 5: dependencies on other packages
-define GstBuildPlugin
-
- GST_DEPENDS += +gst-mod-$(1)
-
- define Package/gst-mod-$(1)
- $(call Package/gstreamer/Default)
- TITLE+= $(2) plugin (base)
- DEPENDS+= +libgstreamer $$(foreach p,$(3),+libgst$$(p)) $$(foreach p,$(4),+gst-mod-$$(p)) $(5)
- endef
-
- define Package/gst-mod-$(1)/description
- $(call Package/gstreamer/description/Default)
- .
- This package contains the GStreamer $(2) plugin.
- endef
-
- define Package/gst-mod-$(1)/install
- $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
- $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
- )
- endef
-
- $$(eval $$(call BuildPackage,gst-mod-$(1)))
-endef
-
-$(eval $(call GstBuildPlugin,alsa,ALSA,audio,,+alsa-lib))
-$(eval $(call GstBuildPlugin,app,app,app,,))
-$(eval $(call GstBuildPlugin,audioconvert,audio format conversion,audio,,))
-$(eval $(call GstBuildPlugin,audiorate,audio rate adjusting,,,))
-$(eval $(call GstBuildPlugin,audioresample,audio resampling,,,))
-$(eval $(call GstBuildPlugin,audiotestsrc,audio test,controller,,))
-$(eval $(call GstBuildPlugin,decodebin,media decoder,pbutils,,))
-$(eval $(call GstBuildPlugin,decodebin2,media decoder (v2),pbutils,,))
-$(eval $(call GstBuildPlugin,gio,GIO,,,))
-$(eval $(call GstBuildPlugin,ogg,Ogg,riff tag,,+libogg))
-$(eval $(call GstBuildPlugin,playbin,playback,video interfaces pbutils,,))
-$(eval $(call GstBuildPlugin,tcp,TCP,dataprotocol,,))
-$(eval $(call GstBuildPlugin,theora,Theora,video tag,ogg,+libtheora))
-$(eval $(call GstBuildPlugin,typefindfunctions,'typefind' functions,pbutils,,))
-$(eval $(call GstBuildPlugin,videotestsrc,video test,,,+liboil))
-$(eval $(call GstBuildPlugin,volume,volume,audio controller,,+liboil))
-$(eval $(call GstBuildPlugin,vorbis,Vorbis,audio tag,ogg,+libvorbis))
-
-$(eval $(call BuildPackage,gst-plugins-base))
+++ /dev/null
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -12,14 +12,12 @@ SUBDIRS = \
- gst sys $(SUBDIRS_EXT) \
- tools \
- tests \
-- docs \
- po \
- common \
- m4
-
- DIST_SUBDIRS = \
- pkgconfig \
-- docs \
- gst-libs \
- gst sys ext \
- tools \
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -464,14 +464,12 @@ SUBDIRS = \
- gst sys $(SUBDIRS_EXT) \
- tools \
- tests \
-- docs \
- po \
- common \
- m4
-
- DIST_SUBDIRS = \
- pkgconfig \
-- docs \
- gst-libs \
- gst sys ext \
- tools \
+++ /dev/null
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -11,7 +11,6 @@ SUBDIRS = \
- gst-libs \
- gst sys $(SUBDIRS_EXT) \
- tools \
-- tests \
- po \
- common \
- m4
-@@ -21,7 +20,6 @@ DIST_SUBDIRS = \
- gst-libs \
- gst sys ext \
- tools \
-- tests \
- po \
- common \
- m4
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -463,7 +463,6 @@ SUBDIRS = \
- gst-libs \
- gst sys $(SUBDIRS_EXT) \
- tools \
-- tests \
- po \
- common \
- m4
-@@ -473,7 +472,6 @@ DIST_SUBDIRS = \
- gst-libs \
- gst sys ext \
- tools \
-- tests \
- po \
- common \
- m4
+++ /dev/null
---- a/configure.ac
-+++ b/configure.ac
-@@ -1031,7 +1031,6 @@ docs/design/Makefile
- docs/libs/Makefile
- docs/plugins/Makefile
- docs/version.entities
--po/Makefile.in
- common/Makefile
- common/m4/Makefile
- m4/Makefile
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -11,7 +11,6 @@ SUBDIRS = \
- gst-libs \
- gst sys $(SUBDIRS_EXT) \
- tools \
-- po \
- common \
- m4
-
-@@ -20,7 +19,6 @@ DIST_SUBDIRS = \
- gst-libs \
- gst sys ext \
- tools \
-- po \
- common \
- m4
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -463,7 +463,6 @@ SUBDIRS = \
- gst-libs \
- gst sys $(SUBDIRS_EXT) \
- tools \
-- po \
- common \
- m4
-
-@@ -472,7 +471,6 @@ DIST_SUBDIRS = \
- gst-libs \
- gst sys ext \
- tools \
-- po \
- common \
- m4
-
+++ /dev/null
-From 787e896bdeb6c67d13a918ec55d3826fa010fb90 Mon Sep 17 00:00:00 2001
-From: Peter Korsgaard <jacmet@sunsite.dk>
-Date: Wed, 25 Jan 2012 22:53:04 +0000
-Subject: vorbisdec: support modern Tremor versions
-
-Tremor changed to use standard libogg rather than its own incompatible
-copy back in Aug 2010 (r17375), causing gst-plugin-base build to fail.
-
-Tremolo so far unfortunately hasn't been updated. Restructure
-vorbisdeclib.h so the int/float logic is seperate from the ogg handling,
-and only use the legacy _ogg_packet_wrapper code for Tremolo.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=668726
----
-(limited to 'ext/vorbis/gstvorbisdeclib.h')
-
---- a/ext/vorbis/gstvorbisdeclib.h
-+++ b/ext/vorbis/gstvorbisdeclib.h
-@@ -29,11 +29,6 @@
-
- #ifndef TREMOR
-
--#include <vorbis/codec.h>
--
--typedef float vorbis_sample_t;
--typedef ogg_packet ogg_packet_wrapper;
--
- #define GST_VORBIS_DEC_DESCRIPTION "decode raw vorbis streams to float audio"
-
- #define GST_VORBIS_DEC_SRC_CAPS \
-@@ -47,6 +42,42 @@ typedef ogg_packet o
-
- #define GST_VORBIS_DEC_GLIB_TYPE_NAME GstVorbisDec
-
-+#else /* TREMOR */
-+
-+#define GST_VORBIS_DEC_DESCRIPTION "decode raw vorbis streams to integer audio"
-+
-+#define GST_VORBIS_DEC_SRC_CAPS \
-+ GST_STATIC_CAPS ("audio/x-raw-int, " \
-+ "rate = (int) [ 1, MAX ], " \
-+ "channels = (int) [ 1, 6 ], " \
-+ "endianness = (int) BYTE_ORDER, " \
-+ "width = (int) { 16, 32 }, " \
-+ "depth = (int) 16, " \
-+ "signed = (boolean) true")
-+
-+#define GST_VORBIS_DEC_DEFAULT_SAMPLE_WIDTH (16)
-+
-+/* we need a different type name here */
-+#define GST_VORBIS_DEC_GLIB_TYPE_NAME GstIVorbisDec
-+
-+/* and still have it compile */
-+typedef struct _GstVorbisDec GstIVorbisDec;
-+typedef struct _GstVorbisDecClass GstIVorbisDecClass;
-+
-+#endif /* TREMOR */
-+
-+#ifndef USE_TREMOLO
-+
-+#ifdef TREMOR
-+ #include <tremor/ivorbiscodec.h>
-+ typedef ogg_int32_t vorbis_sample_t;
-+#else
-+ #include <vorbis/codec.h>
-+ typedef float vorbis_sample_t;
-+#endif
-+
-+typedef ogg_packet ogg_packet_wrapper;
-+
- static inline guint8 *
- gst_ogg_packet_data (ogg_packet * p)
- {
-@@ -72,17 +103,11 @@ gst_ogg_packet_from_wrapper (ogg_packet_
- return packet;
- }
-
--#else
--
--#ifdef USE_TREMOLO
-- #include <Tremolo/ivorbiscodec.h>
-- #include <Tremolo/codec_internal.h>
-- typedef ogg_int16_t vorbis_sample_t;
--#else
-- #include <tremor/ivorbiscodec.h>
-- typedef ogg_int32_t vorbis_sample_t;
--#endif
-+#else /* USE_TREMOLO */
-
-+#include <Tremolo/ivorbiscodec.h>
-+#include <Tremolo/codec_internal.h>
-+typedef ogg_int16_t vorbis_sample_t;
- typedef struct _ogg_packet_wrapper ogg_packet_wrapper;
-
- struct _ogg_packet_wrapper {
-@@ -91,26 +116,6 @@ struct _ogg_packet_wrapper {
- ogg_buffer buf;
- };
-
--#define GST_VORBIS_DEC_DESCRIPTION "decode raw vorbis streams to integer audio"
--
--#define GST_VORBIS_DEC_SRC_CAPS \
-- GST_STATIC_CAPS ("audio/x-raw-int, " \
-- "rate = (int) [ 1, MAX ], " \
-- "channels = (int) [ 1, 6 ], " \
-- "endianness = (int) BYTE_ORDER, " \
-- "width = (int) { 16, 32 }, " \
-- "depth = (int) 16, " \
-- "signed = (boolean) true")
--
--#define GST_VORBIS_DEC_DEFAULT_SAMPLE_WIDTH (16)
--
--/* we need a different type name here */
--#define GST_VORBIS_DEC_GLIB_TYPE_NAME GstIVorbisDec
--
--/* and still have it compile */
--typedef struct _GstVorbisDec GstIVorbisDec;
--typedef struct _GstVorbisDecClass GstIVorbisDecClass;
--
- /* compensate minor variation */
- #define vorbis_synthesis(a, b) vorbis_synthesis (a, b, 1)
-
-@@ -154,7 +159,7 @@ gst_ogg_packet_from_wrapper (ogg_packet_
- return &(packet->packet);
- }
-
--#endif
-+#endif /* USE_TREMOLO */
-
- typedef void (*CopySampleFunc)(vorbis_sample_t *out, vorbis_sample_t **in,
- guint samples, gint channels, gint width);
+++ /dev/null
-#
-# Copyright (C) 2009-2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=gst-plugins-good
-PKG_VERSION:=0.10.31
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-good/
-PKG_MD5SUM:=
-
-PKG_BUILD_DEPENDS:= gstreamer gst-plugins-base liboil
-
-PKG_FIXUP:=autoreconf
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/nls.mk
-
-define Package/gstreamer/Default
- CATEGORY:=Multimedia
- SECTION:=multimedia
- TITLE:=GStreamer
- URL:=http://gstreamer.freedesktop.org/
-endef
-
-define Package/gstreamer/description/Default
- GStreamer open source multimedia framework
-endef
-
-
-define Package/gst-plugins-good
-$(call Package/gstreamer/Default)
- TITLE+= plugins collection (good)
- DEPENDS+= $(GST_DEPENDS)
-endef
-
-define Package/gts-plugins-good/description
-$(call Package/gstreamer/description/Default)
- .
- This meta package contains only dependencies to the other plugins from
- the good plugins collection.
-endef
-
-
-GST_VERSION:=0.10
-
-CONFIGURE_ARGS += \
- --disable-examples \
- \
- --disable-aalib \
- --disable-alpha \
- --disable-annodex \
- --disable-apetag \
- --disable-auparse \
- --disable-avi \
- --disable-bz2 \
- --disable-cairo \
- --disable-directsound \
- --disable-dv1394 \
- --disable-effectv \
- --disable-esd \
- --disable-flv \
- --disable-flx \
- --disable-gconf \
- --disable-gconftool \
- --disable-gdk_pixbuf \
- --disable-goom \
- --disable-goom2k1 \
- --disable-gst_v4l2 \
- --disable-hal \
- --disable-jpeg \
- --disable-law \
- --disable-libcaca \
- --disable-libdv \
- --disable-libpng \
- --disable-matroska \
- --disable-monoscope \
- --disable-osx_audio \
- --disable-osx_video \
- --disable-pulse \
- --disable-qtdemux \
- --disable-rtspmanager \
- --disable-smpte \
- --disable-shout2 \
- --disable-speex \
- --disable-sunaudio \
- --disable-taglib \
- --disable-videobox \
- --disable-videocrop \
- --disable-videofilter \
- --disable-videomixer \
- --disable-wavpack \
- --disable-x \
- --disable-xshm \
- --disable-xvideo \
- --disable-y4m \
- --disable-zlib \
- \
- --without-libiconv-prefix \
- --without-libintl-prefix \
- --without-x \
-
-EXTRA_LDFLAGS+= \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-
-
-define Package/gst-plugins-good/install
- /bin/true
-endef
-
-
-# 1: short name
-# 2: description
-# 3: dependencies on other gstreamer libraries (short name)
-# 4: dependencies on other gstreamer plugins (short name)
-# 5: dependencies on other packages
-define GstBuildPlugin
-
- GST_DEPENDS += +gst-mod-$(1)
-
- define Package/gst-mod-$(1)
- $(call Package/gstreamer/Default)
- TITLE+= $(2) plugin (good)
- DEPENDS+= +libgstreamer $$(foreach p,$(3),+libgst$$(p)) $$(foreach p,$(4),+gst-mod-$$(p)) $(5)
- endef
-
- define Package/gst-mod-$(1)/description
- $(call Package/gstreamer/description/Default)
- .
- This package contains the GStreamer $(2) plugin.
- endef
-
- define Package/gst-mod-$(1)/install
- $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
- $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
- )
- endef
-
- $$(eval $$(call BuildPackage,gst-mod-$(1)))
-endef
-
-$(eval $(call GstBuildPlugin,audiofx,audio effects,audio fft controller,,))
-$(eval $(call GstBuildPlugin,autodetect,format auto-detection,,,))
-$(eval $(call GstBuildPlugin,audioparsers,audio parsers,audio tag,,))
-$(eval $(call GstBuildPlugin,cutter,audio cutter,audio,,))
-$(eval $(call GstBuildPlugin,debug,debugging,,,))
-$(eval $(call GstBuildPlugin,equalizer,audio equalizer,audio controller,,))
-$(eval $(call GstBuildPlugin,flac,FLAC codec,audio pbutils tag,,+libflac))
-$(eval $(call GstBuildPlugin,id3demux,ID3v1/v2 demuxer,pbutils tag,,))
-$(eval $(call GstBuildPlugin,icydemux,icy demuxer,audio tag,,))
-$(eval $(call GstBuildPlugin,interleave,audio interleave,audio,,))
-$(eval $(call GstBuildPlugin,isomp4,isomp4,riff rtp tag pbutils audio,,))
-$(eval $(call GstBuildPlugin,level,audio level,audio,,))
-$(eval $(call GstBuildPlugin,multifile,multiple files access,video,,))
-$(eval $(call GstBuildPlugin,multipart,multipart stream handling,,,))
-$(eval $(call GstBuildPlugin,ossaudio,OSS audio support,audio interfaces,,))
-$(eval $(call GstBuildPlugin,replaygain,volume normalization,pbutils,,))
-$(eval $(call GstBuildPlugin,rtp,RTP,audio rtp tag pbutils,,))
-$(eval $(call GstBuildPlugin,rtsp,RTSP,interfaces rtp rtsp sdp,,))
-$(eval $(call GstBuildPlugin,souphttpsrc,soup input,tag,,+libsoup))
-$(eval $(call GstBuildPlugin,spectrum,spectrum data output,audio fft,,))
-$(eval $(call GstBuildPlugin,udp,UDP,netbuffer,,))
-$(eval $(call GstBuildPlugin,wavenc,Wav encoder,riff,,))
-$(eval $(call GstBuildPlugin,wavparse,Wav parser,audio riff tag,,))
-
-$(eval $(call BuildPackage,gst-plugins-good))
+++ /dev/null
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -9,7 +9,6 @@ endif
- ALWAYS_SUBDIRS = \
- gst sys ext \
- tests \
-- docs \
- po \
- common \
- m4 \
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -476,7 +476,6 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk
- ALWAYS_SUBDIRS = \
- gst sys ext \
- tests \
-- docs \
- po \
- common \
- m4 \
+++ /dev/null
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -8,7 +8,6 @@ endif
-
- ALWAYS_SUBDIRS = \
- gst sys ext \
-- tests \
- po \
- common \
- m4 \
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -475,7 +475,6 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk
- @USE_GCONFTOOL_TRUE@GCONF_DIR = gconf
- ALWAYS_SUBDIRS = \
- gst sys ext \
-- tests \
- po \
- common \
- m4 \
+++ /dev/null
---- a/configure.ac
-+++ b/configure.ac
-@@ -1147,7 +1147,6 @@ sys/sunaudio/Makefile
- sys/v4l2/Makefile
- sys/waveform/Makefile
- sys/ximage/Makefile
--po/Makefile.in
- tests/Makefile
- tests/check/Makefile
- tests/examples/Makefile
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -8,7 +8,6 @@ endif
-
- ALWAYS_SUBDIRS = \
- gst sys ext \
-- po \
- common \
- m4 \
- pkgconfig
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -475,7 +475,6 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk
- @USE_GCONFTOOL_TRUE@GCONF_DIR = gconf
- ALWAYS_SUBDIRS = \
- gst sys ext \
-- po \
- common \
- m4 \
- pkgconfig
+++ /dev/null
-#
-# Copyright (C) 2009-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=gst-plugins-ugly
-PKG_VERSION:=0.10.19
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-ugly/
-PKG_MD5SUM:=ba26045c8c8c91f0d48d327ccf53ac0c
-
-PKG_BUILD_DEPENDS:= gstreamer gst-plugins-base liboil
-PKG_CONFIG_Dba26045c8c8c91f0d48d327ccf53ac0cEPENDS:= \
- CONFIG_PACKAGE_gst-mod-asf \
- CONFIG_PACKAGE_gst-mod-lame \
- CONFIG_PACKAGE_gst-mod-mad \
- CONFIG_PACKAGE_gst-mod-mpeg2dec \
-
-PKG_FIXUP:=autoreconf
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/nls.mk
-
-define Package/gstreamer/Default
- CATEGORY:=Multimedia
- SECTION:=multimedia
- TITLE:=GStreamer
- URL:=http://gstreamer.freedesktop.org/
-endef
-
-define Package/gstreamer/description/Default
- GStreamer open source multimedia framework
-endef
-
-
-define Package/gst-plugins-ugly
-$(call Package/gstreamer/Default)
- TITLE+= plugins collection (ugly)
- DEPENDS+= $(GST_DEPENDS)
-endef
-
-define Package/gts-plugins-ugly/description
-$(call Package/gstreamer/description/Default)
- .
- This meta package contains only dependencies to the other plugins from
- the ugly plugins collection.
-endef
-
-
-GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst-mod-$(1)),--enable,--disable)-%,$(1))
-
-GST_VERSION:=0.10
-
-CONFIGURE_ARGS += \
- --disable-examples \
- \
- --disable-a52dec \
- --disable-amrnb \
- --disable-amrwb \
- $(call GST_COND_SELECT,asf) \
- --disable-cdio \
- --disable-dvdlpcmdec \
- --disable-dvdread \
- --disable-dvdsub \
- --disable-iec958 \
- $(call GST_COND_SELECT,lame) \
- $(call GST_COND_SELECT,mad) \
- $(call GST_COND_SELECT,mpeg2dec) \
- --disable-mpegaudioparse \
- --disable-mpegstream \
- --disable-realmedia \
- --disable-sidplay \
- --disable-synaesthesia \
- --disable-twolame \
- --disable-x264 \
- \
- --without-libiconv-prefix \
- --without-libintl-prefix \
-
-EXTRA_LDFLAGS+= \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-
-
-define Package/gst-plugins-ugly/install
- /bin/true
-endef
-
-
-# 1: short name
-# 2: description
-# 3: dependencies on other gstreamer libraries (short name)
-# 4: dependencies on other gstreamer plugins (short name)
-# 5: dependencies on other packages
-define GstBuildPlugin
-
- GST_DEPENDS += +gst-mod-$(1)
-
- define Package/gst-mod-$(1)
- $(call Package/gstreamer/Default)
- TITLE+= $(2) plugin (ugly)
- DEPENDS+= +libgstreamer $$(foreach p,$(3),+libgst$$(p)) $$(foreach p,$(4),+gst-mod-$$(p)) $(5)
- endef
-
- define Package/gst-mod-$(1)/description
- $(call Package/gstreamer/description/Default)
- .
- This package contains the GStreamer $(2) plugin.
- endef
-
- define Package/gst-mod-$(1)/install
- $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
- $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
- )
- endef
-
- $$(eval $$(call BuildPackage,gst-mod-$(1)))
-endef
-
-$(eval $(call GstBuildPlugin,asf,ASF demuxer,audio riff rtp rtsp sdp tag,,))
-$(eval $(call GstBuildPlugin,lame,MP3 encoder (using LAME),audio,,+lame-lib))
-$(eval $(call GstBuildPlugin,mad,MP3 decoder (using MAD),audio tag,,+libid3tag +libmad))
-$(eval $(call GstBuildPlugin,mpeg2dec,MPEG decoder,video,,+libmpeg2))
-
-$(eval $(call BuildPackage,gst-plugins-ugly))
+++ /dev/null
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -1,7 +1,7 @@
- DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
-
- SUBDIRS = \
-- gst-libs gst ext docs m4 tests common pkgconfig po
-+ gst-libs gst ext m4 tests common pkgconfig po
-
- # include before EXTRA_DIST for win32 assignment
- include $(top_srcdir)/common/win32.mak
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -395,7 +395,7 @@ top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
- SUBDIRS = \
-- gst-libs gst ext docs m4 tests common pkgconfig po
-+ gst-libs gst ext m4 tests common pkgconfig po
-
-
- # the MANIFEST contains all win32 related files that should be disted
+++ /dev/null
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -1,7 +1,7 @@
- DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
-
- SUBDIRS = \
-- gst-libs gst ext m4 tests common pkgconfig po
-+ gst-libs gst ext m4 common pkgconfig po
-
- # include before EXTRA_DIST for win32 assignment
- include $(top_srcdir)/common/win32.mak
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -395,7 +395,7 @@ top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
- SUBDIRS = \
-- gst-libs gst ext m4 tests common pkgconfig po
-+ gst-libs gst ext m4 common pkgconfig po
-
-
- # the MANIFEST contains all win32 related files that should be disted
+++ /dev/null
---- a/configure.ac
-+++ b/configure.ac
-@@ -495,7 +495,6 @@ docs/version.entities
- tests/Makefile
- tests/check/Makefile
- m4/Makefile
--po/Makefile.in
- pkgconfig/Makefile
- pkgconfig/gstreamer-plugins-ugly-uninstalled.pc
- gst-plugins-ugly.spec
- )
-
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -1,7 +1,7 @@
- DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
-
- SUBDIRS = \
-- gst-libs gst ext m4 common pkgconfig po
-+ gst-libs gst ext m4 common pkgconfig
-
- # include before EXTRA_DIST for win32 assignment
- include $(top_srcdir)/common/win32.mak
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -395,7 +395,7 @@ top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
- SUBDIRS = \
-- gst-libs gst ext m4 common pkgconfig po
-+ gst-libs gst ext m4 common pkgconfig
-
-
- # the MANIFEST contains all win32 related files that should be disted
+++ /dev/null
-#
-# Copyright (C) 2008-2013 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=gstreamer
-PKG_VERSION:=0.10.36
-PKG_RELEASE:=2
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gstreamer/
-PKG_MD5SUM:=a0cf7d6877f694a1a2ad2b4d1ecb890b
-
-PKG_FIXUP:=autoreconf
-PKG_REMOVE_FILES:=autogen.sh aclocal.m4
-
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/nls.mk
-
-define Package/gstreamer/Default
- CATEGORY:=Multimedia
- SECTION:=multimedia
- TITLE:=GStreamer
- URL:=http://gstreamer.freedesktop.org/
-endef
-
-define Package/gstreamer/description/Default
- GStreamer open source multimedia framework
-endef
-
-
-define Package/gstreamer
-$(call Package/gstreamer/Default)
- TITLE+= framework
- DEPENDS+= +libgstreamer \
- +libgstcheck \
- +libgstcontroller \
- +libgstdataprotocol \
- +libgstnet
-endef
-
-define Package/gstreamer/description
-$(call Package/gstreamer/description/Default)
- .
- This meta package contains only dependencies on the other GStreamer
- componenents.
-endef
-
-
-define Package/gstreamer-utils
-$(call Package/gstreamer/Default)
- TITLE+= utilities
- DEPENDS+= +libgstreamer
-endef
-
-define Package/gstreamer-utils/description
-$(call Package/gstreamer/description/Default)
- .
- This package contains the GStreamer utilities.
-endef
-
-
-define Package/libgstreamer
-$(call Package/gstreamer/Default)
- TITLE+= library (core)
- DEPENDS+= +glib2 +libpthread +libxml2
-endef
-
-define Package/libgstreamer/description
-$(call Package/gstreamer/description/Default)
- .
- This package contains the GStreamer core library.
-endef
-
-
-GST_VERSION:=0.10
-
-CONFIGURE_ARGS += \
- --disable-examples \
- --disable-tests \
- --disable-valgrind \
- --without-libiconv-prefix \
- --without-libintl-prefix \
- --without-x \
-
-EXTRA_LDFLAGS+= \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(ICONV_PREFIX)/lib -L$(INTL_PREFIX)/lib
-
-define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/include/gstreamer-$(GST_VERSION)/* \
- $(1)/usr/include/gstreamer-$(GST_VERSION)/ \
- )
- $(INSTALL_DIR) $(1)/usr/lib
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/libgst*-$(GST_VERSION).{a,la,so*} \
- $(1)/usr/lib/ \
- )
- $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \
- $(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
- )
- $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \
- $(1)/usr/lib/pkgconfig/ \
- )
- $(INSTALL_DIR) $(2)/share/aclocal
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/share/aclocal/* \
- $(2)/share/aclocal/ \
- )
-endef
-
-define Package/gstreamer/install
- /bin/true
-endef
-
-define Package/gstreamer-utils/install
- $(INSTALL_DIR) $(1)/usr/bin
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/bin/gst-feedback* \
- ./usr/bin/gst-launch* \
- ./usr/bin/gst-inspect* \
- ./usr/bin/gst-typefind* \
- ./usr/bin/gst-xmlinspect* \
- ./usr/bin/gst-xmllaunch* \
- $(1)/usr/bin/ \
- )
-endef
-
-define Package/libgstreamer/install
- $(INSTALL_DIR) $(1)/usr/lib
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/libgstbase-$(GST_VERSION).so.* \
- ./usr/lib/libgstreamer-$(GST_VERSION).so.* \
- $(1)/usr/lib/ \
- )
- $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/gstreamer-$(GST_VERSION)/libgst*.so \
- $(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
- )
-endef
-
-
-# 1: short name
-# 2: description
-# 3: dependencies on other gstreamer libraries (short name)
-# 4: dependencies on other packages
-define GstBuildLibrary
-
- define Package/libgst$(1)
- $(call Package/gstreamer/Default)
- TITLE+= $(2) library (core)
- DEPENDS+= +libgstreamer $$(foreach p,$(3),+libgst$$(p)) $(4)
- endef
-
- define Package/libgst$(1)/description
- $(call Package/gstreamer/description/Default)
- .
- This package contains the GStreamer $(2) library.
- endef
-
- define Package/libgst$(1)/install
- $(INSTALL_DIR) $$(1)/usr/lib
- ( cd $(PKG_INSTALL_DIR); $(CP) \
- ./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
- $$(1)/usr/lib/ \
- )
- endef
-
- $$(eval $$(call BuildPackage,libgst$(1)))
-endef
-
-$(eval $(call GstBuildLibrary,check,check unit testing))
-$(eval $(call GstBuildLibrary,controller,dynamic parameter control))
-$(eval $(call GstBuildLibrary,dataprotocol,data protocol))
-$(eval $(call GstBuildLibrary,net,network classes))
-
-$(eval $(call BuildPackage,gstreamer))
-$(eval $(call BuildPackage,gstreamer-utils))
-$(eval $(call BuildPackage,libgstreamer))
+++ /dev/null
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -8,7 +8,6 @@ aclocal_DATA = gst-element-check-@GST_MA
-
- SUBDIRS = pkgconfig \
- gst libs plugins tools tests \
-- docs \
- po \
- m4 \
- common
-@@ -16,7 +15,6 @@ SUBDIRS = pkgconfig \
- # These are all the possible subdirs
- DIST_SUBDIRS = pkgconfig \
- gst libs plugins tools tests \
-- docs \
- po \
- m4 \
- common
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -469,7 +469,6 @@ aclocaldir = $(datadir)/aclocal
- aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
- SUBDIRS = pkgconfig \
- gst libs plugins tools tests \
-- docs \
- po \
- m4 \
- common
-@@ -478,7 +477,6 @@ SUBDIRS = pkgconfig \
- # These are all the possible subdirs
- DIST_SUBDIRS = pkgconfig \
- gst libs plugins tools tests \
-- docs \
- po \
- m4 \
- common
+++ /dev/null
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -7,14 +7,14 @@ aclocaldir = $(datadir)/aclocal
- aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
-
- SUBDIRS = pkgconfig \
-- gst libs plugins tools tests \
-+ gst libs plugins tools \
- po \
- m4 \
- common
-
- # These are all the possible subdirs
- DIST_SUBDIRS = pkgconfig \
-- gst libs plugins tools tests \
-+ gst libs plugins tools \
- po \
- m4 \
- common
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -468,7 +468,7 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk
- aclocaldir = $(datadir)/aclocal
- aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
- SUBDIRS = pkgconfig \
-- gst libs plugins tools tests \
-+ gst libs plugins tools \
- po \
- m4 \
- common
-@@ -476,7 +476,7 @@ SUBDIRS = pkgconfig \
-
- # These are all the possible subdirs
- DIST_SUBDIRS = pkgconfig \
-- gst libs plugins tools tests \
-+ gst libs plugins tools \
- po \
- m4 \
- common
+++ /dev/null
---- a/configure.ac
-+++ b/configure.ac
-@@ -763,7 +763,6 @@ libs/gst/net/Makefile
- plugins/Makefile
- plugins/indexers/Makefile
- plugins/elements/Makefile
--po/Makefile.in
- tests/Makefile
- tests/benchmarks/Makefile
- tests/check/Makefile
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -8,14 +8,12 @@ aclocal_DATA = gst-element-check-@GST_MA
-
- SUBDIRS = pkgconfig \
- gst libs plugins tools \
-- po \
- m4 \
- common
-
- # These are all the possible subdirs
- DIST_SUBDIRS = pkgconfig \
- gst libs plugins tools \
-- po \
- m4 \
- common
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -469,7 +469,6 @@ aclocaldir = $(datadir)/aclocal
- aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
- SUBDIRS = pkgconfig \
- gst libs plugins tools \
-- po \
- m4 \
- common
-
-@@ -477,7 +476,6 @@ SUBDIRS = pkgconfig \
- # These are all the possible subdirs
- DIST_SUBDIRS = pkgconfig \
- gst libs plugins tools \
-- po \
- m4 \
- common
-
+++ /dev/null
---- a/gst/gstinfo.c
-+++ b/gst/gstinfo.c
-@@ -462,6 +462,39 @@ gst_debug_log (GstDebugCategory * catego
- va_end (var_args);
- }
-
-+typedef struct {
-+ const gchar *file;
-+ const gchar *function;
-+ const gint line;
-+} GstDebugTraceLocation;
-+
-+
-+/**
-+ * gst_debug_log2:
-+ * <at> category: category to log
-+ * <at> level: level of the message is in
-+ * <at> location: the file, function name, and line number of the location that
-+ * emitted the message
-+ * <at> object: the object this message relates to or NULL if none
-+ * <at> format: a printf style format string
-+ * <at> ...: optional arguments for the format
-+ *
-+ * Logs the given message using the currently registered debugging handlers.
-+ */
-+void
-+gst_debug_log2 (GstDebugCategory * category, GstDebugLevel level,
-+ const GstDebugTraceLocation * location,
-+ GObject * object, const gchar * format, ...)
-+{
-+#if 0
-+ va_list var_args;
-+
-+ va_start (var_args, format);
-+ gst_debug_log_valist2 (category, level, location, object, format, var_args);
-+ va_end (var_args);
-+#endif
-+}
-+
- #ifdef _MSC_VER
- /* based on g_basename(), which we can't use because it was deprecated */
- static inline const gchar *
+++ /dev/null
-From 60516f4798894f958fc53b470e1283318d0f8706 Mon Sep 17 00:00:00 2001
-From: Kerrick Staley <kerrick@kerrickstaley.com>
-Date: Wed, 21 Aug 2013 06:59:29 +0000
-Subject: parse: make grammar.y work with Bison 3
-
-YYLEX_PARAM is no longer supported in Bison 3.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=706462
----
---- a/gst/parse/grammar.y
-+++ b/gst/parse/grammar.y
-@@ -26,7 +26,6 @@
- */
-
- #define YYERROR_VERBOSE 1
--#define YYLEX_PARAM scanner
-
- #define YYENABLE_NLS 0
-
-@@ -648,6 +647,7 @@ static int yyerror (void *scanner, graph
- %right '.'
- %left '!' '='
-
-+%lex-param { void *scanner }
- %parse-param { void *scanner }
- %parse-param { graph_t *graph }
- %pure-parser