# Version of this schema
schema: 1

bugzilla:
  # Bugzilla product and component for this directory and subdirectories
  product: "Core"
  component: "Graphics"

# The source in this directory was copied from upstream by running the
# update.py script from media/libyuv. Any changes made relative to upstream
# should be reflected in that script, e.g. by applying patch files after the
# copy step.

origin:
  name: "libyuv"
  description: "YUV-format image scaling and conversion library"

  url: "https://chromium.googlesource.com/libyuv/libyuv"

  # Human-readable identifier for this version/release
  # Generally "version NNN", "tag SSS", "bookmark SSS"
  release: "master (2022-06-22 00:11:49)"

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

  # 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-Clear"

  license-file: LICENSE

updatebot:
  maintainer-phab: ng
  maintainer-bz: ngrunbaum@me.com
  tasks:
    - type: vendoring
      enabled: true
      frequency: release

vendoring:
  url: https://chromium.googlesource.com/libyuv/libyuv/
  source-hosting: googlesource
  vendor-directory: media/libyuv/libyuv/
  skip-vendoring-steps: ["update-moz-build"]

  exclude:
    - ".*"

  patches:
    - 00_fix_build_errors.patch
    - 01_make_mjpeg_printfs_optional.patch
    - 02_update_gyp.patch
    - 03_add_neon64_and_sve_gyp_targets.patch
    - 04_disable_sme.patch
    - 05_fix_gcc_neon_rgbtouvmatrixrow.patch

