bb603a99398c7675b10a159d11438de71cf2b488
[WebKit-https.git] / Tools / flatpak / org.webkit.CommonModules.yaml
1 # http and dependencies.
2 - name: apr
3   sources:
4     - type: archive
5       url: https://www.apache.org/dist/apr/apr-1.6.5.tar.bz2
6       sha256: a67ca9fcf9c4ff59bce7f428a323c8b5e18667fdea7b0ebad47d194371b0a105
7 - name: apr-util
8   sources:
9     - type: archive
10       url: https://www.apache.org/dist/apr/apr-util-1.6.1.tar.bz2
11       sha512: "40eff8a37c0634f7fdddd6ca5e596b38de15fd10767a34c30bbe49c632816e8f3e1e230678034f578dd5816a94f246fb5dfdf48d644829af13bf28de3225205d"
12   config-opts:
13     - --with-apr=/app/bin/apr-1-config
14 - name: httpd
15   sources:
16     - type: git
17       url: https://github.com/apache/httpd.git
18       branch: 2.4.37
19     - type : file
20       path : files/httpd-autogen.sh
21       dest-filename : autogen.sh
22     # The version embedded in the sandbox doesn't have a working pcre-config
23     - type: patch
24       path: patches/httpd-0001-configure-use-pkg-config-for-PCRE-detection.patch
25   config-opts:
26     - --enable-mpms-shared=all
27     - --enable-modules=all
28     - --with-apr=/app/bin/apr-1-config
29     - --with-apr-util=/app/bin/apu-1-config
30     - --with-pcre=/app
31     - --enable-authnz-fcgi
32     - --enable-cgi
33     - --enable-cgid
34 - name: php
35   sources:
36     - type: archive
37       url: https://php.net/distributions/php-7.2.6.tar.xz
38       sha512: da86b1ff2df3b9e2d46e59a80296b940d81132975b621bdec9602f8b4c8d91a3fdcd4ffd7cb982d63d3ec974b3a12a7854e42a73b7f2cc8eefade14335aa7c71
39   config-opts:
40     - --disable-xml
41     - --disable-dom
42     - --disable-libxml
43     - --disable-simplexml
44     - --disable-xmlreader
45     - --disable-xmlwriter
46     - --without-pear
47     - --with-apxs2
48     - --with-zlib
49     - --with-libzip
50     - --enable-sockets=shared
51 - name: libevent
52   sources:
53     - type: git
54       url: https://github.com/libevent/libevent.git
55       branch: e7ff4ef # 2.1.8
56   config-opts:
57     - --disable-libevent-regress
58
59 # Requirement for flatpkutils
60 - name: python3-pyaml
61   buildsystem: simple
62   build-commands:
63   - pip3 install --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} pyaml
64   sources:
65   - type: file
66     url: https://files.pythonhosted.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac635d36245a72a6a69b23b383a/PyYAML-3.12.tar.gz
67     sha256: 592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab
68   - type: file
69     url: https://files.pythonhosted.org/packages/9e/17/1d4ed6e1a4c0918a0357dfa2fdbe26bf63f6e616013c04a14bce9fd33e40/pyaml-17.12.1.tar.gz
70     sha256: 66623c52f34d83a2c0fc963e08e8b9d0c13d88404e3b43b1852ef71eda19afa3
71
72 - name: python2-pyaml
73   buildsystem: simple
74   build-commands:
75   - pip2 install --no-index --find-links="file://${PWD}" --target=/app/lib/python2.7/site-packages/ pyaml
76   sources:
77   - type: file
78     url: https://files.pythonhosted.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac635d36245a72a6a69b23b383a/PyYAML-3.12.tar.gz
79     sha256: 592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab
80   - type: file
81     url: https://files.pythonhosted.org/packages/9e/17/1d4ed6e1a4c0918a0357dfa2fdbe26bf63f6e616013c04a14bce9fd33e40/pyaml-17.12.1.tar.gz
82     sha256: 66623c52f34d83a2c0fc963e08e8b9d0c13d88404e3b43b1852ef71eda19afa3
83
84 - name: python2-subprocess32
85   buildsystem: simple
86   build-commands:
87   - pip2 install --target=/app/lib/python2.7/site-packages/ .
88   sources:
89   - type: archive
90     url: https://files.pythonhosted.org/packages/be/2b/beeba583e9877e64db10b52a96915afc0feabf7144dcbf2a0d0ea68bf73d/subprocess32-3.5.3.tar.gz
91     sha256: 6bc82992316eef3ccff319b5033809801c0c3372709c5f6985299c88ac7225c3
92
93 # GStreamer modules
94 - name: libvpx
95   no-autogen: true
96   sources:
97     - type: git
98       url: https://chromium.googlesource.com/webm/libvpx
99       branch: v1.7.0
100   config-opts:
101     - --enable-pic
102     - --as=nasm
103     - --disable-unit-tests
104     - --size-limit=16384x16384
105     - --enable-postproc
106     - --enable-multi-res-encoding
107     - --enable-temporal-denoising
108     - --enable-vp9-temporal-denoising
109     - --enable-vp9-postproc
110     - --enable-shared
111 - name: aom
112   sources:
113     - type: git
114       url: https://aomedia.googlesource.com/aom
115       branch: cdb083e84a71d6d31163a4f64f18dc1328fd782c
116   buildsystem: cmake-ninja
117   builddir: true
118   config-opts:
119     - -DBUILD_SHARED_LIBS=1
120 - name: libunwind
121   sources:
122     - type: git
123       url: https://github.com/libunwind/libunwind.git
124       commit: v1.2.1
125 - name: libopenh264
126   buildsystem: meson
127   sources:
128     - type: git
129       url: https://github.com/cisco/openh264.git
130       branch: a1b3f07c5271f312997fcc3451237031444c4475 # 1.8.0 + fix for gcc 8
131 - name: gstreamer
132   buildsystem: meson
133   sources:
134     - type: git
135       url: https://gitlab.freedesktop.org/gstreamer/gstreamer.git
136       branch: 1.14.4
137     - type: patch
138       path: ../gstreamer/patches/gstreamer-0001-protection-Add-a-new-definition-for-unspecified-syst.patch
139     - type: patch
140       path: ../gstreamer/patches/gstreamer-0002-protection-Fix-the-string-to-define-unspecified-syst.patch
141   config-opts:
142     - -Ddisable_gtkdoc=true
143 - name: gst-plugins-base
144   buildsystem: meson
145   sources:
146     - type: git
147       url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git
148       branch: 1.14.4
149     - type: patch
150       path: ../gstreamer/patches/gst-plugins-base-0001-parsebin-Post-STREAM_COLLECTION-on-EVENT_STREAM_COLL.patch
151   config-opts:
152     - -Ddisable_gtkdoc=true
153 - name: gst-plugins-good
154   buildsystem: meson
155   sources:
156     - type: git
157       url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git
158       branch: 1.14.4
159     - type: patch
160       path: ../gstreamer/patches/gst-plugins-good-0002-qtdemux-add-context-for-a-preferred-protection.patch
161     - type: patch
162       path: ../gstreamer/patches/gst-plugins-good-0003-qtdemux-also-push-buffers-without-encryption-info-in.patch
163     - type: patch
164       path: ../gstreamer/patches/gst-plugins-good-0001-qtdemux-Do-not-run-the-preferred-decryptor-context-q.patch
165     - type: patch
166       path: ../gstreamer/patches/gst-plugins-good-0002-qtdemux-Do-not-unref-a-NULL-stream_tags.patch
167     - type: patch
168       path: ../gstreamer/patches/gst-plugins-good-0003-qtdemux-Clarify-field-name-about-stream-encryption-s.patch
169     - type: patch
170       path: ../gstreamer/patches/gst-plugins-good-0001-qtdemux-Detect-and-expose-CEA-608-708-Closed-Caption.patch
171     - type: patch
172       path: ../gstreamer/patches/gst-plugins-good-0004-qtdemux-Add-initial-support-for-AV1-demuxing.patch
173     - type: patch
174       path: ../gstreamer/patches/gst-plugins-good-0005-qtdemux-Extract-AV1-codec_data-and-put-it-in-the-cap.patch
175     - type: patch
176       path: ../gstreamer/patches/gst-plugins-good-0006-qtdemux-Recognize-more-AV1-atoms.patch
177     - type: patch
178       path: ../gstreamer/patches/gst-plugins-good-0011-matroska-Add-the-WebM-encrypted-content-support-in-m.patch
179     - type: patch
180       path: ../gstreamer/patches/gst-plugins-good-0012-matroskdemux-do-not-use-MapInfo.data-after-unmapping.patch
181     - type: patch
182       path: ../gstreamer/patches/gst-plugins-good-0013-Avoid-warning-when-reporting-about-decryptors.patch
183     - type: patch
184       path: ../gstreamer/patches/gst-plugins-good-0014-pulse-Mark-default-devices-as-default.patch
185   config-opts:
186     - -Ddisable_gtkdoc=true
187 - name: x264
188   config-opts:
189     - "--enable-shared"
190     - "--enable-static"
191     - "--enable-pic"
192     - "--disable-lavf"
193     - "--disable-asm"
194   sources:
195     - type: archive
196       url: http://download.videolan.org/pub/x264/snapshots/x264-snapshot-20140212-2245-stable.tar.bz2
197       sha256: 5d98e9e4faf6dd55e7193ed379aff477b8acbda6777758956ef7e5f05067be18
198 - name: gst-plugins-ugly
199   buildsystem: meson
200   sources:
201     - type: git
202       url: https://anongit.freedesktop.org/git/gstreamer/gst-plugins-ugly
203       branch: 1.14.4
204   config-opts:
205     - -Ddisable_gtkdoc=true
206 - name: gst-plugins-bad
207   buildsystem: meson
208   sources:
209     - type: git
210       url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git
211       branch: 1.14.4
212     - type: patch
213       path: ../gstreamer/patches/gst-plugins-bad-0001-aomenc-Add-support-for-10-12bit-decoding.patch
214     - type: patch
215       path: ../gstreamer/patches/gst-plugins-bad-0002-aomenc-Handle-8-bit_depth-images-with-AOM_IMG_FMT_HI.patch
216   config-opts:
217     - -Ddisable_gtkdoc=true
218 - name: ffmpeg
219   sources:
220     - type: archive
221       url: https://ffmpeg.org/releases/ffmpeg-3.4.5.tar.gz
222       sha256: 18f80cc9ca322134ed40d25d7489af954fa519b4e7e6289b7084f1b0a1cdf472
223   config-opts:
224     - --enable-static
225     - --enable-pic
226     - --disable-avdevice
227     - --disable-postproc
228     - --disable-swscale
229     - --disable-programs
230     - --disable-ffplay
231     - --disable-ffprobe
232     - --disable-ffmpeg
233     - --disable-encoder=flac
234     - --disable-protocols
235     - --disable-devices
236     - --disable-network
237     - --disable-hwaccels
238     - --disable-dxva2
239     - --disable-vdpau
240     - --disable-filters
241     - --enable-filter=yadif
242     - --disable-doc
243     - --disable-d3d11va
244     - --disable-dxva2
245     - --disable-audiotoolbox
246     - --disable-videotoolbox
247     - --disable-vaapi
248     - --disable-crystalhd
249     - --disable-mediacodec
250     - --disable-nvenc
251     - --disable-mmal
252     - --disable-omx
253     - --disable-omx-rpi
254     - --disable-cuda
255     - --disable-cuvid
256     - --disable-libmfx
257     - --disable-libnpp
258     - --disable-iconv
259     - --disable-jni
260     - --disable-v4l2_m2m
261     - --enable-optimizations
262 - name: gst-libav
263   buildsystem: meson
264   builddir: true
265   sources:
266     - type: archive
267       url: https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.14.4.tar.xz
268       sha256: dfd78591901df7853eab7e56a86c34a1b03635da0d3d56b89aa577f1897865da
269   config-opts:
270     - -Ddisable_gtkdoc=true
271
272 - name: libgcrypt # Speedup libgcrypt
273   sources:
274     - type: git
275       url: https://dev.gnupg.org/source/libgcrypt.git
276       branch: libgcrypt-1.7.6
277     - type: patch
278       path: patches/libgcrypt-0001-Use-pkg-config-to-detect-gpg-error.patch
279     - type: patch
280       path: ../gtk/patches/libgcrypt-use-only-dev-urandom-for-testing.patch
281   config-opts:
282     - --disable-doc
283
284 - name: perl-cgi-pm
285   buildsystem: simple
286   build-commands:
287     - perl Makefile.PL PREFIX=/app LIB=/app/lib/perl/
288     - make install
289   sources:
290     - type: archive
291       url: https://cpan.metacpan.org/authors/id/L/LE/LEEJO/CGI-4.38.tar.gz
292       sha256: 8c58f4a529bb92a914b22b7e64c5e31185c9854a4070a6dfad44fe5cc248e7d4
293
294 - name: python2-virtualenv
295   buildsystem: simple
296   build-commands:
297   - pip2 install --no-index --find-links="file://${PWD}" --target=/app/lib/python2.7/site-packages/ virtualenv
298   - ln -s /app/lib/python2.7/site-packages/virtualenv.py /app/bin/virtualenv
299   - chmod +x /app/bin/virtualenv
300   sources:
301   - type: file
302     url: https://files.pythonhosted.org/packages/33/bc/fa0b5347139cd9564f0d44ebd2b147ac97c36b2403943dbee8a25fd74012/virtualenv-16.0.0.tar.gz
303     sha256: ca07b4c0b54e14a91af9f34d0919790b016923d157afda5efdde55c96718f752
304
305 - name: libcap-ng
306   sources:
307     - type: git
308       url: https://github.com/stevegrubb/libcap-ng
309       branch: v0.7.9
310   config-opts:
311     - --with-python=no
312     - --with-python3=no
313
314 - name: lzo2
315   sources:
316     - type: archive
317       url: http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz
318       sha1: 4924676a9bae5db58ef129dc1cebce3baa3c4b5d
319
320 - name: icecc
321   sources:
322     - type: git
323       url: https://github.com/icecc/icecream
324       branch: "1.1"
325   config-opts:
326     - --without-man
327
328 - name: brotli
329   sources:
330   - type: archive
331     url: https://github.com/google/brotli/archive/v1.0.5.tar.gz
332     sha256: 3d5bedd48edb909fe3b87cb99f7d139b987ef6f1616b7e22d74e928270a2fd20
333   buildsystem: cmake-ninja
334
335 - name: woff2
336   sources:
337   - type: archive
338     url: https://github.com/google/woff2/archive/v1.0.2.tar.gz
339     sha256: add272bb09e6384a4833ffca4896350fdb16e0ca22df68c0384773c67a175594
340   buildsystem: cmake-ninja