Version: 5

# rnnoise fetches its pre-trained model at build time: autogen.sh calls
# download_model.sh, which downloads
#   https://media.xiph.org/rnnoise/models/rnnoise_data-<hash>.tar.gz
# (too large for git) and extracts src/rnnoise_data.{c,h}, required to compile
# librnnoise. Debian builds must be offline, so uscan repacks the exported
# tarball (+ds) and debian/repack.sh (Update-Script) bakes the model into it.
# See debian/README.source and debian/copyright.

Mode: git
Source: https://gitlab.xiph.org/xiph/rnnoise.git
Matching-Pattern: refs/tags/v@ANY_VERSION@
Git-Mode: full
Pgp-Mode: gittag
Repack: yes
Repacksuffix: +ds
Compression: xz
Oversionmangle: s/$/+ds/
Dversionmangle: s/\+ds$//
Update-Script: debian/repack.sh
