diff --git a/ffmpeg/PKGBUILD b/ffmpeg/PKGBUILD index de5d0ada02..0dab7b8046 100644 --- a/ffmpeg/PKGBUILD +++ b/ffmpeg/PKGBUILD @@ -1,4 +1,3 @@ -# POWER Maintainer: Alexander Baldeck # Maintainer: Maxime Gauduin # Contributor: Bartłomiej Piotrowski # Contributor: Ionut Biru @@ -7,70 +6,62 @@ pkgname=ffmpeg pkgver=6.1.1 -pkgrel=5 +pkgrel=7 epoch=2 pkgdesc='Complete solution to record, convert and stream audio and video' arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) -url=https://ffmpeg.org/ -license=(GPL3) +url=https://ffmpeg.org +license=(GPL-3.0-only) depends=( alsa-lib aom bzip2 cairo + dav1d fontconfig + freetype2 fribidi glib2 glibc gmp gnutls gsm + harfbuzz jack lame - libass.so + libass libavc1394 - libbluray.so - libbs2b.so - libdav1d.so + libbluray + libbs2b libdrm - libfreetype.so libgl - libharfbuzz.so libiec61883 - libjxl.so + libjxl libmodplug - libopenmpt.so - libplacebo.so + libopenmpt + libplacebo libpulse - librav1e.so libraw1394 - librsvg-2.so - librubberband.so + librsvg libsoxr libssh libtheora - libva.so - libva-drm.so - libva-x11.so + libva libvdpau - libvidstab.so - libvorbisenc.so - libvorbis.so - libvpx.so + libvorbis + libvpx libwebp libx11 - libx264.so - libx265.so libxcb libxext libxml2 libxv - libxvidcore.so - libzimg.so ocl-icd opencore-amr openjpeg2 opus + rav1e + rubberband sdl2 snappy speex @@ -78,9 +69,14 @@ depends=( svt-av1 v4l-utils vapoursynth + vid.stab vmaf vulkan-icd-loader + x264 + x265 + xvidcore xz + zimg zlib ) depends_x86_64=( @@ -128,8 +124,7 @@ source=( add-av_stream_get_first_dts-for-chromium.patch ) b2sums=('SKIP' - '555274228e09a233d92beb365d413ff5c718a782008075552cafb2130a3783cf976b51dfe4513c15777fb6e8397a34122d475080f2c4483e8feea5c0d878e6de' - 'd7a5d2180e523d8c593686d9f3effa73c3d5a8d450a8ec0b64018a3f9f944fe77bb1690ad9a33625704c0eda3d9bccf5e7aa95b3db12552bfbeb7f22a748fdf0') + '555274228e09a233d92beb365d413ff5c718a782008075552cafb2130a3783cf976b51dfe4513c15777fb6e8397a34122d475080f2c4483e8feea5c0d878e6de') validpgpkeys=(DD1EC9E8DE085C629B3E1846B18E8928B3948D64) # Michael Niedermayer prepare() { @@ -147,6 +142,8 @@ prepare() { # Fix bug in av_fft_end git cherry-pick -n a562cfee2e214252f8b3f516527272ae32ef9532 git cherry-pick -n 250471ea1745fc703eb346a2a662304536a311b1 + # Fix build with latest vulkan headers + git cherry-pick -n fef22c87ada4517441701e6e61e062c9f4399c8e } pkgver() { @@ -158,9 +155,9 @@ build() { cd ffmpeg case "${CARCH}" in - powerpc) _configure_flags=( - --disable-altivec # altivec support on 32be is broken - --disable-power8 # buildbot sure isn't a G3 so it detects + powerpc|powerpc64) _configure_flags=( + --disable-altivec # altivec support on 32/64be is broken + --disable-power8 # buildbot may be a power9 --disable-vsx # later SIMD, disable them forcefully ) ;; @@ -243,6 +240,32 @@ build() { } package() { + depends+=( + libass.so + libbluray.so + libbs2b.so + libdav1d.so + libfreetype.so + libharfbuzz.so + libjxl.so + libopenmpt.so + libplacebo.so + librav1e.so + librsvg-2.so + librubberband.so + libva.so + libva-drm.so + libva-x11.so + libvidstab.so + libvorbisenc.so + libvorbis.so + libvpx.so + libx264.so + libx265.so + libxvidcore.so + libzimg.so + ) + make DESTDIR="${pkgdir}" -C ffmpeg install install-man install -Dm 755 ffmpeg/tools/qt-faststart "${pkgdir}"/usr/bin/ }