schema: 1

bugzilla:
  product: Core
  component: "Audio/Video: cubeb"

origin:
  name: cubeb
  description: "Cross platform audio library"
  url: https://github.com/mozilla/cubeb
  license: ISC
  release: 6d5e5e6470aa0836139a1feb79793a33db227d3e (2026-07-06T21:31:47Z).
  revision: 6d5e5e6470aa0836139a1feb79793a33db227d3e

vendoring:
  url: https://github.com/mozilla/cubeb
  source-hosting: github
  vendor-directory: media/libcubeb
  patches:
    - 0001-disable-aaudio-before-android-31.patch
    - 0002-disable-crash-reporter-death-test.patch
    - 0003-audiounit-ios-compile-fixes.patch
    - 0004-disable-cubeb_one_duplex_one_input-macos10.15.patch
  skip-vendoring-steps:
    - update-moz-build
  exclude:
    - ".*"
    - CMakeLists.txt
    - Config.cmake.in
    - INSTALL.md
    - cmake
    - cubeb.supp
    - docs
    - scan-build-install.sh
    - src/cubeb-jni-instances.h
    - src/cubeb_assert.h
    - src/cubeb_audiotrack.c
    - src/cubeb_kai.c
    - src/cubeb_osx_run_loop.cpp
    - src/cubeb_pulse.c
    - src/cubeb_tracing.h
    - subprojects
    - tools
  keep:
    - gtest/moz.build
    - include/cubeb-stdint.h
    - include/cubeb_export.h
    - include/moz.build
    - src/cubeb-jni-instances.h
    - src/cubeb_assert.h
    - src/cubeb_osx_run_loop.c
    - src/cubeb_tracing.h
    - src/moz.build

