summaryrefslogtreecommitdiffstats
path: root/media/libopus/moz.yaml
blob: 72849d9dd23c2a43aff1306adb0c2c826e9a3f3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# 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: f3de7ca74358eff2aec766b076ded84f463ac606 (2023-04-20T15:13:19.000-07:00).

  # Revision to pull in
  # Must be a long or short commit SHA (long preferred)
  revision: f3de7ca74358eff2aec766b076ded84f463ac606

  # 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: kinetik@flim.org
    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"
    - Makefile.in
    - 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}"'