1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Multimedia graph framework - libav plugin"
8 url="https://gstreamer.freedesktop.org/"
11 depends=(gst-plugins-base-libs bzip2 ffmpeg)
12 makedepends=(python git meson)
13 provides=("gst-ffmpeg=$pkgver-$pkgrel")
14 _commit=9db917cab4c20e72e53ed962406a0d94636a2a39 # tags/1.18.5^0
15 source=("git+https://gitlab.freedesktop.org/gstreamer/gst-libav.git#commit=$_commit"
16 0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch)
18 '0718b6de9f8da1bf612efb7b428d8d81f00a1ab710da344c6a9651a4b745cea3')
22 git describe --tags | sed 's/-/+/g'
28 # Fix build with FFmpeg 5.0
29 git apply -3 ../0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch
33 arch-meson $pkgname build \
35 -D package-name="GStreamer FFmpeg Plugin (Arch Linux)" \
36 -D package-origin="https://www.archlinux.org/"
37 meson compile -C build
41 meson test -C build --print-errorlogs
45 meson install -C build --destdir "$pkgdir"