From d7b962e952bc2eb5e9fa652bd785303ecb14a0fa Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 29 Aug 2013 22:17:29 +0200 Subject: [PATCH] libxfce4ui: re-enable session management; cross build support. --- srcpkgs/libxfce4ui/template | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/srcpkgs/libxfce4ui/template b/srcpkgs/libxfce4ui/template index 00e7a4e49c..169d84aebe 100644 --- a/srcpkgs/libxfce4ui/template +++ b/srcpkgs/libxfce4ui/template @@ -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 " 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 } }