libxfce4ui: re-enable session management; cross build support.

This commit is contained in:
Juan RP 2013-08-29 22:17:29 +02:00
parent 5d9a8fc7e0
commit d7b962e952

View file

@ -1,12 +1,12 @@
# Template file for 'libxfce4ui'
pkgname=libxfce4ui
version=4.10.0
revision=2
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"
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"
@ -17,12 +17,20 @@ 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"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}
@ -30,7 +38,6 @@ libxfce4ui-devel_package() {
libxfce4ui_package() {
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml"
pkg_install() {
vmove etc
vmove usr
vmove all
}
}