diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-08-10 22:21:10 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-10 18:44:27 -0300 |
commit | 081ffb64984617f2baa71c303cf00da97d42f7cd (patch) | |
tree | c4e75097de96439614ba45e1dfbaa8cf0d459eb8 /community/gtk-vnc | |
parent | 1d571604cf8ffe07e484ae2315c86902d49ea750 (diff) | |
download | aports-081ffb64984617f2baa71c303cf00da97d42f7cd.tar.bz2 aports-081ffb64984617f2baa71c303cf00da97d42f7cd.tar.xz |
community/gtk-vnc: upgrade to 1.0.0
Diffstat (limited to 'community/gtk-vnc')
-rw-r--r-- | community/gtk-vnc/APKBUILD | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/community/gtk-vnc/APKBUILD b/community/gtk-vnc/APKBUILD index 497b5f790c..3ceddd95f0 100644 --- a/community/gtk-vnc/APKBUILD +++ b/community/gtk-vnc/APKBUILD @@ -1,17 +1,16 @@ # Contributor: Sergei Lukin <sergej.lukin@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gtk-vnc -pkgver=0.9.0 +pkgver=1.0.0 pkgrel=0 pkgdesc="A VNC viewer widget for GTK" url="https://wiki.gnome.org/Projects/gtk-vnc" arch="all" license="LGPL-2.1-or-later" -depends_dev="gtk+3.0-dev gnutls-dev glib-dev" -makedepends="$depends_dev gettext-dev intltool expat-dev +makedepends="gtk+3.0-dev gnutls-dev glib-dev expat-dev libgcrypt-dev libgpg-error-dev cyrus-sasl-dev perl-text-csv - gobject-introspection-dev vala sed" -source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" + gobject-introspection-dev vala meson" +source="https://download.gnome.org/sources/gtk-vnc/${pkgver%.*}/gtk-vnc-$pkgver.tar.xz" subpackages="$pkgname-dev gvncviewer $pkgname-lang $pkgname-doc" # secfixes: @@ -20,19 +19,26 @@ subpackages="$pkgname-dev gvncviewer $pkgname-lang $pkgname-doc" # - CVE-2017-5885 build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ + # https://gitlab.gnome.org/GNOME/gtk-vnc/issues/11 + meson \ --prefix=/usr \ - --with-examples \ - --enable-introspection \ - --with-gtk=3.0 \ - --disable-static - make + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + -Dwith-vala=true \ + -Dwith-coroutine=gthread \ + . output + + ninja -C output +} + +check() { + ninja -C output test } package() { - make -j1 DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja -C output install } gvncviewer() { @@ -41,4 +47,4 @@ gvncviewer() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } -sha512sums="498b368eb53ac58172db280c80f9da71ce82b636c39f186046e4f674e44c574ff4b63c3f777acc79d32c17d70e4efcdc207768ed49b3d1842bc4b73618296215 gtk-vnc-0.9.0.tar.xz" +sha512sums="63a40b9b284c4e46a92d5375ab3660b324ff27bfc572559d3b34d29fe4f7d24e976396b6688b8f3e3109d49dc5527075d128c43bb997507e68ddc0880b0ad148 gtk-vnc-1.0.0.tar.xz" |