Date: Sunday, October 23, 2022 @ 16:32:24
Author: heftig
Revision: 458798
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gupnp-av/repos/gnome-unstable-x86_64/
gupnp-av/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 458797, gupnp-av/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: gupnp-av/repos/gnome-unstable-x86_64/PKGBUILD (from rev 458797,
gupnp-av/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2022-10-23 16:32:24 UTC (rev 458798)
@@ -0,0 +1,44 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Thijs Vermeir <[email protected]>
+# Contributor: Denis Zawada <[email protected]>
+
+pkgname=gupnp-av
+pkgver=0.14.1
+pkgrel=2
+pkgdesc="Library to ease handling and implementation of UPnP A/V profiles"
+url="https://wiki.gnome.org/Projects/GUPnP"
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2 libxml2)
+makedepends=(gobject-introspection gtk-doc vala meson git)
+options=(debug)
+_commit=86f148ebb920a8113190fd3e6cae636c9fdd3ca7 # tags/gupnp-av-0.14.1^0
+source=("git+https://gitlab.gnome.org/GNOME/gupnp-av.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd gupnp-av
+ git describe --tags | sed 's/^gupnp-av-//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd gupnp-av
+}
+
+build() {
+ arch-meson gupnp-av build -D gtk_doc=true
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ depends+=(libg{lib,object}-2.0.so)
+ provides+=(libgupnp-av-1.0.so)
+
+ meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et: