# Depends on: atk cogl json-glib gobject-introspection gtk3 gtk-doc libgudev libinput libxkbcommon wayland

description="A GObject based library for creating fast, visually rich graphical user interfaces"
url="https://blogs.gnome.org/clutter"
packager="tnut <tnut@nutyx.org>"
contributors="Tnut, Jayce"

name=clutter
version=1.26.2
release=5

source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
cd $name-$version
./configure --prefix=/usr \
    --enable-introspection \
    --enable-egl-backend \
    --enable-gdk-backend \
    --enable-wayland-backend \
    --enable-x11-backend \
    --enable-evdev-input \
    --enable-wayland-compositor \
    --enable-gtk-doc
make
make DESTDIR=$PKG install

# Obsolet lib
rm $PKG/usr/lib/libclutter-1.0.la
}
