void-packages/srcpkgs/libxfce4ui/template

43 lines
1.2 KiB
Text

# Template file for 'libxfce4ui'
pkgname=libxfce4ui
version=4.10.0
revision=3
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool"
makedepends="gtk+-devel libxfce4util-devel xfconf-devel dbus-glib-devel
libxml2-devel startup-notification-devel libSM-devel"
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.se.xfce.org/xfce/4.10/src/$pkgname-$version.tar.bz2"
checksum=a2b9fa288ccb5f16fa13264e507ba3f7b8da0176da259a11239f21538c0ea3e2
long_desc="
This is libxfce4ui, the replacement of the old libxfcegui4 library. It is used
to share commonly used Xfce widgets amoung the Xfce applications."
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libtool"
pre_configure() {
libtoolize -f
}
fi
libxfce4ui-devel_package() {
depends="gtk+-devel libxfce4util-devel xfconf-devel libxfce4ui>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}
libxfce4ui_package() {
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml"
pkg_install() {
vmove all
}
}