|
|
# Copyright 1999-2006 Gentoo Foundation | # Copyright 1999-2006 Gentoo Foundation |
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/xfce-base/thunar/thunar-0.5.0_rc2-r3.ebuild,v 1.1 2006/12/28 02:12:43 nichoj Exp $ |
# $Header: $ |
| |
inherit xfce44 versionator | inherit xfce44 versionator |
| |
|
|
>=media-libs/jpeg-6b | >=media-libs/jpeg-6b |
startup-notification? ( >=x11-libs/startup-notification-0.4 ) | startup-notification? ( >=x11-libs/startup-notification-0.4 ) |
pcre? ( >=dev-libs/libpcre-6.0 ) | pcre? ( >=dev-libs/libpcre-6.0 ) |
trash-panel-plugin? ( >=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION} ) |
trash-panel-plugin? ( dbus? ( >=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION} ) ) |
" | " |
| |
DEPEND="${RDEPEND} | DEPEND="${RDEPEND} |
|
|
$(use_enable pcre) \ | $(use_enable pcre) \ |
$(use_enable startup-notification) \ | $(use_enable startup-notification) \ |
$(use_enable thumbnail gnome-thumbnailers) \ | $(use_enable thumbnail gnome-thumbnailers) \ |
$(use_enable trash-panel-plugin tpa-plugin) |
|
" | " |
| |
if use hal; then | if use hal; then |
|
|
else | else |
XFCE_CONFIG="${XFCE_CONFIG} --with-volume-manager=none" | XFCE_CONFIG="${XFCE_CONFIG} --with-volume-manager=none" |
fi | fi |
|
|
|
use trash-panel-plugin && use dbus || XFCE_CONFIG="${XFCE_CONFIG} --disable-tpa-plugin" |
|
|
|
|
|
pkg_setup() { |
|
if use trash-panel-plugin && ! use dbus ; then |
|
ewarn "trash-panel-plugin requires ${PN} with dbus support" |
|
ewarn "Enable dbus use flag and re-emerge this ebuild if you want this feature." |
|
epause 3 |
|
fi |
|
} |