Date: Sunday, October 23, 2022 @ 16:39:12
  Author: heftig
Revision: 458800

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gupnp/repos/gnome-unstable-x86_64/
  gupnp/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 458799, gupnp/trunk/PKGBUILD)

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

Copied: gupnp/repos/gnome-unstable-x86_64/PKGBUILD (from rev 458799, 
gupnp/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2022-10-23 16:39:12 UTC (rev 458800)
@@ -0,0 +1,66 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: György Balló <[email protected]>
+
+pkgbase=gupnp
+pkgname=(gupnp gupnp-docs)
+pkgver=1.6.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 libxml2)
+makedepends=(gobject-introspection gi-docgen vala meson git)
+options=(debug)
+_commit=f05648e240c99be32911fb0c6de84e5954470e56  # tags/gupnp-1.6.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gupnp.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd gupnp
+  git describe --tags | sed 's/^gupnp-//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd gupnp
+}
+
+build() {
+  arch-meson gupnp build -D gtk_doc=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+_pick() {
+  local p="$1" f d; shift
+  for f; do
+    d="$srcdir/$p/${f#$pkgdir/}"
+    mkdir -p "$(dirname "$d")"
+    mv "$f" "$d"
+    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
+
+package_gupnp() {
+  depends+=(libg{lib,object,io,module}-2.0.so libgssdp-1.6.so libsoup-3.0.so)
+  optdepends=('python: gupnp-binding-tool')
+  provides=(libgupnp-1.6.so)
+
+  meson install -C build --destdir "$pkgdir"
+
+  cd "$pkgdir"
+  _pick docs usr/share/doc
+}
+
+package_gupnp-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+  mv docs/* "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to