1 ## Copyright (C) 2009-2010 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 \
91 --disable-rtspmanager \
100 --disable-videofilter \
101 --disable-videomixer \
109 --without-libiconv-prefix \
110 --without-libintl-prefix \
114 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
117 define Package
/gst-plugins-good
/install
124 # 3: dependencies on other gstreamer libraries (short name)
125 # 4: dependencies on other gstreamer plugins (short name)
126 # 5: dependencies on other packages
127 define GstBuildPlugin
129 GST_DEPENDS
+= +gst-mod-
$(1)
131 define Package
/gst-mod-
$(1)
132 $(call Package
/gstreamer
/Default
)
133 TITLE
+= $(2) plugin
(good
)
134 DEPENDS
+= +libgstreamer
$$(foreach p
,$(3),+libgst
$$(p
)) $$(foreach p
,$(4),+gst-mod-
$$(p
)) $(5)
137 define Package
/gst-mod-
$(1)/description
138 $(call Package
/gstreamer
/description
/Default
)
140 This package contains the GStreamer
$(2) plugin.
143 define Package
/gst-mod-
$(1)/install
144 $(INSTALL_DIR
) $$(1)/usr
/lib
/gstreamer-
$(GST_VERSION
)
145 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
146 .
/usr
/lib
/gstreamer-
$(GST_VERSION
)/libgst
$(1).so
* \
147 $$(1)/usr
/lib
/gstreamer-
$(GST_VERSION
)/ \
151 $$(eval
$$(call BuildPackage
,gst-mod-
$(1)))
154 $(eval
$(call GstBuildPlugin
,audiofx
,audio effects
,audio controller
,,))
155 $(eval
$(call GstBuildPlugin
,autodetect
,format auto-detection
,,,))
156 $(eval
$(call GstBuildPlugin
,cutter
,audio cutter
,audio
,,))
157 $(eval
$(call GstBuildPlugin
,debug
,debugging
,,,))
158 $(eval
$(call GstBuildPlugin
,equalizer
,audio equalizer
,audio controller
,,))
159 $(eval
$(call GstBuildPlugin
,flac
,FLAC codec
,pbutils tag
,,+libflac
))
160 $(eval
$(call GstBuildPlugin
,id3demux
,ID3v1
/v2 demuxer
,pbutils tag
,,))
161 $(eval
$(call GstBuildPlugin
,interleave
,audio interleave
,audio
,,))
162 $(eval
$(call GstBuildPlugin
,level
,audio level
,audio
,,))
163 $(eval
$(call GstBuildPlugin
,multifile
,multiple files access
,,,))
164 $(eval
$(call GstBuildPlugin
,multipart
,multipart stream handling
,,,))
165 $(eval
$(call GstBuildPlugin
,ossaudio
,OSS audio support
,audio
,,))
166 $(eval
$(call GstBuildPlugin
,replaygain
,volume normalization
,pbutils
,,))
167 $(eval
$(call GstBuildPlugin
,rtp
,RTP
,audio rtp tag
,,))
168 $(eval
$(call GstBuildPlugin
,rtsp
,RTSP
,interfaces rtp rtsp sdp
,,))
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
))