diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -7,7 +7,7 @@ pkgname=ffmpeg2.8 pkgver=2.8.21 -pkgrel=1 +pkgrel=2 pkgdesc='Complete solution to record, convert and stream audio and video' arch=('x86_64') url='https://ffmpeg.org/' @@ -27,12 +27,21 @@ provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so' 'libavresample.so' 'libavutil.so' 'libpostproc.so' 'libswresample.so' 'libswscale.so') source=("https://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.xz"{,.asc} + "mathops_shift.patch"::"https://github.com/FFmpeg/FFmpeg/commit/effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch" "${pkgname}.conf") validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8') # ffmpeg-devel sha256sums=('e5d956c19bff2aa5bdd60744509c9d8eb01330713d52674a7f650d54b570c82d' 'SKIP' + '8fad5f253bcda7a17523dbfcbfcfd60b3db23783dcdb65998005cddc7c7776c3' 'f0d34b08843e3cba6276e234f1fc4e520e3a7c45d2b4450393a1a5dd9da49247') +prepare() { + cd "ffmpeg-${pkgver}" + # avcodec/x86/mathops + # clip constants used with shift instructions with in inline assembly + patch -Np1 -i "${srcdir}/mathops_shift.patch" +} + build() { cd "ffmpeg-${pkgver}" @@ -44,6 +53,7 @@ build() { --disable-debug \ --disable-static \ --disable-stripping \ + --disable-htmlpages \ --enable-avisynth \ --enable-avresample \ --enable-fontconfig \ |