Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / rnnoise
Commits: 43ca2d37 by Acid Xeon at 2024-04-16T05:36:52+00:00 Download model in source array This enhances reproducibility, allowing us to promptly detect if the upstream updates the file, and avoids downloading it with every build. - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -9,13 +9,19 @@ arch=(x86_64) url="https://gitlab.xiph.org/xiph/rnnoise" license=('BSD-3-Clause') depends=('glibc') -makedepends=('wget') -source=("https://gitlab.xiph.org/xiph/rnnoise/-/archive/v${pkgver}/rnnoise-v${pkgver}.tar.gz") -sha512sums=('930aa892299edbc1d512803df6b845ea6164eb498cacdab9970e5ae799bc6cf3c8c94d2b9576955fb9a2d8aa13a6d255e58fb99d0367a0d0ef842a1cb938e674') +_model_version=0b50c45 # cat model_version +source=("https://gitlab.xiph.org/xiph/rnnoise/-/archive/v${pkgver}/rnnoise-v${pkgver}.tar.gz" + "https://media.xiph.org/rnnoise/models/rnnoise_data-$_model_version.tar.gz") +sha512sums=('930aa892299edbc1d512803df6b845ea6164eb498cacdab9970e5ae799bc6cf3c8c94d2b9576955fb9a2d8aa13a6d255e58fb99d0367a0d0ef842a1cb938e674' + 'c15fef7c88d86264a29a3dab14d94bde769da68f255d131d135f6a40d94037b1ffe521f9e0a26339114750dbdd7cf774c3185ba40279c74200fb32732f57db8b') + +prepare() { + mv src/* "rnnoise-v${pkgver}/src" +} build() { cd "rnnoise-v${pkgver}" - ./autogen.sh + autoreconf -isf ./configure --prefix=/usr --enable-x86-rtcd make } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/rnnoise/-/commit/43ca2d371fabac9a01fb548c56335de050f186f3 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/rnnoise/-/commit/43ca2d371fabac9a01fb548c56335de050f186f3 You're receiving this email because of your account on gitlab.archlinux.org.