From 8f70c481a6fcc403a822dbaf9b6618a12e03a499 Mon Sep 17 00:00:00 2001 From: caltlgin Date: Sun, 28 Jun 2020 19:29:04 +1200 Subject: Patch ffmpeg_version: Handle "n" prefix until next upstream release --- PKGBUILD | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 7fb384a..8f743e5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -12,6 +12,11 @@ makedepends=('python-setuptools') source=("${url}/archive/${pkgver}.tar.gz") sha256sums=('ac9ea5b5b5a8743133b4fd11fcc2b51418756e2d53530c71c0f663f44e24a56f') +prepare() { + # https://github.com/lagmoellertim/unsilence/commit/30581844096967a736cc0ea8e17abb3dbd8f81ee + sed -i 's/ffmpeg version /ffmpeg version \\D\?/' "${pkgname}-${pkgver}/unsilence/lib/tools/ffmpeg_version.py" +} + build() { cd "${pkgname}-${pkgver}" python setup.py build -- cgit v1.2.3-70-g09d2