Date: Thursday, March 14, 2019 @ 08:23:16 Author: bpiotrowski Revision: 347909
archrelease: copy trunk to gnome-unstable-x86_64 Added: gssdp/repos/gnome-unstable-x86_64/ gssdp/repos/gnome-unstable-x86_64/PKGBUILD (from rev 347908, gssdp/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: gssdp/repos/gnome-unstable-x86_64/PKGBUILD (from rev 347908, gssdp/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2019-03-14 08:23:16 UTC (rev 347909) @@ -0,0 +1,38 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: György Balló <ball...@freestart.hu> + +pkgname=gssdp +pkgver=1.2.0 +pkgrel=1 +pkgdesc="A GObject-based API for handling resource discovery and announcement over SSDP" +url="https://wiki.gnome.org/Projects/GUPnP" +arch=(x86_64) +license=(LGPL) +depends=(libsoup) +makedepends=(gobject-introspection gtk-doc vala meson git gtk3) +optdepends=('gtk3: gssdp-device-sniffer') +_commit=615517535c1a5bb2c2bb5d5460f92e7e7944df6a # tags/gssdp-1.2.0^0 +source=("git+https://gitlab.gnome.org/GNOME/gssdp.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^gssdp-//;s/-/+/g' +} + +prepare() { + cd $pkgname +} + +build() { + arch-meson $pkgname build -D gtk_doc=true + ninja -C build +} + +check() { + meson test -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}