* update gupnp-dlna to 0.12.0-2

This commit is contained in:
Alexander Baldeck 2022-12-10 18:13:53 +01:00
parent 82f3454789
commit ebf17a6964

View File

@ -4,20 +4,21 @@
pkgname=gupnp-dlna
pkgver=0.12.0
pkgrel=1
pkgrel=2
pkgdesc="Library to ease DLNA-related bits for applications using gupnp"
url="https://wiki.gnome.org/Projects/GUPnP"
arch=(x86_64 powerpc64le powerpc riscv64)
license=(LGPL)
depends=(gst-plugins-base-libs)
makedepends=(gobject-introspection gtk-doc vala meson git)
options=(debug)
_commit=cc09daae47ef0e030895edbeba58636c76f53b3d # tags/gupnp-dlna-0.12.0^0
source=("git+https://gitlab.gnome.org/GNOME/gupnp-dlna.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^gupnp-dlna-//;s/-/+/g'
git describe --tags | sed 's/^gupnp-dlna-//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
@ -39,3 +40,5 @@ package() {
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 sts=-1 et: