Date: Saturday, September 12, 2020 @ 01:17:28
  Author: heftig
Revision: 395810

archrelease: copy trunk to testing-x86_64

Added:
  gst-libav/repos/testing-x86_64/
  gst-libav/repos/testing-x86_64/PKGBUILD
    (from rev 395809, gst-libav/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: gst-libav/repos/testing-x86_64/PKGBUILD (from rev 395809, 
gst-libav/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2020-09-12 01:17:28 UTC (rev 395810)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=gst-libav
+pkgver=1.18.0
+pkgrel=1
+pkgdesc="Multimedia graph framework - libav plugin"
+url="https://gstreamer.freedesktop.org/";
+arch=(x86_64)
+license=(GPL)
+depends=(gst-plugins-base-libs bzip2 ffmpeg)
+makedepends=(python git meson)
+provides=("gst-ffmpeg=$pkgver-$pkgrel")
+_commit=215b3ed959f2b307065319f94855cc9e1ce7be95  # tags/1.18.0^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 doc=disabled \
+    -D package-name="GStreamer FFmpeg Plugin (Arch Linux)" \
+    -D package-origin="https://www.archlinux.org/";
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}

Reply via email to