Date: Wednesday, August 7, 2019 @ 16:32:11 Author: heftig Revision: 359292
1.0.0-1 Modified: gtk-vnc/trunk/PKGBUILD ----------+ PKGBUILD | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-08-07 13:59:19 UTC (rev 359291) +++ PKGBUILD 2019-08-07 16:32:11 UTC (rev 359292) @@ -4,7 +4,7 @@ # Contributor: lp76 <l.ped...@gmail.com> pkgname=gtk-vnc -pkgver=0.9.0 +pkgver=1.0.0 pkgrel=1 pkgdesc="A VNC viewer widget for GTK+" url="https://wiki.gnome.org/Projects/gtk-vnc" @@ -11,8 +11,8 @@ arch=(x86_64) license=(LGPL) depends=(libgcrypt gtk3 gnutls libpulse) -makedepends=(intltool vala gobject-introspection gnome-common git perl-text-csv) -_commit=8afbc55407c2625f9b1e64c53a0c0efd9939f6a8 # tags/v0.9.0^0 +makedepends=(vala gobject-introspection git perl-text-csv meson) +_commit=99ce0ff670f1ba2947a2f36ec853cc7fbf015678 # tags/v1.0.0^0 source=("git+https://gitlab.gnome.org/GNOME/gtk-vnc.git#commit=$_commit" git+https://gitlab.com/keycodemap/keycodemapdb.git) sha256sums=('SKIP' @@ -29,18 +29,18 @@ git submodule init git config --local submodule.src/keycodemapdb.url "$srcdir/keycodemapdb" git submodule update - - NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname - ./configure --prefix=/usr --with-examples --disable-static --disable-werror - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make + arch-meson $pkgname build + ninja -C build } +check() { + meson test -C build --print-errorlogs +} + package() { - cd $pkgname - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install -C build + install -Dt "$pkgdir/usr/bin" build/examples/gvncviewer }