# $Id$ PNAME="libxfce4ui" PVER="4.12.1" PBUILD="r1" DESCRIPTION="Unified widgets library for Xfce4." DEPEND=">= x11-libs/libICE-1 >= x11-libs/libSM-1 >= x11-libs/libX11-1.6 >= dev-libs/glib2-2.42 >= x11-libs/gtk2+-2.24 >= xfce-base/libxfce4util-4.12 >= xfce-base/xfconf-4.12 >= x11-libs/startup-notification-0.12" SDEPEND=">= dev-util/pkgconfig-0.25 >= sys-dev/gettext-0.18 >= dev-util/intltool-0.50 >= dev-lang/perl-5.20" sminclude xfce SRC_URI=( ${SRC_URI[*]} mirror://${PNAME}/${PNAME}-4.10.0-print-screenshooter.patch mirror://${PNAME}/${PNAME}-4.10.0-hotkey-taskmanager.patch ) UP2DATE="updatecmd_xfce ${PNAME}" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # adds an alias for the printbutton for xfce4-screenshooter mpatch ${PNAME}-4.10.0-print-screenshooter.patch || die # start the taskmanager with strg+esc mpatch ${PNAME}-4.10.0-hotkey-taskmanager.patch || die } src_compile() { cd ${SRCDIR} xfce_configure \ --enable-startup-notification \ --disable-gladeui \ --with-vendor-info='Magellan-Linux' \ || die mmake || die } preinstall() { if [[ ! -z $(magequery -n xfce-utils) ]] then echo -e ${COLRED} echo -e "Error: xfce-base/xfce-utils is installed!!" echo -e "xfce-utils is now provided by libxfce4ui, xfce4-session and xfce4-appfinder." echo -e "Please uninstall xfce-base/xfce-utils first!" echo -e ${COLDEFAULT} die "xfce-base/xfce-utils found!" fi }