[arch-commits] Commit in gupnp-av/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue May 19 08:27:39 UTC 2020
Date: Tuesday, May 19, 2020 @ 08:27:39
Author: felixonmars
Revision: 386312
archrelease: copy trunk to staging-x86_64
Added:
gupnp-av/repos/staging-x86_64/
gupnp-av/repos/staging-x86_64/PKGBUILD
(from rev 386311, gupnp-av/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: gupnp-av/repos/staging-x86_64/PKGBUILD (from rev 386311, gupnp-av/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 08:27:39 UTC (rev 386312)
@@ -0,0 +1,38 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Thijs Vermeir <thijsvermeir at gmail.com>
+# Contributor: Denis Zawada <deno at rootnode.net>
+
+pkgname=gupnp-av
+pkgver=0.12.11+2+gb5ca07c
+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)
+_commit=b5ca07c0117dfb4a9aaf470649294251f3f6ace1 # master
+source=("git+https://gitlab.gnome.org/GNOME/gupnp-av.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^gupnp-av-//;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
+}
More information about the arch-commits
mailing list