mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-05 12:22:57 +02:00
gtk-vnc: update to 0.8.0. (#1392)
This commit is contained in:
parent
ed11fc684b
commit
6131474b1b
2 changed files with 14 additions and 20 deletions
|
@ -1,18 +1,19 @@
|
||||||
# Template file for 'gtk-vnc'
|
# Template file for 'gtk-vnc'
|
||||||
pkgname=gtk-vnc
|
pkgname=gtk-vnc
|
||||||
version=0.6.0
|
version=0.8.0
|
||||||
revision=2
|
revision=1
|
||||||
hostmakedepends="automake libtool perl pkg-config intltool gettext-devel
|
hostmakedepends="automake gettext-devel glib-devel gobject-introspection
|
||||||
glib-devel pygtk-devel libgcrypt-devel gobject-introspection"
|
intltool libgcrypt-devel pkg-config pygtk-devel"
|
||||||
makedepends="gtk+-devel gtk+3-devel gnutls-devel libgcrypt-devel
|
makedepends="gnutls-devel gtk+3-devel libsasl-devel pygtk-devel
|
||||||
libsasl-devel $(vopt_if gir vala-devel) python-devel pygtk-devel"
|
$(vopt_if gir 'vala-devel')"
|
||||||
configure_args="$(vopt_enable gir introspection)"
|
configure_args="$(vopt_enable gir introspection)"
|
||||||
short_desc="VNC viewer widget for GTK"
|
short_desc="VNC viewer widget for GTK"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.gnome.org"
|
homepage="https://wiki.gnome.org/Projects/gtk-vnc"
|
||||||
license="GPL-2"
|
license="GPL-2.0-or-later"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=9559348805e64d130dae569fee466930175dbe150d2649bb868b5c095f130433
|
checksum=561647e093919ab0b38c4b1ea39813d5b5dc10ef290e689f4caef596a707dd57
|
||||||
|
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
|
@ -38,13 +39,14 @@ pre_configure() {
|
||||||
autoreconf -if
|
autoreconf -if
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
cd ${wrksrc}/gtk2-build
|
cd ${wrksrc}/gtk2-build
|
||||||
./configure ${configure_args} --with-python --disable-static \
|
./configure ${configure_args} --disable-static \
|
||||||
--with-gtk=2.0 $(vopt_enable gir introspection)
|
--with-gtk=2.0 $(vopt_enable gir introspection)
|
||||||
|
|
||||||
cd ${wrksrc}/gtk3-build
|
cd ${wrksrc}/gtk3-build
|
||||||
./configure ${configure_args} --with-python --disable-static \
|
./configure ${configure_args} --disable-static \
|
||||||
--with-gtk=3.0 $(vopt_enable gir introspection)
|
--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() {
|
gtk-vnc-devel_package() {
|
||||||
depends="glib-devel gtk+3-devel gtk-vnc>=${version}_${revision}"
|
depends="glib-devel gtk+3-devel gtk-vnc>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
gtk-vnc
|
|
Loading…
Add table
Reference in a new issue