diff options
author | SamLukeYes | 2021-09-08 23:38:05 +0800 |
---|---|---|
committer | SamLukeYes | 2021-09-08 23:38:05 +0800 |
commit | 718e108d378780f002422d037eb9b61c1a0f9a8b (patch) | |
tree | 1b4f195f08433e6755016ac7ecc2afa0dc04c4b0 /PKGBUILD | |
parent | 4b2f92c2c3eadc28e5d49ca372491792dc409462 (diff) | |
download | aur-autosub-git.tar.gz |
fix forward compat for auditok
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,9 +23,8 @@ depends=( ) makedepends=('python-setuptools' 'git') optdepends=( - 'ffmpeg' 'python-langcodes' - 'ffmpeg-normalize' + 'ffmpeg-normalize: for audio pre-processing' ) source=("${pkgname%-git}::git+${url}.git#branch=alpha") sha256sums=('SKIP') @@ -34,6 +33,7 @@ prepare() { cd ${srcdir}/autosub sed -i 's|auditok==|auditok>=|' setup.py sed -i 's|except DistributionNotFound|except|' autosub/constants.py + sed -i 's|sample_width=asource.get_sample_width(),|sample_width=2,channels=1,|' autosub/core.py } pkgver() { |