# $Id$ # Maintainer: Ionut Biru # Maintainer: Jan Alexander Steffens (heftig) _rls=1 _pkgname=gtk3 pkgname=$_pkgname-donnatella pkgver=3.14.6 pkgrel=1 pkgdesc="GObject-based multi-platform GUI toolkit (v3) w/ fixes & extra features" arch=(i686 x86_64) url="http://www.gtk.org/" install=gtk3.install depends=(atk cairo gtk-update-icon-cache libcups libxcursor libxinerama libxrandr libxi libxcomposite libxdamage pango shared-mime-info colord at-spi2-atk wayland libxkbcommon adwaita-icon-theme json-glib rest) makedepends=(gobject-introspection python2 gtk-doc) optdepends=('gnome-themes-standard: Default widget theme' 'gnome-icon-theme: Default icon theme') provides=($_pkgname) conflicts=($_pkgname) license=(LGPL) source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.xz settings.ini http://jjacky.com/donnatella/$pkgname-${pkgver}-$_rls.tar.gz) sha256sums=('cfc424e6e10ffeb34a33762aeb77905c3ed938f0b4006ddb7e880aad234ef119' '14369dfd1d325c393e17c105d5d5cc5501663277bd4047ea04a50abb3cfbd119' '861715f50e8ce4645e1a15e71a23f6a102e058d101531bef3955dd1442aee540') prepare() { cd "gtk+-$pkgver" for patch in ../*.patch; do patch -p1 -i $patch done NOCONFIGURE=1 ./autogen.sh } build() { cd "gtk+-$pkgver" CXX=/bin/false ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-gtk2-dependency \ --disable-schemas-compile \ --enable-x11-backend \ --enable-broadway-backend \ --enable-wayland-backend #https://bugzilla.gnome.org/show_bug.cgi?id=655517 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { cd "gtk+-$pkgver" make DESTDIR="$pkgdir" install }