#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=clutter
pkgver=1.14.6
pkgrel=1gv
source=("ftp://ftp.gnome.org/pub/gnome/sources/clutter/1.14/clutter-1.14.6.tar.xz")
docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "about-nls")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"clutter (Open GL based interactive canvas library)"
"Clutter is a GObject based library for creating fast, visually rich,"
"graphical user interfaces."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--build=$arch-slackware-linux \
		--disable-gtk-doc \
		--disable-gtk-doc-html \
		--disable-gtk-doc-pdf \
		--disable-docs
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg

	# all those disable-gtk-doc options for nothing...
	rm -rf $startdir/pkg/usr/share/gtk-doc
}