gtk-vnc: update to 0.8.0. (#1392)

This commit is contained in:
maxice8 2018-08-02 14:40:17 -03:00 committed by cr6git
parent ed11fc684b
commit 6131474b1b
2 changed files with 14 additions and 20 deletions

View file

@ -1,18 +1,19 @@
# Template file for 'gtk-vnc'
pkgname=gtk-vnc
version=0.6.0
revision=2
hostmakedepends="automake libtool perl pkg-config intltool gettext-devel
glib-devel pygtk-devel libgcrypt-devel gobject-introspection"
makedepends="gtk+-devel gtk+3-devel gnutls-devel libgcrypt-devel
libsasl-devel $(vopt_if gir vala-devel) python-devel pygtk-devel"
version=0.8.0
revision=1
hostmakedepends="automake gettext-devel glib-devel gobject-introspection
intltool libgcrypt-devel pkg-config pygtk-devel"
makedepends="gnutls-devel gtk+3-devel libsasl-devel pygtk-devel
$(vopt_if gir 'vala-devel')"
configure_args="$(vopt_enable gir introspection)"
short_desc="VNC viewer widget for GTK"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=9559348805e64d130dae569fee466930175dbe150d2649bb868b5c095f130433
homepage="https://wiki.gnome.org/Projects/gtk-vnc"
license="GPL-2.0-or-later"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=561647e093919ab0b38c4b1ea39813d5b5dc10ef290e689f4caef596a707dd57
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
@ -38,13 +39,14 @@ pre_configure() {
autoreconf -if
done
}
do_configure() {
cd ${wrksrc}/gtk2-build
./configure ${configure_args} --with-python --disable-static \
./configure ${configure_args} --disable-static \
--with-gtk=2.0 $(vopt_enable gir introspection)
cd ${wrksrc}/gtk3-build
./configure ${configure_args} --with-python --disable-static \
./configure ${configure_args} --disable-static \
--with-gtk=3.0 $(vopt_enable gir introspection)
}
@ -87,13 +89,6 @@ gtk2-vnc-devel_package() {
}
}
gtk2-vnc-python_package() {
short_desc+=" - python bindings"
pkg_install() {
vmove usr/lib/python2.7
}
}
gtk-vnc-devel_package() {
depends="glib-devel gtk+3-devel gtk-vnc>=${version}_${revision}"
short_desc+=" - development files"

View file

@ -1 +0,0 @@
gtk-vnc