Date: Thursday, March 14, 2019 @ 08:25:11
  Author: heftig
Revision: 347910

1.2.0-1

Modified:
  gupnp/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++--------------------
 1 file changed, 8 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-03-14 08:23:16 UTC (rev 347909)
+++ PKGBUILD    2019-03-14 08:25:11 UTC (rev 347910)
@@ -2,16 +2,16 @@
 # Contributor: György Balló <ball...@freestart.hu>
 
 pkgname=gupnp
-pkgver=1.0.3
+pkgver=1.2.0
 pkgrel=1
 pkgdesc="An object-oriented UPNP framework"
+url="https://wiki.gnome.org/Projects/GUPnP";
 arch=(x86_64)
-url="https://wiki.gnome.org/Projects/GUPnP";
 license=(LGPL)
 depends=(gssdp util-linux)
-makedepends=(gobject-introspection gtk-doc vala autoconf-archive git) 
+makedepends=(gobject-introspection gtk-doc vala meson git)
 optdepends=('python: gupnp-binding-tool')
-_commit=0e4f31cfc489a2c21f052885695902ae5ba98c8a  # tags/gupnp-1.0.3^0
+_commit=386c5332d4daa758ffbc36462f0aca3e7f18f60c  # tags/gupnp-1.2.0^0
 source=("git+https://gitlab.gnome.org/GNOME/gupnp.git#commit=$_commit";)
 sha256sums=('SKIP')
 
@@ -22,29 +22,17 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --disable-debug \
-    --disable-static \
-    --enable-compile-warnings=minimum \
-    --enable-gtk-doc \
-    --with-context-manager=linux
-  make
+  arch-meson $pkgname build -D gtk_doc=true
+  ninja -C build
 }
 
 check() {
-  cd $pkgname
-  make check
+  meson test -C build
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }

Reply via email to