# Distributed under the terms of the GNU General Public License v2 inherit xfce4 DESCRIPTION="Modern file manager for Xfce aiming to be easy-to-use and fast" HOMEPAGE="http://thunar.xfce.org/" SRC_URI="http://thunar.xfce.org/download/releases/alpha2/Thunar-0.2.2alpha2-r20235.tar.bz2" KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" S=${WORKDIR}/Thunar-0.2.2alpha2-r20235 IUSE="dbus hal startup-notification thumbnail" RDEPEND=">=x11-libs/gtk+-2.6 >=xfce-base/libxfce4util-4.2.0 >=xfce-extra/exo-0.3.1.4_alpha2 dbus? ( >=sys-apps/dbus-0.34 ) hal? ( >=sys-apps/hal-0.5 ) startup-notification? ( x11-libs/startup-notification ) thumbnail? ( >=gnome-base/gconf-2.4.0)" src_compile() { local myconf if use hal; then myconf="${myconf} --with-volume-manager=hal" else myconf="${myconf} --with-volume-manager=none" fi econf \ ${myconf} \ $(use_enable dbus) \ $(use_enable startup-notification) \ $(use_enable thumbnail gnome-thumbnailers) \ || die "econf failed" emake || die "emake failed" }