extra/ffmpeg to 4.0-1

This commit is contained in:
Kevin Mihelich 2018-05-12 16:35:34 +00:00
parent b94a17feee
commit 94e646a55a

View file

@ -9,8 +9,8 @@
# - use -fPIC in host cflags for armv7 to fix print_options.c compile # - use -fPIC in host cflags for armv7 to fix print_options.c compile
pkgname=ffmpeg pkgname=ffmpeg
pkgver=3.4.2 pkgver=4.0
pkgrel=2 pkgrel=1
epoch=1 epoch=1
pkgdesc='Complete solution to record, convert and stream audio and video' pkgdesc='Complete solution to record, convert and stream audio and video'
arch=('x86_64') arch=('x86_64')
@ -30,20 +30,10 @@ optdepends=('ladspa: LADSPA filters')
provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so' provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
'libavresample.so' 'libavutil.so' 'libpostproc.so' 'libswresample.so' 'libavresample.so' 'libavutil.so' 'libpostproc.so' 'libswresample.so'
'libswscale.so') 'libswscale.so')
source=("https://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.xz"{,.asc} source=("https://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.xz"{,.asc})
'fs56089.patch')
validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8') validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8')
sha256sums=('2b92e9578ef8b3e49eeab229e69305f5f4cbc1fdaa22e927fc7fca18acccd740' sha256sums=('ed945daf40b124e77a685893cc025d086f638bc703183460aff49508edb3a43f'
'SKIP' 'SKIP')
'0bfcd12d1992903f21c146ae56d9ad89b52818cfb2303197ee905347c25a5427')
prepare() {
cd ffmpeg-${pkgver}
# https://bugs.archlinux.org/task/56089
# Backport of http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=a606f27f4c610708fa96e35eed7b7537d3d8f712
patch -Np1 -i ../fs56089.patch
}
build() { build() {
cd ffmpeg-${pkgver} cd ffmpeg-${pkgver}
@ -96,7 +86,7 @@ build() {
make make
make tools/qt-faststart make tools/qt-faststart
make doc/ff{mpeg,play,server}.1 make doc/ff{mpeg,play}.1
} }
package() { package() {