1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
4 # Contributor: William Rea <sillywilly@gmail.com>
9 pkgdesc="A toolkit for creating fast, portable, compelling dynamic UIs"
10 url="https://blogs.gnome.org/clutter/"
13 depends=(gtk3 cogl libinput)
14 makedepends=(gobject-introspection gtk-doc git)
16 _commit=fd85623d34a54b3f5607011086cf19cb2c756a6a # tags/1.26.4^0
17 source=("git+https://gitlab.gnome.org/GNOME/clutter.git#commit=$_commit")
22 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
27 NOCONFIGURE=1 ./autogen.sh
32 ./configure --prefix=/usr \
33 --enable-introspection \
34 --enable-egl-backend \
35 --enable-gdk-backend \
36 --enable-wayland-backend \
37 --enable-x11-backend \
38 --enable-evdev-input \
39 --enable-wayland-compositor \
42 # https://bugzilla.gnome.org/show_bug.cgi?id=655517
43 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
49 depends+=(libcogl{,-pango,-path}.so)
50 provides+=(libclutter-1.0.so)
53 make DESTDIR="$pkgdir" install