[arch-commits] Commit in gst-libav/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Apr 22 21:41:01 UTC 2019


    Date: Monday, April 22, 2019 @ 21:41:01
  Author: heftig
Revision: 351954

archrelease: copy trunk to testing-x86_64

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

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

Copied: gst-libav/repos/testing-x86_64/PKGBUILD (from rev 351953, gst-libav/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-04-22 21:41:01 UTC (rev 351954)
@@ -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.0
+pkgrel=1
+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=d6c61e69b36eaa144a5ef8fdac73a8162f072509  # tags/1.16.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 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