[arch-commits] Commit in gst-libav/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 16 11:49:29 UTC 2020
Date: Saturday, May 16, 2020 @ 11:49:28
Author: foutrelis
Revision: 384360
archrelease: copy trunk to staging-x86_64
Added:
gst-libav/repos/staging-x86_64/
gst-libav/repos/staging-x86_64/PKGBUILD
(from rev 384359, gst-libav/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: gst-libav/repos/staging-x86_64/PKGBUILD (from rev 384359, gst-libav/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-16 11:49:28 UTC (rev 384360)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gst-libav
+pkgver=1.16.2
+pkgrel=2
+pkgdesc="GStreamer open-source multimedia framework FFmpeg plugin"
+url="https://gstreamer.freedesktop.org/"
+arch=(x86_64)
+license=(GPL)
+depends=(gst-plugins-base-libs bzip2 ffmpeg)
+makedepends=(python gtk-doc git yasm meson)
+provides=("gst-ffmpeg=$pkgver-$pkgrel")
+_commit=090cfd40aad49ad645a9bf4bdd62e65b739c95f3 # tags/1.16.2^0
+source=("git+https://gitlab.freedesktop.org/gstreamer/gst-libav.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build \
+ -D package-name="GStreamer FFmpeg Plugin (Arch Linux)" \
+ -D package-origin="https://www.archlinux.org/"
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list