[arch-commits] Commit in gtk-vnc/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Aug 7 16:32:40 UTC 2019


    Date: Wednesday, August 7, 2019 @ 16:32:39
  Author: heftig
Revision: 359293

archrelease: copy trunk to extra-x86_64

Added:
  gtk-vnc/repos/extra-x86_64/PKGBUILD
    (from rev 359292, gtk-vnc/trunk/PKGBUILD)
Deleted:
  gtk-vnc/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   93 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-07 16:32:11 UTC (rev 359292)
+++ PKGBUILD	2019-08-07 16:32:39 UTC (rev 359293)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-# Contributor: Allan McRae <mcrae_allan at hotmail.com>
-# Contributor: lp76 <l.peduto at gmail.com>
-
-pkgname=gtk-vnc
-pkgver=0.9.0
-pkgrel=1
-pkgdesc="A VNC viewer widget for GTK+"
-url="https://wiki.gnome.org/Projects/gtk-vnc"
-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
-source=("git+https://gitlab.gnome.org/GNOME/gtk-vnc.git#commit=$_commit"
-        git+https://gitlab.com/keycodemap/keycodemapdb.git)
-sha256sums=('SKIP'
-            'SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-
-  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
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-}

Copied: gtk-vnc/repos/extra-x86_64/PKGBUILD (from rev 359292, gtk-vnc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-07 16:32:39 UTC (rev 359293)
@@ -0,0 +1,46 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Allan McRae <mcrae_allan at hotmail.com>
+# Contributor: lp76 <l.peduto at gmail.com>
+
+pkgname=gtk-vnc
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A VNC viewer widget for GTK+"
+url="https://wiki.gnome.org/Projects/gtk-vnc"
+arch=(x86_64)
+license=(LGPL)
+depends=(libgcrypt gtk3 gnutls libpulse)
+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'
+            'SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  git submodule init
+  git config --local submodule.src/keycodemapdb.url "$srcdir/keycodemapdb"
+  git submodule update
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  install -Dt "$pkgdir/usr/bin" build/examples/gvncviewer
+}


More information about the arch-commits mailing list