Date: Thursday, March 18, 2021 @ 17:42:08 Author: heftig Revision: 410242
archrelease: copy trunk to staging-x86_64 Added: gst-plugins-ugly/repos/staging-x86_64/ gst-plugins-ugly/repos/staging-x86_64/PKGBUILD (from rev 410241, gst-plugins-ugly/trunk/PKGBUILD) ----------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) Copied: gst-plugins-ugly/repos/staging-x86_64/PKGBUILD (from rev 410241, gst-plugins-ugly/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2021-03-18 17:42:08 UTC (rev 410242) @@ -0,0 +1,42 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=gst-plugins-ugly +pkgver=1.18.4 +pkgrel=2 +pkgdesc="Multimedia graph framework - ugly plugins" +url="https://gstreamer.freedesktop.org/" +arch=(x86_64) +license=(LGPL) +depends=(gst-plugins-base-libs libdvdread libmpeg2 a52dec libsidplay libcdio + x264 opencore-amr) +makedepends=(python git meson) +_commit=bb3f9de20025820fb1c913f96e31cf0a27528bcc # tags/1.18.4^0 +source=("git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly.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 gobject-cast-checks=disabled \ + -D package-name="GStreamer Ugly Plugins (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 +}