# Template file for 'tumbler'.
pkgname=tumbler
version=0.1.31
revision=5
build_style=gnu-configure
configure_args="--disable-gstreamer-thumbnailer"
hostmakedepends="automake libtool pkg-config intltool xfce4-dev-tools
 gettext-devel glib-devel dbus-glib-devel"
makedepends="libjpeg-turbo-devel libpng-devel gtk+-devel dbus-glib-devel
 libgsf-devel poppler-glib-devel libopenraw-devel ffmpegthumbnailer-devel"
short_desc="D-Bus Thumbnailer service"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://xfce.org"
distfiles="http://archive.xfce.org/src/xfce/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=d0fd329273ff6ac98885eade4c3d8c87a4dd0816f713646130808bfa90b87173

pre_configure() {
	mkdir m4
	NOCONFIGURE=1 xdt-autogen
}

tumbler-devel_package() {
	depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove usr/lib/*.so
	}
}
