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' # Template file for 'libxfce4ui'
pkgname=libxfce4ui pkgname=libxfce4ui
version=4.10.0 version=4.10.0
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static" configure_args="--disable-static"
hostmakedepends="pkg-config intltool" hostmakedepends="pkg-config intltool"
makedepends="gtk+-devel libxfce4util-devel xfconf-devel dbus-glib-devel 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" short_desc="Replacement of the old libxfcegui4 library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1" 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 This is libxfce4ui, the replacement of the old libxfcegui4 library. It is used
to share commonly used Xfce widgets amoung the Xfce applications." to share commonly used Xfce widgets amoung the Xfce applications."
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libtool"
pre_configure() {
libtoolize -f
}
fi
libxfce4ui-devel_package() { libxfce4ui-devel_package() {
depends="gtk+-devel libxfce4util-devel xfconf-devel libxfce4ui>=${version}" depends="gtk+-devel libxfce4util-devel xfconf-devel libxfce4ui>=${version}"
short_desc+=" -- development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc vmove usr/share/gtk-doc
} }
} }
@ -30,7 +38,6 @@ libxfce4ui-devel_package() {
libxfce4ui_package() { libxfce4ui_package() {
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml" conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml"
pkg_install() { pkg_install() {
vmove etc vmove all
vmove usr
} }
} }