1 ## Copyright (C) 2009-2011 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
9 PKG_NAME:=gst-plugins-good
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-good/
15 PKG_MD5SUM:=9cddbb0e7e90677f0cc05c23feffef5c
17 PKG_BUILD_DEPENDS:= gstreamer gst-plugins-base liboil
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/nls.mk
25 define Package/gstreamer/Default
29 URL:=http://gstreamer.freedesktop.org/
33 define Package/gstreamer/description/Default
34 GStreamer open source multimedia framework
38 define Package/gst-plugins-good
39 $(call Package/gstreamer/Default)
40 TITLE+= plugins collection (good)
41 DEPENDS+= $(GST_DEPENDS)
44 define Package/gts-plugins-good/description
45 $(call Package/gstreamer/description/Default)
47 This meta package contains only dependencies to the other plugins from
48 the good plugins collection.
66 --disable-directsound \
74 --disable-gdk_pixbuf \
90 --disable-rtspmanager \
98 --disable-videofilter \
99 --disable-videomixer \
107 --without-libiconv-prefix \
108 --without-libintl-prefix \
112 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
115 define Package/gst-plugins-good/install
122 # 3: dependencies on other gstreamer libraries (short name)
123 # 4: dependencies on other gstreamer plugins (short name)
124 # 5: dependencies on other packages
125 define GstBuildPlugin
127 GST_DEPENDS += +gst-mod-$(1)
129 define Package/gst-mod-$(1)
130 $(call Package/gstreamer/Default)
131 TITLE+= $(2) plugin (good)
132 DEPENDS+= +libgstreamer $$(foreach p,$(3),+libgst$$(p)) $$(foreach p,$(4),+gst-mod-$$(p)) $(5)
135 define Package/gst-mod-$(1)/description
136 $(call Package/gstreamer/description/Default)
138 This package contains the GStreamer $(2) plugin.
141 define Package/gst-mod-$(1)/install
142 $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
143 ( cd $(PKG_INSTALL_DIR); $(CP) \
144 ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
145 $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
149 $$(eval $$(call BuildPackage,gst-mod-$(1)))
152 $(eval $(call GstBuildPlugin,audiofx,audio effects,audio controller,,))
153 $(eval $(call GstBuildPlugin,autodetect,format auto-detection,,,))
154 $(eval $(call GstBuildPlugin,cutter,audio cutter,audio,,))
155 $(eval $(call GstBuildPlugin,debug,debugging,,,))
156 $(eval $(call GstBuildPlugin,equalizer,audio equalizer,audio controller,,))
157 $(eval $(call GstBuildPlugin,flac,FLAC codec,pbutils tag,,+libflac))
158 $(eval $(call GstBuildPlugin,id3demux,ID3v1/v2 demuxer,pbutils tag,,))
159 $(eval $(call GstBuildPlugin,icydemux,icy demuxer,audio,,))
160 $(eval $(call GstBuildPlugin,interleave,audio interleave,audio,,))
161 $(eval $(call GstBuildPlugin,level,audio level,audio,,))
162 $(eval $(call GstBuildPlugin,multifile,multiple files access,,,))
163 $(eval $(call GstBuildPlugin,multipart,multipart stream handling,,,))
164 $(eval $(call GstBuildPlugin,ossaudio,OSS audio support,audio,,))
165 $(eval $(call GstBuildPlugin,replaygain,volume normalization,pbutils,,))
166 $(eval $(call GstBuildPlugin,rtp,RTP,audio rtp tag,,))
167 $(eval $(call GstBuildPlugin,rtsp,RTSP,interfaces rtp rtsp sdp,,))
168 $(eval $(call GstBuildPlugin,souphttpsrc,soup input,audio,,+libsoup))
169 $(eval $(call GstBuildPlugin,spectrum,spectrum data output,audio fft,,))
170 $(eval $(call GstBuildPlugin,udp,UDP,netbuffer,,))
171 $(eval $(call GstBuildPlugin,wavenc,Wav encoder,,,))
172 $(eval $(call GstBuildPlugin,wavparse,Wav parser,audio riff tag,,))
174 $(eval $(call BuildPackage,gst-plugins-good))