summaryrefslogtreecommitdiffstats
path: root/media/libvpx/moz.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'media/libvpx/moz.yaml')
-rw-r--r--media/libvpx/moz.yaml76
1 files changed, 76 insertions, 0 deletions
diff --git a/media/libvpx/moz.yaml b/media/libvpx/moz.yaml
new file mode 100644
index 0000000000..17704a1905
--- /dev/null
+++ b/media/libvpx/moz.yaml
@@ -0,0 +1,76 @@
+# Version of this schema
+schema: 1
+
+bugzilla:
+ # Bugzilla product and component for this directory and subdirectories
+ product: Core
+ component: "Audio/Video"
+
+# Document the source of externally hosted code
+origin:
+
+ # Short name of the package/library
+ name: libvpx
+
+ description: VP8/VP9 Codec SDK
+
+ # Full URL for the package's homepage/etc
+ # Usually different from repository url
+ url: https://chromium.googlesource.com/webm/libvpx
+
+ # Human-readable identifier for this version/release
+ # Generally "version NNN", "tag SSS", "bookmark SSS"
+ release: f6b7166a2b6bac544c2c487d3a7e49bc265cdf9d (Tue Jan 02 20:08:06 2024).
+
+ # Revision to pull in
+ # Must be a long or short commit SHA (long preferred)
+ revision: f6b7166a2b6bac544c2c487d3a7e49bc265cdf9d
+
+ # The package's license, where possible using the mnemonic from
+ # https://spdx.org/licenses/
+ # Multiple licenses can be specified (as a YAML list)
+ # A "LICENSE" file must exist containing the full license text
+ license: BSD-3-Clause
+
+ license-file: LICENSE
+
+updatebot:
+ maintainer-phab: chunmin
+ maintainer-bz: cchang@mozilla.com
+ tasks:
+ - type: vendoring
+ enabled: true
+ frequency: release
+
+vendoring:
+ url: https://chromium.googlesource.com/webm/libvpx
+ source-hosting: googlesource
+ vendor-directory: media/libvpx/libvpx/
+ skip-vendoring-steps: ['update-moz-build']
+
+ exclude:
+ - third_party/libwebm
+ - tools/
+
+ patches:
+ - input_frame_validation.patch
+ - input_frame_validation_vp9.patch
+
+ update-actions:
+ - action: move-file
+ from: '{vendor_dir}/vpx_dsp/x86/loopfilter_sse2.c'
+ to: '{vendor_dir}/vpx_dsp/x86/loopfilter_intrin_sse2.c'
+ - action: move-file
+ from: '{vendor_dir}/vpx_dsp/loongarch/quantize_lsx.c'
+ to: '{vendor_dir}/vpx_dsp/loongarch/quantize_intrin_lsx.c'
+ - action: run-command
+ command: patch
+ args: ['-p1', '-i', '{yaml_dir}/rename_duplicate_files.patch', '-d', '{yaml_dir}/libvpx']
+ cwd: '{yaml_dir}'
+ - action: run-command
+ command: patch
+ args: ['-p1', '-i', '{yaml_dir}/win64_build_fix.patch', '-d', '{yaml_dir}/libvpx']
+ cwd: '{yaml_dir}'
+ - action: run-script
+ script: '{yaml_dir}/generate_sources_mozbuild.sh'
+ cwd: '{yaml_dir}'