Date: Wednesday, April 12, 2023 @ 22:22:41
  Author: heftig
Revision: 473995

1.6.0-1

Modified:
  gupnp-igd/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-12 21:36:15 UTC (rev 473994)
+++ PKGBUILD    2023-04-12 22:22:41 UTC (rev 473995)
@@ -2,29 +2,30 @@
 # Contributor: Eric BĂ©langer <[email protected]>
 
 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)
 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() {
@@ -39,7 +40,7 @@
 
 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"
 }

Reply via email to