* update gupnp-igd to 1.6.0-1

This commit is contained in:
Alexander Baldeck 2023-05-12 23:27:31 +02:00
parent b9f6718735
commit 8c0f85915b

View File

@ -3,29 +3,30 @@
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=gupnp-igd
pkgver=1.2.0
pkgrel=3
pkgver=1.6.0
pkgrel=1
pkgdesc="A library to handle UPnP IGD port mapping"
url="https://wiki.gnome.org/Projects/GUPnP"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=(LGPL)
depends=(gupnp)
makedepends=(gobject-introspection git gtk-doc meson)
_commit=a0aafc79ac8e258f849cdb2924cb11ec9162d0c5 # tags/1.2.0-correct^0
makedepends=(
git
gobject-introspection
gtk-doc
meson
)
_commit=e60764858374d776869605d39e5e4d1033e9ad4a # tags/1.6.0^0
source=("git+https://gitlab.gnome.org/GNOME/gupnp-igd.git#commit=$_commit")
sha256sums=('SKIP')
b2sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-correct//;s/[^-]*-g/r&/;s/-/+/g'
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
# GUPnP 1.6
git cherry-pick -n 649b7100339c57531a8e31f69220f8e17f0860e0 \
79a1e4cf8c256132978a1d8ab718c8ad132386de
}
build() {
@ -40,7 +41,7 @@ check() {
package() {
depends+=(libg{lib,object,io}-2.0.so libg{ssdp,upnp}-1.6.so)
provides+=(libgupnp-igd-1.0.so)
provides+=(libgupnp-igd-1.6.so)
meson install -C build --destdir "$pkgdir"
}