Date: Friday, February 10, 2017 @ 14:24:08 Author: heftig Revision: 288544
3.20.1-2 Modified: libwnck3/trunk/PKGBUILD ----------+ PKGBUILD | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-02-10 11:49:32 UTC (rev 288543) +++ PKGBUILD 2017-02-10 14:24:08 UTC (rev 288544) @@ -1,21 +1,36 @@ # $Id$ -# Maintainer: Ionut Biru <[email protected]> +# Contributor: Ionut Biru <[email protected]> pkgname=libwnck3 -_pkgbasename=libwnck pkgver=3.20.1 -pkgrel=1 +pkgrel=2 pkgdesc="Library to manage X windows and workspaces (via pagers, tasklists, etc.)" url="https://git.gnome.org/browse/libwnck" arch=(i686 x86_64) license=(LGPL) depends=(gtk3 startup-notification libxres) -makedepends=(intltool gobject-introspection python2 gtk-doc) -source=(https://download.gnome.org/sources/libwnck/${pkgver%.*}/libwnck-$pkgver.tar.xz) -sha256sums=('1cb03716bc477058dfdf3ebfa4f534de3b13b1aa067fcd064d0b7813291cba72') +makedepends=(intltool gobject-introspection python2 gtk-doc gnome-common git) +_commit=590b11f147fd31ef8e63187559e92358c8b28fc6 # tags/3.20.1^0 +source=("git+https://git.gnome.org/browse/libwnck#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd libwnck + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd libwnck + + # d-feet crash on Wayland + git cherry-pick -n 40856004e394305c880124f3d3b5f08fc1e9a16d + git cherry-pick -n c4cc2eb15f9da7a02ff584d5f517239b53a2c985 + + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd libwnck-$pkgver + cd libwnck ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-static --enable-gtk-doc make @@ -22,11 +37,11 @@ } check() { - cd libwnck-$pkgver + cd libwnck make -k check } package() { - cd libwnck-$pkgver + cd libwnck make DESTDIR="$pkgdir" install }
