[arch-commits] Commit in gtk-vnc/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Aug 18 17:49:25 UTC 2016
Date: Thursday, August 18, 2016 @ 17:49:25
Author: heftig
Revision: 273924
0.6.0-1
Modified:
gtk-vnc/trunk/PKGBUILD
----------+
PKGBUILD | 36 +++++++++++++-----------------------
1 file changed, 13 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-18 16:21:35 UTC (rev 273923)
+++ PKGBUILD 2016-08-18 17:49:25 UTC (rev 273924)
@@ -5,35 +5,25 @@
# Contributor: lp76 <l.peduto at gmail.com>
pkgname=gtk-vnc
-pkgver=0.5.4
+pkgver=0.6.0
pkgrel=1
-pkgdesc="A VNC viewer widget for GTK"
-arch=('i686' 'x86_64')
+pkgdesc="A VNC viewer widget for GTK+"
url="https://wiki.gnome.org/Projects/gtk-vnc"
-license=('LGPL')
-depends=('libgcrypt' 'gtk3' 'gnutls')
-optdepends=('gtk2: GTK2 widget')
-makedepends=('intltool' 'pygtk' 'pygobject2-devel' 'gtk-doc' 'gtk2' 'vala' 'gobject-introspection')
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(libgcrypt gtk3 gnutls libpulse)
+makedepends=(intltool gtk-doc vala gobject-introspection)
source=(https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('488aa97a76ce6868160699cd45d4a0ee0fe6f0ad4631737c6ddd84450f6c9ce7')
+sha256sums=('9559348805e64d130dae569fee466930175dbe150d2649bb868b5c095f130433')
build() {
- rm -rf gtk2-build gtk3-build
- cp -a $pkgname-$pkgver gtk2-build
- mv $pkgname-$pkgver gtk3-build
-
- ( cd gtk2-build
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
- --with-python --disable-static --with-gtk=2.0
- make )
-
- ( cd gtk3-build
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
- --with-python --with-examples --disable-static --with-gtk=3.0
- make )
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --with-examples --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
}
package() {
- make -C gtk2-build DESTDIR="${pkgdir}" install
- make -C gtk3-build DESTDIR="${pkgdir}" install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list