aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtk-vnc/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-12 06:29:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-12 06:36:34 +0000
commitb522c17a47a568f9d5a162c796c58ca81c09f39b (patch)
treee51ec0fd92f1ab0f5d57a415df66949c1f880c75 /main/gtk-vnc/APKBUILD
parentedac16d0ba026e4bebc9fa6cdd65137ddd045fa7 (diff)
downloadaports-b522c17a47a568f9d5a162c796c58ca81c09f39b.tar.bz2
aports-b522c17a47a568f9d5a162c796c58ca81c09f39b.tar.xz
main/gtk-vnc: switch to gtk3
Diffstat (limited to 'main/gtk-vnc/APKBUILD')
-rw-r--r--main/gtk-vnc/APKBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/main/gtk-vnc/APKBUILD b/main/gtk-vnc/APKBUILD
index f3dc4bff2d..e3c1e32807 100644
--- a/main/gtk-vnc/APKBUILD
+++ b/main/gtk-vnc/APKBUILD
@@ -1,25 +1,24 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk-vnc
pkgver=0.5.2
-pkgrel=1
+pkgrel=2
pkgdesc="A VNC viewer widget for GTK"
url="http://live.gnome.org/gtk-vnc"
arch="all"
license="LGPL"
-subpackages="$pkgname-dev gvncviewer $pkgname-lang py-$pkgname:py $pkgname-doc"
-makedepends="gnutls-dev gtk+-dev libiconv-dev gettext-dev intltool expat-dev
+depends_dev="gtk+3.0-dev gnutls-dev glib-dev"
+makedepends="$depends_dev libiconv-dev gettext-dev intltool expat-dev
libgcrypt-dev libgpg-error-dev cyrus-sasl-dev perl-text-csv
- gobject-introspection-dev python-dev py-gtk-dev py-gobject-dev"
-depends_dev="gtk+-dev gnutls-dev"
+ gobject-introspection-dev vala"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-build ()
-{
+subpackages="$pkgname-dev gvncviewer $pkgname-lang $pkgname-doc"
+build () {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
- --with-python \
--with-examples \
--enable-introspection \
+ --with-gtk=3.0 \
--disable-static || return 1
make || return 1
}
@@ -27,8 +26,7 @@ build ()
package() {
cd "$srcdir"/$pkgname-$pkgver
make -j1 DESTDIR="$pkgdir" install || return 1
- rm "$pkgdir"/usr/lib/*.la \
- "$pkgdir"/usr/lib/python*/site-packages/*.la
+ rm "$pkgdir"/usr/lib/*.la
}
gvncviewer() {
@@ -37,12 +35,6 @@ gvncviewer() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-py() {
- pkgdesc="Python binding for gtk-vnc"
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
-}
-
md5sums="591f5c0efff931336cba5b56e0c64e0d gtk-vnc-0.5.2.tar.xz"
sha256sums="b51bda7edebb82ab142c292bd1b1493406bc8225a5c834d854bbafef9e9a471f gtk-vnc-0.5.2.tar.xz"
sha512sums="e58a0bbb4c5d1802d51936d5869ccad55cd405f6939f49445e224863866a33173e47e055d88f50e60b3f864a7e393faf0c78a219a08ee8a8c1fc8fe108f9824a gtk-vnc-0.5.2.tar.xz"