extra/ffmpeg to 4.2.1-1

This commit is contained in:
Kevin Mihelich 2019-09-07 13:50:03 +00:00
parent 31fe7e0cc2
commit 4200b1eb7b

View file

@ -10,8 +10,8 @@
# - remove depends on aom, remove --enable-libaom
pkgname=ffmpeg
pkgver=4.2
pkgrel=4
pkgver=4.2.1
pkgrel=1
epoch=1
pkgdesc='Complete solution to record, convert and stream audio and video'
arch=(x86_64)
@ -83,8 +83,14 @@ provides=(
libswresample.so
libswscale.so
)
source=(git+https://git.ffmpeg.org/ffmpeg.git#tag=n${pkgver})
sha256sums=('SKIP')
source=(git+https://git.ffmpeg.org/ffmpeg.git#tag=cbb3c9497549f8856d8cd37ac63af1406a784e58)
sha256sums=(SKIP)
pkgver() {
cd ffmpeg
git describe --tags | sed 's/^n//'
}
build() {
cd ffmpeg
@ -92,7 +98,7 @@ build() {
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CONFIG='--host-cflags="-fPIC"'
./configure \
--prefix='/usr' \
--prefix=/usr \
--disable-debug \
--disable-static \
--disable-stripping \