summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lxde-base/lxsession/lxsession-0.4.5.ebuild')
-rw-r--r--lxde-base/lxsession/lxsession-0.4.5.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/lxde-base/lxsession/lxsession-0.4.5.ebuild b/lxde-base/lxsession/lxsession-0.4.5.ebuild
index 18ca96abde4e..69ce8f4fb676 100644
--- a/lxde-base/lxsession/lxsession-0.4.5.ebuild
+++ b/lxde-base/lxsession/lxsession-0.4.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxsession/lxsession-0.4.5.ebuild,v 1.1 2011/01/24 12:49:42 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxsession/lxsession-0.4.5.ebuild,v 1.2 2011/01/26 20:13:12 hwoarang Exp $
EAPI="2"
@@ -11,17 +11,24 @@ SRC_URI="mirror://sourceforge/lxde/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
SLOT="0"
-IUSE=""
+IUSE="dbus nls udev"
RDEPEND="dev-libs/glib:2
x11-libs/gtk+:2
sys-apps/dbus
>=lxde-base/lxde-common-0.5.0
- sys-power/upower"
+ udev? ( sys-power/upower )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/gettext"
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable dbus) \
+ $(use_enable nls)
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README || die "dodoc failed"