moz.yaml (1849B)
1 # Version of this schema 2 schema: 1 3 4 bugzilla: 5 # Bugzilla product and component for this directory and subdirectories 6 product: Core 7 component: "Audio/Video: Playback" 8 9 # Document the source of externally hosted code 10 origin: 11 12 # Short name of the package/library 13 name: opus 14 15 description: opus, an open, royalty-free, highly versatile audio codec 16 17 # Full URL for the package's homepage/etc 18 # Usually different from repository url 19 url: https://opus-codec.org/ 20 21 # Human-readable identifier for this version/release 22 # Generally "version NNN", "tag SSS", "bookmark SSS" 23 release: 807c93d1b539e6e097e1e437b6d4603b67a7bc10 (2025-12-20T21:52:39.000-05:00). 24 25 # Revision to pull in 26 # Must be a long or short commit SHA (long preferred) 27 revision: 807c93d1b539e6e097e1e437b6d4603b67a7bc10 28 29 # The package's license, where possible using the mnemonic from 30 # https://spdx.org/licenses/ 31 # Multiple licenses can be specified (as a YAML list) 32 # A "LICENSE" file must exist containing the full license text 33 license: BSD-2-Clause 34 35 license-file: COPYING 36 37 updatebot: 38 maintainer-phab: kinetik 39 maintainer-bz: kinetik@flim.org 40 tasks: 41 - type: vendoring 42 enabled: true 43 frequency: every 44 45 vendoring: 46 url: https://gitlab.xiph.org/xiph/opus 47 source-hosting: gitlab 48 vendor-directory: media/libopus 49 skip-vendoring-steps: ['move-contents', 'update-moz-build'] 50 51 keep: 52 - "*.patch" 53 - arm2gnu.py 54 - COPYING 55 - gen-sources.py 56 - Makefile.in 57 - README_MOZILLA 58 - sources.mozbuild 59 - update.sh 60 61 update-actions: 62 - action: run-script 63 script: 'update.sh' 64 cwd: '{yaml_dir}' 65 args: ['{tmpextractdir}'] 66 - action: replace-in-file-regex 67 file: moz.build 68 pattern: 'DEFINES\["OPUS_VERSION"\] = "(.+)"' 69 with: 'DEFINES["OPUS_VERSION"] = "{revision}"'