#!/bin/bash
#
# Copyright 2009 Tyrael <tyrael@droplinegnome.org>
# Copyright 2009-2026 Sasa Ostrouska <saxa@droplinegnome.org>
# Copyright 2014 John Truex <apolluwn@gmail.com>
# Available under the terms of the GNU GPL.
#

NAME="clutter"
VERSION="1.26.4"
REVISION="4"

PKG_SOURCEURL='${DLG_GNOMEMIRROR}/${NAME}/${VER_MAJ}.${VER_MIN}/${NAME}-${VERSION}.tar.xz'
PKG_SANIFYNOTOUCH="UFFFF"

. $DLG_ROOT/etc/config
. $DLG_ROOT/lib/dl-base

cflags
cxxflags
prepare
analyzesource
configure --enable-egl-backend=yes \
	--enable-wayland-backend=yes \
	--enable-wayland-compositor=yes \
	--enable-introspection=yes \
	--with-x
make
makeinstall
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
