ffmpeg8.1

LOW
maintainer bakatrouble 0 votes scanned 2026-10-25 19:43:04.801001
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: bakatrouble <bakatrouble@gmail.com>
2# Contributor: Maxime Gauduin <alucryd@archlinux.org>
3# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
4# Contributor: Ionut Biru <ibiru@archlinux.org>
5# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
6# Contributor: Paul Mattal <paul@archlinux.org>
7
8_pkgname=ffmpeg
9pkgname=${_pkgname}8.1
10pkgver=8.1.3
11pkgrel=1
12pkgdesc='Complete solution to record, convert and stream audio and video'
13arch=(x86_64)
14url=https://ffmpeg.org
15license=(GPL-3.0-only)
16depends=(
17 alsa-lib
18 aom
19 bzip2
20 cairo
21 dav1d
22 fontconfig
23 freetype2
24 fribidi
25 glib2
26 glibc
27 glslang
28 gmp
29 gnutls
30 gsm
31 harfbuzz
32 jack
33 lame
34 lcms2
35 libass
36 libavc1394
37 libbluray
38 libbs2b
39 libdrm
40 libdvdnav
41 libdvdread
42 libgcc
43 libgl
44 libiec61883
45 libjxl
46 libmodplug
47 libopenmpt
48 libplacebo
49 libpulse
50 libraw1394
51 librsvg
52 libsoxr
53 libssh
54 libtheora
55 libva
56 libvdpau
57 libvorbis
58 libvpx
59 libwebp
60 libx11
61 libxcb
62 libxext
63 libxml2
64 libxv
65 ocl-icd
66 onevpl
67 opencore-amr
68 openjpeg2
69 opus
70 rav1e
71 rubberband
72 sdl2
73 snappy
74 sndio
75 speex
76 srt
77 svt-av1
78 v4l-utils
79 vapoursynth
80 vid.stab
81 vmaf
82 vulkan-icd-loader
83 x264
84 x265
85 xvidcore
86 xz
87 zeromq
88 zimg
89 zlib
90)
91makedepends=(
92 amf-headers
93 avisynthplus
94 clang
95 ffnvcodec-headers
96 frei0r-plugins
97 git
98 ladspa
99 mesa
100 nasm
101 opencl-headers
102 vulkan-headers
103)
104optdepends=(
105 'avisynthplus: AviSynthPlus support'
106 'frei0r-plugins: Frei0r video effects support'
107 'intel-media-sdk: Intel QuickSync support (legacy)'
108 'ladspa: LADSPA filters'
109 'nvidia-utils: Nvidia NVDEC/NVENC support'
110 'onevpl-intel-gpu: Intel QuickSync support'
111)
112provides=(
113 libavcodec.so
114 libavdevice.so
115 libavfilter.so
116 libavformat.so
117 libavutil.so
118 libswresample.so
119 libswscale.so
120)
121source=(
122 git+https://git.ffmpeg.org/ffmpeg.git?signed#tag=n${pkgver}
123 0001-Add-av_stream_get_first_dts-for-Chromium.patch
124)
125b2sums=('SKIP'
126 'e5f7b79f7731be9ee5a7280a9221fb531ac5a2d9820fc5870b68b0eabea667dfbe8f39f41c1e1763a4c84982896afaa54c81ff57847d203b70afafd726689e5d')
127validpgpkeys=(DD1EC9E8DE085C629B3E1846B18E8928B3948D64) # Michael Niedermayer <michael@niedermayer.cc>
128
129prepare() {
130 cd ffmpeg
131
132 # https://crbug.com/1251779
133 git apply -3 ../0001-Add-av_stream_get_first_dts-for-Chromium.patch
134}
135
136build() {
137 export PKG_CONFIG_PATH='/usr/lib/mbedtls2/pkgconfig'
138 cd ffmpeg
139 ./configure \
140 --prefix=/usr \
141 --incdir="/usr/include/${pkgname}" \
142 --libdir="/usr/lib/${pkgname}" \
143 --disable-debug \
144 --disable-doc \
145 --disable-programs \
146 --disable-static \
147 --disable-stripping \
148 --enable-amf \
149 --enable-avisynth \
150 --enable-cuda-llvm \
151 --enable-lto \
152 --enable-fontconfig \
153 --enable-frei0r \
154 --enable-gmp \
155 --enable-gnutls \
156 --enable-gpl \
157 --enable-ladspa \
158 --enable-lcms2 \
159 --enable-libaom \
160 --enable-libass \
161 --enable-libbluray \
162 --enable-libbs2b \
163 --enable-libdav1d \
164 --enable-libdrm \
165 --enable-libdvdnav \
166 --enable-libdvdread \
167 --enable-libfreetype \
168 --enable-libfribidi \
169 --enable-libglslang \
170 --enable-libgsm \
171 --enable-libharfbuzz \
172 --enable-libiec61883 \
173 --enable-libjack \
174 --enable-libjxl \
175 --enable-libmodplug \
176 --enable-libmp3lame \
177 --enable-libopencore_amrnb \
178 --enable-libopencore_amrwb \
179 --enable-libopenjpeg \
180 --enable-libopenmpt \
181 --enable-libopus \
182 --enable-libplacebo \
183 --enable-libpulse \
184 --enable-librav1e \
185 --enable-librsvg \
186 --enable-librubberband \
187 --enable-libsnappy \
188 --enable-libsoxr \
189 --enable-libspeex \
190 --enable-libsrt \
191 --enable-libssh \
192 --enable-libsvtav1 \
193 --enable-libtheora \
194 --enable-libv4l2 \
195 --enable-libvidstab \
196 --enable-libvmaf \
197 --enable-libvorbis \
198 --enable-libvpl \
199 --enable-libvpx \
200 --enable-libwebp \
201 --enable-libx264 \
202 --enable-libx265 \
203 --enable-libxcb \
204 --enable-libxml2 \
205 --enable-libxvid \
206 --enable-libzimg \
207 --enable-libzmq \
208 --enable-nvdec \
209 --enable-nvenc \
210 --enable-opencl \
211 --enable-opengl \
212 --enable-shared \
213 --enable-vapoursynth \
214 --enable-version3 \
215 --enable-vulkan \
216 --disable-decoder=magicyuv # pixelsmash
217 make
218}
219
220package() {
221 depends+=(
222 libass.so
223 libbluray.so
224 libbs2b.so
225 libdav1d.so
226 libfreetype.so
227 libharfbuzz.so
228# libjxl.so
229 libopenmpt.so
230 libplacebo.so
231 librav1e.so
232 librsvg-2.so
233 librubberband.so
234 libva.so
235 libva-drm.so
236 libva-x11.so
237 libvidstab.so
238 libvorbisenc.so
239 libvorbis.so
240 libvpx.so
241 libx264.so
242 libx265.so
243 libxvidcore.so
244 libzimg.so
245 libzmq.so
246 )
247
248 make DESTDIR="${pkgdir}" -C ffmpeg install
249
250 cd "${pkgdir}"
251 # Move libs to /usr/lib, except the .so symlinks
252 local f
253 for f in usr/lib/${pkgname}/*; do
254 if [[ $f == *.so ]]; then
255 ln -srf -- usr/lib/"$(readlink "$f")" "$f"
256 elif [[ ! -d $f ]]; then
257 mv "$f" usr/lib
258 fi
259 done
260 rm -r usr/share
261}
262
263# vim: ts=2 sw=2 et:
264

Scan history

Scanned at (UTC)SeverityRules
2026-10-25 19:43:04 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion