Merge pull request #8361 from jandelgado/add_udptunnel_package
[feed/packages.git] / multimedia / gst1-plugins-good / Makefile
1 #
2 # Copyright (C) 2009-2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=gst1-plugins-good
11 PKG_VERSION:=1.15.2
12 PKG_RELEASE:=2
13
14 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> \
15 Ted Hess <thess@kitschensync.net>
16
17 PKG_LICENSE:=LGPLv2
18 PKG_LICENSE_FILES:=COPYING
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-good-$(PKG_VERSION)
21 PKG_SOURCE:=gst-plugins-good-$(PKG_VERSION).tar.xz
22 PKG_SOURCE_URL:=https://gstreamer.freedesktop.org/src/gst-plugins-good/
23 PKG_HASH:=b805962a2d777ff6145f6ca2ca8458499c9e23236cbcc41787c69ac51b02c818
24
25 PKG_CONFIG_DEPENDS:= \
26 CONFIG_PACKAGE_gst1-mod-lame \
27 CONFIG_PACKAGE_gst1-mod-mpg123 \
28
29 PKG_FIXUP:=autoreconf
30 PKG_BUILD_PARALLEL:=1
31 PKG_INSTALL:=1
32
33 include $(INCLUDE_DIR)/package.mk
34 include $(INCLUDE_DIR)/nls.mk
35
36 GST_GOOD_MODULES:=
37
38 define Package/gstreamer1-good/Default
39 CATEGORY:=Multimedia
40 SECTION:=multimedia
41 TITLE:=GStreamer
42 URL:=https://gstreamer.freedesktop.org/
43 DEPENDS:= +libgstreamer1 +libgst1pbutils $(ICONV_DEPENDS)
44 endef
45
46 define Package/gstreamer1-good/description/Default
47 GStreamer open source multimedia framework
48 endef
49
50
51 define Package/gst1-plugins-good
52 $(call Package/gstreamer1-good/Default)
53 TITLE+= plugins collection (good)
54 DEPENDS+= $(GST_DEPENDS)
55 HIDDEN:=1
56 endef
57
58 define Package/gst1-plugins-good/description
59 $(call Package/gstreamer1-good/description/Default)
60 .
61 This meta package contains only dependencies to the other plugins from
62 the good plugins collection.
63 endef
64
65
66 define Package/gstreamer1-plugins-good
67 $(call Package/gstreamer1-good/Default)
68 TITLE+= plugins collection (good)
69 DEPENDS:=+ALL:gst1-plugins-good +gstreamer1-plugins-base
70 endef
71
72 define Package/gstreamer1-plugins-good/config
73 menu "Select GStreamer good modules"
74 depends on PACKAGE_gstreamer1-plugins-good
75
76
77 config gst1-plugins-good-all
78 bool "Include all GStreamer good plugins"
79 select PACKAGE_gst1-plugins-good
80
81 comment "Modules"
82
83 $(foreach mod,$(GST_GOOD_MODULES), \
84 config PACKAGE_gst1-mod-$(mod)
85 prompt "GStreamer $(mod) module"
86
87 )
88
89 endmenu
90
91 endef
92
93 GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1))
94
95 GST_VERSION:=1.0
96
97 CONFIGURE_ARGS += \
98 $(call GST_COND_SELECT,lame) \
99 $(call GST_COND_SELECT,mpg123) \
100 \
101 --disable-Bsymbolic \
102 --disable-debug \
103 --disable-examples \
104 --disable-fatal-warnings \
105 --disable-glib-asserts \
106 --disable-gobject-cast-checks \
107 --disable-gtk-doc-html \
108 --disable-rpath \
109 --disable-valgrind \
110 \
111 --disable-aalib \
112 --disable-annodex \
113 --disable-bz2 \
114 --disable-cairo \
115 --disable-directsound \
116 --disable-dv1394 \
117 --disable-esd \
118 --disable-gconf \
119 --disable-gconftool \
120 --disable-gdk_pixbuf \
121 --disable-hal \
122 --disable-libcaca \
123 --disable-libdv \
124 --disable-osx_audio \
125 --disable-osx_video \
126 --disable-pulse \
127 --disable-qtdemux \
128 --disable-rtspmanager \
129 --disable-shout2 \
130 --disable-sunaudio \
131 --disable-wavpack \
132 --disable-x \
133 --disable-xshm \
134 --disable-xvideo \
135 --disable-y4m \
136 --disable-zlib \
137 \
138 --without-gudev \
139 --without-libv4l2 \
140 --without-libiconv-prefix \
141 --without-libintl-prefix
142
143 define Package/gst1-plugins-good/install
144 /bin/true
145 endef
146
147
148 # 1: short name
149 # 2: description
150 # 3: dependencies on other gstreamer libraries (short name)
151 # 4: dependencies on other gstreamer plugins (short name)
152 # 5: dependencies on other packages
153 define GstBuildPlugin
154
155 GST_DEPENDS += +gst1-mod-$(1)
156
157 GST_GOOD_MODULES+= $(1)
158
159 define Package/gst1-mod-$(1)
160 $(call Package/gstreamer1-good/Default)
161 TITLE+= $(2) plugin (good)
162 DEPENDS+= $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5)
163 HIDDEN:=1
164 endef
165
166 define Package/gst1-mod-$(1)/description
167 $(call Package/gstreamer1-good/description/Default)
168 .
169 This package contains the GStreamer $(2) plugin.
170 endef
171
172 define Package/gst1-mod-$(1)/install
173 $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
174 ( cd $(PKG_INSTALL_DIR); $(CP) \
175 ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
176 $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
177 )
178 endef
179
180 $$(eval $$(call BuildPackage,gst1-mod-$(1)))
181 endef
182
183 #$(eval $(call GstBuildPlugin,1394,IEEE 1394 support,,,))
184 $(eval $(call GstBuildPlugin,alaw,alaw codec,audio,,))
185 $(eval $(call GstBuildPlugin,alpha,alpha support,video,,))
186 $(eval $(call GstBuildPlugin,alphacolor,alphacolor support,video,,))
187 $(eval $(call GstBuildPlugin,apetag,apetag support,audio pbutils tag video,,))
188 $(eval $(call GstBuildPlugin,audiofx,audio effects,audio fft controller,,))
189 $(eval $(call GstBuildPlugin,audioparsers,audioparsers,audio tag pbutils,,))
190 $(eval $(call GstBuildPlugin,auparse,auparse,audio tag pbutils,,))
191 $(eval $(call GstBuildPlugin,autodetect,format auto-detection,,,))
192 $(eval $(call GstBuildPlugin,avi,avi support,audio riff tag video,,))
193 $(eval $(call GstBuildPlugin,cutter,audio cutter,audio,,))
194 $(eval $(call GstBuildPlugin,debug,debugging,,,))
195 $(eval $(call GstBuildPlugin,deinterlace,deinterlace support,video,,))
196 $(eval $(call GstBuildPlugin,dtmf,dtmf support,rtp,,))
197 #$(eval $(call GstBuildPlugin,dv,dv support,audio tag video,,))
198 $(eval $(call GstBuildPlugin,effectv,effectvsupport,video,,))
199 $(eval $(call GstBuildPlugin,equalizer,audio equalizer,audio controller,,))
200 $(eval $(call GstBuildPlugin,flac,FLAC codec,audio pbutils tag,,+libflac))
201 $(eval $(call GstBuildPlugin,flv,flv codec,audio pbutils tag video,,))
202 $(eval $(call GstBuildPlugin,flxdec,flx codec,,,))
203 #$(eval $(call GstBuildPlugin,gdkpixbuf,gdkpixbuf support,video,,))
204 $(eval $(call GstBuildPlugin,goom2k1,goom support,audio video pbutils,,))
205 $(eval $(call GstBuildPlugin,goom,goom support,audio video pbutils,,))
206 $(eval $(call GstBuildPlugin,icydemux,icy demuxer,audio tag,,))
207 $(eval $(call GstBuildPlugin,id3demux,ID3v1/v2 demuxer,pbutils tag,,))
208 $(eval $(call GstBuildPlugin,imagefreeze,imagefreeze support,,,))
209 $(eval $(call GstBuildPlugin,interleave,audio interleave,audio,,))
210 $(eval $(call GstBuildPlugin,isomp4,isomp4 support,audio pbutils riff rtp tag video,,))
211 #$(eval $(call GstBuildPlugin,jack,jack support,audio,,))
212 $(eval $(call GstBuildPlugin,jpeg,jpeg support,video,,+libjpeg))
213 $(eval $(call GstBuildPlugin,lame,MP3 encoder (using LAME),audio,,+lame-lib))
214 $(eval $(call GstBuildPlugin,level,audio level,audio,,))
215 $(eval $(call GstBuildPlugin,matroska,matroska support,audio pbutils riff tag video,,))
216 $(eval $(call GstBuildPlugin,mpg123,MP3 decoder (using mpg123),audio tag,,+libid3tag +mpg123))
217 $(eval $(call GstBuildPlugin,mulaw,mulaw support,audio,,))
218 $(eval $(call GstBuildPlugin,multifile,multiple files access,video,,))
219 $(eval $(call GstBuildPlugin,multipart,multipart stream handling,,,))
220 $(eval $(call GstBuildPlugin,navigationtest,navigationtest support,video,,))
221 $(eval $(call GstBuildPlugin,oss4,OSS 4 audio support,audio tag,,))
222 $(eval $(call GstBuildPlugin,ossaudio,OSS audio support,audio,,))
223 $(eval $(call GstBuildPlugin,png,png support,video,,+libpng))
224 #$(eval $(call GstBuildPlugin,pulse,pulse support,audio pbutils tag video,,))
225 $(eval $(call GstBuildPlugin,replaygain,volume normalization,pbutils,,))
226 $(eval $(call GstBuildPlugin,rtpmanager,RTP manager,audio net rtp tag pbutils video,,))
227 $(eval $(call GstBuildPlugin,rtp,RTP,audio rtp tag pbutils video,,))
228 $(eval $(call GstBuildPlugin,rtsp,RTSP,net rtp rtsp sdp,,))
229 $(eval $(call GstBuildPlugin,shapewipe,shapewipe support,video,,))
230 #$(eval $(call GstBuildPlugin,shout2,shout2 support,,,))
231 $(eval $(call GstBuildPlugin,smpte,smpte support,video,,))
232 $(eval $(call GstBuildPlugin,soup,soup input,audio tag,,+libsoup))
233 $(eval $(call GstBuildPlugin,spectrum,spectrum data output,audio fft,,))
234 #$(eval $(call GstBuildPlugin,speex,speex support,audio tag,,))
235 #$(eval $(call GstBuildPlugin,sty4menc,sty4menc support,video,,))
236 #$(eval $(call GstBuildPlugin,taglib,taglib support,tag,,))
237 $(eval $(call GstBuildPlugin,udp,UDP,net,,))
238 $(eval $(call GstBuildPlugin,video4linux2,video4linux2 support,video allocators,,+libv4l))
239 $(eval $(call GstBuildPlugin,videobox,videobox support,video,,))
240 $(eval $(call GstBuildPlugin,videocrop,videocrop support,video,,))
241 $(eval $(call GstBuildPlugin,videofilter,videofilter support,video,,))
242 $(eval $(call GstBuildPlugin,videomixer,videomixer support,video,,))
243 $(eval $(call GstBuildPlugin,vpx,vpx support,tag video,,+libvpx))
244 $(eval $(call GstBuildPlugin,wavenc,Wav encoder,riff,,))
245 #$(eval $(call GstBuildPlugin,wavpack,Wav packer,audio riff tag,,))
246 $(eval $(call GstBuildPlugin,wavparse,Wav parser,audio riff tag,,))
247 #$(eval $(call GstBuildPlugin,ximagesrc,ximagesrc support,video,,))
248
249 $(eval $(call BuildPackage,gstreamer1-plugins-good))
250 $(eval $(call BuildPackage,gst1-plugins-good))