[arch-commits] Commit in gupnp-av/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Mon Oct 25 19:48:26 UTC 2021


    Date: Monday, October 25, 2021 @ 19:48:26
  Author: heftig
Revision: 426545

archrelease: copy trunk to staging-x86_64

Added:
  gupnp-av/repos/staging-x86_64/
  gupnp-av/repos/staging-x86_64/PKGBUILD
    (from rev 426544, gupnp-av/trunk/PKGBUILD)

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

Copied: gupnp-av/repos/staging-x86_64/PKGBUILD (from rev 426544, gupnp-av/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-10-25 19:48:26 UTC (rev 426545)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Thijs Vermeir <thijsvermeir at gmail.com>
+# Contributor: Denis Zawada <deno at rootnode.net>
+
+pkgname=gupnp-av
+pkgver=0.14.0
+pkgrel=1
+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=c0a8a77e1182fb428ab13021c9ebe278eb2750d1  # tags/gupnp-av-0.14.0^0
+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
+  meson compile -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+  depends+=(libg{lib,object}-2.0.so)
+  provides+=(libgupnp-av-1.0.so)
+
+  meson install -C build --destdir "$pkgdir"
+}



More information about the arch-commits mailing list