diff options
author | caltlgin | 2020-06-28 19:29:04 +1200 |
---|---|---|
committer | caltlgin | 2020-06-28 19:29:04 +1200 |
commit | 8f70c481a6fcc403a822dbaf9b6618a12e03a499 (patch) | |
tree | ee2a67fd8e416e9c91182514febcfdfcc7e3b048 | |
parent | e641bedc28149a625e26e4912853fd043d0bbafc (diff) | |
download | packages-8f70c481a6fcc403a822dbaf9b6618a12e03a499.tar.gz packages-8f70c481a6fcc403a822dbaf9b6618a12e03a499.tar.bz2 packages-8f70c481a6fcc403a822dbaf9b6618a12e03a499.zip |
Patch ffmpeg_version: Handle "n" prefix until next upstream release
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12,6 +12,11 @@ makedepends=('python-setuptools') | |||
12 | source=("${url}/archive/${pkgver}.tar.gz") | 12 | source=("${url}/archive/${pkgver}.tar.gz") |
13 | sha256sums=('ac9ea5b5b5a8743133b4fd11fcc2b51418756e2d53530c71c0f663f44e24a56f') | 13 | sha256sums=('ac9ea5b5b5a8743133b4fd11fcc2b51418756e2d53530c71c0f663f44e24a56f') |
14 | 14 | ||
15 | prepare() { | ||
16 | # https://github.com/lagmoellertim/unsilence/commit/30581844096967a736cc0ea8e17abb3dbd8f81ee | ||
17 | sed -i 's/ffmpeg version /ffmpeg version \\D\?/' "${pkgname}-${pkgver}/unsilence/lib/tools/ffmpeg_version.py" | ||
18 | } | ||
19 | |||
15 | build() { | 20 | build() { |
16 | cd "${pkgname}-${pkgver}" | 21 | cd "${pkgname}-${pkgver}" |
17 | python setup.py build | 22 | python setup.py build |