# Template file for 'libxfce4ui'
pkgname=libxfce4ui
version=4.10.0
revision=4
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool libtool"
makedepends="gtk+-devel libxfce4util-devel xfconf-devel dbus-glib-devel
 libxml2-devel startup-notification-devel libSM-devel"
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml"
short_desc="Replacement of the old libxfcegui4 library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://xfce.org"
distfiles="http://archive.xfce.org/xfce/4.10/src/$pkgname-$version.tar.bz2"
checksum=a2b9fa288ccb5f16fa13264e507ba3f7b8da0176da259a11239f21538c0ea3e2

pre_configure() {
	libtoolize -f
}

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