1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 # Contributor: Paul Mattal <paul@archlinux.org>
11 pkgdesc='Complete solution to record, convert and stream audio and video'
13 url=https://ffmpeg.org/
82 'avisynthplus: AviSynthPlus support'
83 'intel-media-sdk: Intel QuickSync support'
84 'ladspa: LADSPA filters'
85 'nvidia-utils: Nvidia NVDEC/NVENC support'
97 _tag=7e0d640edf6c3eee1816b105c2f7498c4f948e74
99 git+https://git.ffmpeg.org/ffmpeg.git#tag=${_tag}
100 vmaf-model-path.patch
104 8dff51f84a5f7460f8893f0514812f5d2bd668c3276ef7ab7713c99b71d7bd8d
110 git describe --tags | sed 's/^n//'
115 git cherry-pick -n 988f2e9eb063db7c1a678729f58aab6eba59a55b # fix nvenc on older gpus
116 patch -Np1 -i "${srcdir}"/vmaf-model-path.patch
126 --disable-stripping \
131 --enable-fontconfig \
141 --enable-libfreetype \
142 --enable-libfribidi \
144 --enable-libiec61883 \
147 --enable-libmodplug \
148 --enable-libmp3lame \
149 --enable-libopencore_amrnb \
150 --enable-libopencore_amrwb \
151 --enable-libopenjpeg \
163 --enable-libvidstab \
180 make tools/qt-faststart
181 make doc/ff{mpeg,play}.1
185 make DESTDIR="${pkgdir}" -C ffmpeg install install-man
186 install -Dm 755 ffmpeg/tools/qt-faststart "${pkgdir}"/usr/bin/