summaryrefslogtreecommitdiffstats
path: root/media/libopus/moz.yaml
blob: 6b9909c23643efe92f7b640e2c17d85c92ec0129 (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: 757c53f775a0b651b0512a1992d67f4b2159a378 (2022-11-24T17:20:32.000-08:00).

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

  # 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}"'