|
6 | 6 | <metamodule id="webkit-gstreamer-testing-dependencies"> |
7 | 7 | <dependencies> |
8 | 8 | <dep package="gstreamer"/> |
9 | | - <dep package="gst-plugins-base"/> |
10 | | - <dep package="gst-plugins-good"/> |
11 | | - <dep package="gst-plugins-bad"/> |
12 | | - <dep package="gst-libav"/> |
| 9 | + <dep package="sparkle-cdm"/> |
13 | 10 | <if condition-set="Thunder"> |
14 | 11 | <dep package="thunder"/> |
15 | 12 | <dep package="widevine"/> |
|
21 | 18 |
|
22 | 19 | <!-- Please use http/https to access repositories to be friendly to users stuck behind firewalls. --> |
23 | 20 | <repository type="tarball" name="gstreamer" |
24 | | - href="http://gstreamer.freedesktop.org/src/"/> |
| 21 | + href="https://github.com/GStreamer/" /> |
25 | 22 | <repository type="tarball" name="github-tarball" |
26 | 23 | href="https://github.com/"/> |
27 | 24 | <repository type="git" name="github-ssh" |
28 | | - href="git@github.com:"/> |
| 25 | + href="git@github.com"/> |
| 26 | + <repository type="git" name="github.com" |
| 27 | + href="https://github.com"/> |
29 | 28 | <repository type="git" name="chromium.googlesource.com" |
30 | 29 | href="https://chromium.googlesource.com/webm/"/> |
31 | | - <repository type="git" name="aomedia.googlesource.com" |
32 | | - href="https://aomedia.googlesource.com/"/> |
| 30 | + <repository type="tarball" name="aom-releases" |
| 31 | + href="https://storage.googleapis.com/aom-releases/"/> |
33 | 32 | <repository type="tarball" name="ffmpeg" href="https://ffmpeg.org/releases/"/> |
34 | 33 |
|
35 | | - <meson id="orc" mesonargs="-Dgtk_doc=disabled"> |
36 | | - <branch module="orc/orc-${version}.tar.xz" version="0.4.30" |
37 | | - repo="gstreamer" |
38 | | - hash="sha256:ba41b92146a5691cd102eb79c026757d39e9d3b81a65810d2946a1786a1c4972"> |
39 | | - <patch file="orc-satisfy-fno-common-under-gcc10.patch" strip="1"/> |
| 34 | + <meson id="orc" mesonargs="-Dgtk_doc=disabled -Dexamples=disabled"> |
| 35 | + <branch repo="gstreamer" |
| 36 | + module="orc/archive/refs/tags/${version}.tar.gz" |
| 37 | + rename-tarball="orc-${version}.tar.gz" |
| 38 | + checkoutdir="orc-${version}" |
| 39 | + version="0.4.34" |
| 40 | + hash="sha256:e751284f6d063c49ce81a2b45efdbbd8b84141f69da029b5189448b9fb3f25aa"> |
40 | 41 | </branch> |
41 | 42 | </meson> |
42 | 43 |
|
43 | | - <autotools id="openh264" supports-non-srcdir-builds="no" autogen-sh="pseudo-configure"> |
44 | | - <branch module="cisco/openh264/archive/v${version}.tar.gz" version="1.5.0" |
45 | | - checkoutdir="openh264-${version}" repo="github-tarball"> |
46 | | - <patch file="openh264-configure.patch" strip="0"/> |
| 44 | + <meson id="openh264" mesonargs="-Dtests=disabled"> |
| 45 | + <branch repo="github.com" |
| 46 | + module="cisco/openh264.git" |
| 47 | + tag="v2.3.0" > |
47 | 48 | </branch> |
48 | | - </autotools> |
| 49 | + </meson> |
49 | 50 |
|
50 | 51 | <cmake id="aom" cmakeargs="-DBUILD_SHARED_LIBS=1"> |
51 | | - <branch repo="aomedia.googlesource.com" module="aom" checkoutdir="aom" branch="master" |
52 | | - revision="master" tag="cdb083e84a71d6d31163a4f64f18dc1328fd782c" /> |
| 52 | + <branch repo="aom-releases" |
| 53 | + module="libaom-${version}.tar.gz" |
| 54 | + checkoutdir="libaom-${version}" |
| 55 | + version="3.8.0" |
| 56 | + hash="sha256:a768d3e54c7f00cd38b01208d1ae52d671be410cfc387ff7881ea71c855f3600"> |
| 57 | + <patch file="fix-aom-build-arm32.patch" strip="1"/> |
| 58 | + </branch> |
53 | 59 | </cmake> |
54 | 60 |
|
55 | 61 | <autotools id="libsrtp"> |
56 | | - <branch repo="github-tarball" module="cisco/libsrtp/archive/v${version}.tar.gz" version="2.2.0" |
57 | | - checkoutdir="libsrtp-${version}"> |
| 62 | + <branch repo="github-tarball" |
| 63 | + module="cisco/libsrtp/archive/v${version}.tar.gz" |
| 64 | + checkoutdir="libsrtp-${version}" |
| 65 | + version="2.2.0"> |
58 | 66 | <patch file="libsrtp-Fix-building-with-gcc-10.patch" strip="1"/> |
59 | 67 | </branch> |
60 | 68 | </autotools> |
61 | 69 |
|
62 | | - <meson id="gstreamer" mesonargs="-Dgtk_doc=disabled -Dintrospection=disabled -Dexamples=disabled -Dtests=disabled"> |
| 70 | + <!-- GStreamer plugins have been moved with the base code to a monorepo. |
| 71 | + Is not longer needed to fetch different tarballs when using the main repository. |
| 72 | + See: https://gstreamer.freedesktop.org/documentation/frequently-asked-questions/mono-repository.html --> |
| 73 | + <meson id="gstreamer" mesonargs="-Dlibnice=enabled -Dpython=enabled -Dintrospection=enabled -Dgst-plugins-bad:microdns=disabled -Dgst-plugins-bad:avtp=disabled -Dexamples=disabled -Dtests=disabled -Ddoc=disabled"> |
63 | 74 | <dependencies> |
| 75 | + <dep package="libva"/> |
64 | 76 | <dep package="orc"/> |
65 | | - </dependencies> |
66 | | - <branch hash="sha256:de094a404a3ad8f4977829ea87edf695a4da0b5c8f613ebe54ab414bac89f031" module="gstreamer/gstreamer-${version}.tar.xz" repo="gstreamer" version="1.20.1"> |
67 | | - <path file="gstreamer-0001-typefind-Skip-parsing-of-data-URIs.patch" strip="1" /> |
68 | | - <path file="gstreamer-0002-uri-Build-doubly-linked-list-by-prepending-items.patch" strip="1" /> |
69 | | - </branch> |
70 | | - </meson> |
71 | | - |
72 | | - <meson id="gst-plugins-base" mesonargs="-Dgtk_doc=disabled -Dintrospection=disabled -Dexamples=disabled"> |
73 | | - <if condition-set="wpe"> |
74 | | - <autogenargs value="-Dpango=disabled"/> |
75 | | - </if> |
76 | | - <dependencies> |
77 | | - <dep package="gstreamer"/> |
78 | | - </dependencies> |
79 | | - <branch hash="sha256:96d8a6413ba9394fbec1217aeef63741a729d476a505a797c1d5337d8fa7c204" module="gst-plugins-base/gst-plugins-base-${version}.tar.xz" repo="gstreamer" version="1.20.1"> |
80 | | - </branch> |
81 | | - </meson> |
82 | | - |
83 | | - <meson id="gst-plugins-good" mesonargs="-Dgtk_doc=disabled -Dintrospection=disabled -Dexamples=disabled -Dgtk3=disabled"> |
84 | | - <dependencies> |
85 | | - <dep package="gst-plugins-base"/> |
86 | | - </dependencies> |
87 | | - <branch hash="sha256:3c66876f821d507bcdbebffb08b4f31a322727d6753f65a0f02c905ecb7084aa" module="gst-plugins-good/gst-plugins-good-${version}.tar.xz" repo="gstreamer" version="1.20.1"> |
88 | | - </branch> |
89 | | - </meson> |
90 | | - |
91 | | - <meson id="gst-plugins-bad" mesonargs="-Dgtk_doc=disabled -Dintrospection=disabled -Dexamples=disabled -Dopenexr=disabled -Dopencv=disabled"> |
92 | | - <dependencies> |
93 | 77 | <dep package="graphene"/> |
94 | | - <dep package="gst-plugins-base"/> |
95 | 78 | <dep package="openh264"/> |
96 | 79 | <dep package="aom"/> |
97 | 80 | <dep package="libsrtp"/> |
| 81 | + <dep package="ffmpeg"/> |
| 82 | + </dependencies> |
| 83 | + <branch repo="gstreamer" |
| 84 | + checkoutdir="gstreamer-${version}" |
| 85 | + rename-tarball="gstreamer-${version}.tar.gz" |
| 86 | + module="gstreamer/tarball/${version}" |
| 87 | + version="1.22.7" |
| 88 | + hash="sha256:5d38ad36449e755a11f8235eb80d68360c0ad4e8b422aebecad0e895d24f3834" /> |
| 89 | + <dependencies> |
| 90 | + <dep package="openh264"/> |
98 | 91 | </dependencies> |
99 | | - <branch hash="sha256:09d3c2cf5911f0bc7da6bf557a55251779243d3de216b6a26cc90c445b423848" module="gst-plugins-bad/gst-plugins-bad-${version}.tar.xz" repo="gstreamer" version="1.20.1"> |
100 | | - </branch> |
101 | 92 | </meson> |
102 | 93 |
|
103 | 94 | <autotools id="ffmpeg" autogen-template="%(srcdir)s/configure --prefix=%(prefix)s --enable-static --enable-pic --disable-avdevice --disable-postproc --disable-swscale --disable-programs --disable-ffplay --disable-ffprobe --disable-ffmpeg --disable-encoder=flac --disable-protocols --disable-devices --disable-network --disable-hwaccels --disable-dxva2 --disable-vdpau --disable-filters --enable-filter=yadif --disable-doc --disable-d3d11va --disable-dxva2 --disable-audiotoolbox --disable-videotoolbox --disable-vaapi --disable-crystalhd --disable-mediacodec --disable-nvenc --disable-mmal --disable-omx --disable-omx-rpi --disable-cuda --disable-cuvid --disable-libmfx --disable-libnpp --disable-iconv --disable-jni --disable-v4l2_m2m --enable-optimizations"> |
104 | | - <branch repo="ffmpeg" version="4.0.4" module="ffmpeg-${version}.tar.gz" hash="sha256:80bb685abfcdda7c9b6c9c5caf1d8dbb927858050d7377c2b8f3488c7e8a9b7f"/> |
| 95 | + <branch repo="ffmpeg" |
| 96 | + module="ffmpeg-${version}.tar.xz" |
| 97 | + version="6.1" |
| 98 | + hash="sha256:488c76e57dd9b3bee901f71d5c95eaf1db4a5a31fe46a28654e837144207c270"/> |
105 | 99 | </autotools> |
106 | 100 |
|
107 | | - <meson id="gst-libav" mesonargs="-Dgtk_doc=disabled"> |
108 | | - <dependencies> |
109 | | - <dep package="gst-plugins-base"/> |
110 | | - <dep package="ffmpeg"/> |
111 | | - </dependencies> |
112 | | - <branch hash="sha256:91a71fb633b75e1bd52e22a457845cb0ba563a2972ba5954ec88448f443a9fc7" module="gst-libav/gst-libav-${version}.tar.xz" repo="gstreamer" version="1.20.1"> |
113 | | - </branch> |
114 | | - </meson> |
115 | 101 |
|
116 | 102 | <meson id="libva" mesonargs="-Denable_va_messaging=false"> |
117 | | - <branch module="intel/libva/archive/${version}.tar.gz" version="2.4.1" |
118 | | - hash="sha256:68ca8d071dcb84ac82e3c6d7f02a55937d9f690fcb215853f4aa1de8d459812f" |
119 | | - checkoutdir="libva-${version}" repo="github-tarball"/> |
| 103 | + <branch repo="github-tarball" |
| 104 | + module="intel/libva/archive/${version}.tar.gz" |
| 105 | + checkoutdir="libva-${version}" |
| 106 | + version="2.4.1" |
| 107 | + hash="sha256:68ca8d071dcb84ac82e3c6d7f02a55937d9f690fcb215853f4aa1de8d459812f" /> |
| 108 | + </meson> |
| 109 | + |
| 110 | + <meson id="sparkle-cdm" mesonargs="-Dsample-player=disabled"> |
| 111 | + <branch repo="github-tarball" |
| 112 | + module="Sparkle-CDM/sparkle-cdm/tarball/3e1e0dcb221d044213f8c6e32b0b06102e7fb224" |
| 113 | + checkoutdir="sparkle-cdm" |
| 114 | + version="20231106" |
| 115 | + hash="sha256:2f3d1e8bafbb60fb3500491975ed6528fb0bf068122bacbda768c098ccf0ebfc" /> |
120 | 116 | </meson> |
121 | 117 |
|
122 | 118 | <cmake id="thunder" |
|
136 | 132 | -DSECURITYAGENT=OFF -DCOMPOSITORSERVERPLUGIN=OFF |
137 | 133 | -DPLUGIN_WEBKITBROWSER=OFF -DPLUGIN_WEBSERVER=OFF |
138 | 134 | -DPLUGIN_ESPIAL=OFF -DNETWORKCONTROL=OFF"> |
139 | | - <branch repo="github-tarball" module="rdkcentral/Thunder/tarball/${version}" version="6adeee006fecdd1b2bc49bd360d49fc5718deb61" checkoutdir="thunder"/> |
| 135 | + <branch repo="github-tarball" |
| 136 | + module="rdkcentral/Thunder/tarball/${version}" |
| 137 | + checkoutdir="thunder" |
| 138 | + version="6adeee006fecdd1b2bc49bd360d49fc5718deb61" /> |
140 | 139 | </cmake> |
141 | 140 |
|
142 | 141 | <autotools id="widevine" supports-non-srcdir-builds="no" |
|
146 | 145 | <dependencies> |
147 | 146 | <dep package="thunder"/> |
148 | 147 | </dependencies> |
149 | | - <branch repo="github-ssh" module="Metrological/widevine.git" checkoutdir="widevine" tag="264c137501b289e356b11dacc329b05636ea9396"/> |
| 148 | + <branch repo="github-ssh" |
| 149 | + module="Metrological/widevine.git" |
| 150 | + checkoutdir="widevine" |
| 151 | + tag="264c137501b289e356b11dacc329b05636ea9396" /> |
150 | 152 | </autotools> |
151 | 153 |
|
152 | 154 | <cmake id="thunder-cdmi-widevine" cmakeargs="-DCMAKE_BUILD_TYPE=RelWithDebInfo"> |
153 | | - <branch repo="github-tarball" |
154 | | - module="WebPlatformForEmbedded/OCDM-Widevine/tarball/${version}" |
155 | | - version="9dc3964b0339abb70d66e4f931632324a075d6d4" checkoutdir="thunder-cdmi-widevine"/> |
156 | 155 | <dependencies> |
157 | 156 | <dep package="thunder"/> |
158 | 157 | <dep package="widevine"/> |
159 | 158 | </dependencies> |
| 159 | + <branch repo="github-tarball" |
| 160 | + module="WebPlatformForEmbedded/OCDM-Widevine/tarball/${version}" |
| 161 | + checkoutdir="thunder-cdmi-widevine" |
| 162 | + version="9dc3964b0339abb70d66e4f931632324a075d6d4" /> |
160 | 163 | </cmake> |
161 | 164 |
|
162 | 165 | <cmake id="thunder-nanoservices" |
|
194 | 197 | -DPLUGIN_SPARK=OFF -DPLATFORM_LINUX=ON |
195 | 198 | -DPLUGIN_MESSENGER=OFF -DPLUGIN_SECURITYAGENT=OFF |
196 | 199 | -DPLUGIN_RPCLINK=OFF -DPLUGIN_COMPOSITOR=OFF"> |
197 | | - <branch repo="github-tarball" |
198 | | - module="rdkcentral/ThunderNanoServices/tarball/${version}" |
199 | | - version="de9f3d40d8408ee811c48f486c9b14f752c97345" |
200 | | - checkoutdir="thunder-nanoservices"/> |
201 | 200 | <dependencies> |
202 | 201 | <dep package="thunder"/> |
203 | 202 | <dep package="thunder-cdmi-widevine"/> |
204 | 203 | </dependencies> |
| 204 | + <branch repo="github-tarball" |
| 205 | + module="rdkcentral/ThunderNanoServices/tarball/${version}" |
| 206 | + checkoutdir="thunder-nanoservices" |
| 207 | + version="de9f3d40d8408ee811c48f486c9b14f752c97345" /> |
205 | 208 | </cmake> |
206 | 209 |
|
207 | 210 | </moduleset> |
0 commit comments