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
24 define Package
/gstreamer
/Default
28 URL
:=http
://gstreamer.freedesktop.org
/
32 define Package
/gstreamer
/description
/Default
33 GStreamer open source multimedia framework
37 define Package
/gst-plugins-good
38 $(call Package
/gstreamer
/Default
)
39 TITLE
+= plugins collection
(good
)
40 DEPENDS
+= $(GST_DEPENDS
)
43 define Package
/gts-plugins-good
/description
44 $(call Package
/gstreamer
/description
/Default
)
46 This meta package contains only dependencies to the other plugins from
47 the good plugins collection.
65 --disable-directsound \
73 --disable-gdk_pixbuf \
90 --disable-rtspmanager \
99 --disable-videofilter \
100 --disable-videomixer \
108 --without-libiconv-prefix \
109 --without-libintl-prefix \
113 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
116 define Package
/gst-plugins-good
/install
123 # 3: dependencies on other gstreamer libraries (short name)
124 # 4: dependencies on other gstreamer plugins (short name)
125 # 5: dependencies on other packages
126 define GstBuildPlugin
128 GST_DEPENDS
+= +gst-mod-
$(1)
130 define Package
/gst-mod-
$(1)
131 $(call Package
/gstreamer
/Default
)
132 TITLE
+= $(2) plugin
(good
)
133 DEPENDS
+= +libgstreamer
$$(foreach p
,$(3),+libgst
$$(p
)) $$(foreach p
,$(4),+gst-mod-
$$(p
)) $(5)
136 define Package
/gst-mod-
$(1)/description
137 $(call Package
/gstreamer
/description
/Default
)
139 This package contains the GStreamer
$(2) plugin.
142 define Package
/gst-mod-
$(1)/install
143 $(INSTALL_DIR
) $$(1)/usr
/lib
/gstreamer-
$(GST_VERSION
)
144 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
145 .
/usr
/lib
/gstreamer-
$(GST_VERSION
)/libgst
$(1).so
* \
146 $$(1)/usr
/lib
/gstreamer-
$(GST_VERSION
)/ \
150 $$(eval
$$(call BuildPackage
,gst-mod-
$(1)))
153 $(eval
$(call GstBuildPlugin
,audiofx
,audio effects
,audio controller
,,))
154 $(eval
$(call GstBuildPlugin
,autodetect
,format auto-detection
,,,))
155 $(eval
$(call GstBuildPlugin
,cutter
,audio cutter
,audio
,,))
156 $(eval
$(call GstBuildPlugin
,debug
,debugging
,,,))
157 $(eval
$(call GstBuildPlugin
,equalizer
,audio equalizer
,audio controller
,,))
158 $(eval
$(call GstBuildPlugin
,flac
,FLAC codec
,pbutils tag
,,+libflac
))
159 $(eval
$(call GstBuildPlugin
,id3demux
,ID3v1
/v2 demuxer
,pbutils tag
,,))
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
,spectrum
,spectrum data output
,audio fft
,,))
169 $(eval
$(call GstBuildPlugin
,udp
,UDP
,netbuffer
,,))
170 $(eval
$(call GstBuildPlugin
,wavenc
,Wav encoder
,,,))
171 $(eval
$(call GstBuildPlugin
,wavparse
,Wav parser
,audio riff tag
,,))
173 $(eval
$(call BuildPackage
,gst-plugins-good
))