forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1762642: Add libopus to mach vendor r=kinetik,jewilde
This makes some ./mach vendor improvements needed: - Adds a replace-in-file-regex action - Allows you to skip copying the temporary extract directory so that a script can do it - Removes 'commit' from the look-in-moz.yaml-for-release match Differential Revision: https://phabricator.services.mozilla.com/D142720
- Loading branch information
1 parent
fc564bd
commit aae5d51
Showing
6 changed files
with
121 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Version of this schema | ||
schema: 1 | ||
|
||
bugzilla: | ||
# Bugzilla product and component for this directory and subdirectories | ||
product: Core | ||
component: "Audio/Video: Playback" | ||
|
||
# Document the source of externally hosted code | ||
origin: | ||
|
||
# Short name of the package/library | ||
name: opus | ||
|
||
description: opus, an open, royalty-free, highly versatile audio codec | ||
|
||
# Full URL for the package's homepage/etc | ||
# Usually different from repository url | ||
url: https://opus-codec.org/ | ||
|
||
# Human-readable identifier for this version/release | ||
# Generally "version NNN", "tag SSS", "bookmark SSS" | ||
release: 2654707e86cc94413998976d179b2ab4a2aa3114 (2022-04-01T14:32:38.000-04:00). | ||
|
||
# Revision to pull in | ||
# Must be a long or short commit SHA (long preferred) | ||
revision: 2654707e86cc94413998976d179b2ab4a2aa3114 | ||
|
||
# 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-2-Clause | ||
|
||
license-file: COPYING | ||
|
||
updatebot: | ||
maintainer-phab: kinetik | ||
maintainer-bz: [email protected] | ||
tasks: | ||
- type: vendoring | ||
enabled: true | ||
frequency: every | ||
|
||
vendoring: | ||
url: https://gitlab.xiph.org/xiph/opus | ||
source-hosting: gitlab | ||
vendor-directory: media/libopus | ||
skip-vendoring-steps: ['move-contents', 'update-moz-build'] | ||
|
||
keep: | ||
- COPYING | ||
- gen-sources.py | ||
- "*.patch" | ||
- README_MOZILLA | ||
- sources.mozbuild | ||
- update.sh | ||
|
||
update-actions: | ||
- action: run-script | ||
script: 'update.sh' | ||
cwd: '{yaml_dir}' | ||
args: ['{tmpextractdir}'] | ||
- action: replace-in-file-regex | ||
file: moz.build | ||
pattern: 'DEFINES\["OPUS_VERSION"\] = "(.+)"' | ||
with: 'DEFINES["OPUS_VERSION"] = "{revision}"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters