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

Jan Steffens heftig at gemini.archlinux.org
Mon Oct 25 19:45:59 UTC 2021


    Date: Monday, October 25, 2021 @ 19:45:58
  Author: heftig
Revision: 426542

archrelease: copy trunk to staging-x86_64

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

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

Copied: gupnp/repos/staging-x86_64/PKGBUILD (from rev 426541, gupnp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-10-25 19:45:58 UTC (rev 426542)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=gupnp
+pkgver=1.4.0
+pkgrel=1
+epoch=1
+pkgdesc="An object-oriented UPNP framework"
+url="https://wiki.gnome.org/Projects/GUPnP"
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2 gssdp util-linux libxml2)
+makedepends=(gobject-introspection gtk-doc vala meson git)
+optdepends=('python: gupnp-binding-tool')
+_commit=0175039d71cd72ee8c9b718e752d3fa81851359c  # tags/gupnp-1.4.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gupnp.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^gupnp-//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D gtk_doc=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(libg{lib,object,io,module}-2.0.so libgssdp-1.2.so libsoup-2.4.so
+            libuuid.so)
+  provides+=(libgupnp-1.2.so)
+
+  meson install -C build --destdir "$pkgdir"
+}



More information about the arch-commits mailing list