Merge pull request #4949 from commodo/python-lxml-update
[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.8.2
12 PKG_RELEASE:=1
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:=http://gstreamer.freedesktop.org/src/gst-plugins-good/
23 PKG_HASH:=8d7549118a3b7a009ece6bb38a05b66709c551d32d2adfd89eded4d1d7a23944
24
25 PKG_BUILD_DEPENDS:= libgstreamer1 gstreamer1-plugins-base
26
27 PKG_FIXUP:=autoreconf
28 PKG_INSTALL:=1
29
30 include $(INCLUDE_DIR)/package.mk
31 include $(INCLUDE_DIR)/nls.mk
32
33 GST_GOOD_MODULES:=
34
35 define Package/gstreamer1-good/Default
36 CATEGORY:=Multimedia
37 SECTION:=multimedia
38 TITLE:=GStreamer
39 URL:=http://gstreamer.freedesktop.org/
40 DEPENDS:= +libgstreamer1 $(ICONV_DEPENDS)
41 endef
42
43 define Package/gstreamer1-good/description/Default
44 GStreamer open source multimedia framework
45 endef
46
47
48 define Package/gst1-plugins-good
49 $(call Package/gstreamer1-good/Default)
50 TITLE+= plugins collection (good)
51 DEPENDS+= $(GST_DEPENDS)
52 HIDDEN:=1
53 endef
54
55 define Package/gst1-plugins-good/description
56 $(call Package/gstreamer1-good/description/Default)
57 .
58 This meta package contains only dependencies to the other plugins from
59 the good plugins collection.
60 endef
61
62
63 define Package/gstreamer1-plugins-good
64 $(call Package/gstreamer1-good/Default)
65 TITLE+= plugins collection (good)
66 DEPENDS:=+ALL:gst1-plugins-good +gstreamer1-plugins-base
67 endef
68
69 define Package/gstreamer1-plugins-good/config
70 menu "Select GStreamer good modules"
71 depends on PACKAGE_gstreamer1-plugins-good
72
73
74 config gst1-plugins-good-all
75 bool "Include all GStreamer good plugins"
76 select PACKAGE_gst1-plugins-good
77
78 comment "Modules"
79
80 $(foreach mod,$(GST_GOOD_MODULES), \
81 config PACKAGE_gst1-mod-$(mod)
82 prompt "GStreamer $(mod) module"
83
84 )
85
86 endmenu
87
88 endef
89
90 GST_VERSION:=1.0
91
92 CONFIGURE_ARGS += \
93 --disable-debug \
94 --disable-examples \
95 \
96 --disable-aalib \
97 --disable-annodex \
98 --disable-bz2 \
99 --disable-cairo \
100 --disable-directsound \
101 --disable-dv1394 \
102 --disable-esd \
103 --disable-gconf \
104 --disable-gconftool \
105 --disable-gdk_pixbuf \
106 --disable-hal \
107 --disable-libcaca \
108 --disable-libdv \
109 --disable-osx_audio \
110 --disable-osx_video \
111 --disable-pulse \
112 --disable-qtdemux \
113 --disable-rtspmanager \
114 --disable-shout2 \
115 --disable-sunaudio \
116 --disable-wavpack \
117 --disable-x \
118 --disable-xshm \
119 --disable-xvideo \
120 --disable-y4m \
121 --disable-zlib \
122 \
123 --without-libiconv-prefix \
124 --without-libintl-prefix \
125 --without-x \
126
127 EXTRA_LDFLAGS+= \
128 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
129 $(if $(ICONV_FULL),-liconv) \
130
131
132 define Package/gst1-plugins-good/install
133 /bin/true
134 endef
135
136
137 # 1: short name
138 # 2: description
139 # 3: dependencies on other gstreamer libraries (short name)
140 # 4: dependencies on other gstreamer plugins (short name)
141 # 5: dependencies on other packages
142 define GstBuildPlugin
143
144 GST_DEPENDS += +gst1-mod-$(1)
145
146 GST_GOOD_MODULES+= $(1)
147
148 define Package/gst1-mod-$(1)
149 $(call Package/gstreamer1-good/Default)
150 TITLE+= $(2) plugin (good)
151 DEPENDS+= $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5)
152 HIDDEN:=1
153 endef
154
155 define Package/gst1-mod-$(1)/description
156 $(call Package/gstreamer1-good/description/Default)
157 .
158 This package contains the GStreamer $(2) plugin.
159 endef
160
161 define Package/gst1-mod-$(1)/install
162 $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
163 ( cd $(PKG_INSTALL_DIR); $(CP) \
164 ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
165 $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
166 )
167 endef
168
169 $$(eval $$(call BuildPackage,gst1-mod-$(1)))
170 endef
171
172 #$(eval $(call GstBuildPlugin,1394,IEEE 1394 support,,,))
173 $(eval $(call GstBuildPlugin,alaw,alaw codec,audio,,))
174 $(eval $(call GstBuildPlugin,alpha,alpha support,video,,))
175 $(eval $(call GstBuildPlugin,alphacolor,alphacolor support,video,,))
176 $(eval $(call GstBuildPlugin,apetag,apetag support,audio pbutils tag video,,))
177 $(eval $(call GstBuildPlugin,audiofx,audio effects,audio fft controller,,))
178 $(eval $(call GstBuildPlugin,audioparsers,audioparsers,audio tag pbutils,,))
179 $(eval $(call GstBuildPlugin,auparse,auparse,audio tag pbutils,,))
180 $(eval $(call GstBuildPlugin,autodetect,format auto-detection,,,))
181 $(eval $(call GstBuildPlugin,avi,avi support,audio riff tag video,,))
182 $(eval $(call GstBuildPlugin,cutter,audio cutter,audio,,))
183 $(eval $(call GstBuildPlugin,debug,debugging,,,))
184 $(eval $(call GstBuildPlugin,deinterlace,deinterlace support,video,,))
185 $(eval $(call GstBuildPlugin,dtmf,dtmf support,rtp,,))
186 #$(eval $(call GstBuildPlugin,dv,dv support,audio tag video,,))
187 $(eval $(call GstBuildPlugin,effectv,effectvsupport,video,,))
188 $(eval $(call GstBuildPlugin,equalizer,audio equalizer,audio controller,,))
189 $(eval $(call GstBuildPlugin,flac,FLAC codec,audio pbutils tag,,+libflac))
190 $(eval $(call GstBuildPlugin,flv,flv codec,audio pbutils tag video,,))
191 $(eval $(call GstBuildPlugin,flxdec,flx codec,,,))
192 #$(eval $(call GstBuildPlugin,gdkpixbuf,gdkpixbuf support,video,,))
193 $(eval $(call GstBuildPlugin,goom2k1,goom support,audio video pbutils,,))
194 $(eval $(call GstBuildPlugin,goom,goom support,audio video pbutils,,))
195 $(eval $(call GstBuildPlugin,icydemux,icy demuxer,audio tag,,))
196 $(eval $(call GstBuildPlugin,id3demux,ID3v1/v2 demuxer,pbutils tag,,))
197 $(eval $(call GstBuildPlugin,imagefreeze,imagefreeze support,,,))
198 $(eval $(call GstBuildPlugin,interleave,audio interleave,audio,,))
199 $(eval $(call GstBuildPlugin,isomp4,isomp4 support,audio pbutils riff rtp tag video,,))
200 #$(eval $(call GstBuildPlugin,jack,jack support,audio,,))
201 $(eval $(call GstBuildPlugin,jpeg,jpeg support,video,,+libjpeg))
202 $(eval $(call GstBuildPlugin,level,audio level,audio,,))
203 $(eval $(call GstBuildPlugin,matroska,matroska support,audio pbutils riff tag video,,))
204 $(eval $(call GstBuildPlugin,mulaw,mulaw support,audio,,))
205 $(eval $(call GstBuildPlugin,multifile,multiple files access,video,,))
206 $(eval $(call GstBuildPlugin,multipart,multipart stream handling,,,))
207 $(eval $(call GstBuildPlugin,navigationtest,navigationtest support,video,,))
208 $(eval $(call GstBuildPlugin,oss4audio,OSS 4 audio support,audio tag,,))
209 $(eval $(call GstBuildPlugin,ossaudio,OSS audio support,audio,,))
210 $(eval $(call GstBuildPlugin,png,png support,video,,+libpng))
211 #$(eval $(call GstBuildPlugin,pulse,pulse support,audio pbutils tag video,,))
212 $(eval $(call GstBuildPlugin,replaygain,volume normalization,pbutils,,))
213 $(eval $(call GstBuildPlugin,rtpmanager,RTP manager,audio net rtp tag pbutils video,,))
214 $(eval $(call GstBuildPlugin,rtp,RTP,audio rtp tag pbutils video,,))
215 $(eval $(call GstBuildPlugin,rtsp,RTSP,net rtp rtsp sdp,,))
216 $(eval $(call GstBuildPlugin,shapewipe,shapewipe support,video,,))
217 #$(eval $(call GstBuildPlugin,shout2,shout2 support,,,))
218 $(eval $(call GstBuildPlugin,smpte,smpte support,video,,))
219 $(eval $(call GstBuildPlugin,souphttpsrc,soup input,audio tag,,+libsoup))
220 $(eval $(call GstBuildPlugin,spectrum,spectrum data output,audio fft,,))
221 #$(eval $(call GstBuildPlugin,speex,speex support,audio tag,,))
222 #$(eval $(call GstBuildPlugin,sty4menc,sty4menc support,video,,))
223 #$(eval $(call GstBuildPlugin,taglib,taglib support,tag,,))
224 $(eval $(call GstBuildPlugin,udp,UDP,net,,))
225 $(eval $(call GstBuildPlugin,video4linux2,video4linux2 support,video allocators,,+libv4l))
226 $(eval $(call GstBuildPlugin,videobox,videobox support,video,,))
227 $(eval $(call GstBuildPlugin,videocrop,videocrop support,video,,))
228 $(eval $(call GstBuildPlugin,videofilter,videofilter support,video,,))
229 $(eval $(call GstBuildPlugin,videomixer,videomixer support,video,,))
230 $(eval $(call GstBuildPlugin,vpx,vpx support,tag video,,+libvpx))
231 $(eval $(call GstBuildPlugin,wavenc,Wav encoder,riff,,))
232 #$(eval $(call GstBuildPlugin,wavpack,Wav packer,audio riff tag,,))
233 $(eval $(call GstBuildPlugin,wavparse,Wav parser,audio riff tag,,))
234 #$(eval $(call GstBuildPlugin,ximagesrc,ximagesrc support,video,,))
235
236 $(eval $(call BuildPackage,gstreamer1-plugins-good))
237 $(eval $(call BuildPackage,gst1-plugins-good))