summaryrefslogtreecommitdiff
blob: 9987911204ee967743a1050f6094134e7a9b8b93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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.5 2011/06/11 21:19:00 maekke Exp $

EAPI="2"

DESCRIPTION="LXDE session manager (lite version)"
HOMEPAGE="http://lxde.sf.net/"
SRC_URI="mirror://sourceforge/lxde/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 arm ~ppc ~x86"
SLOT="0"
IUSE="nls udev"

COMMON_DEPEND="dev-libs/glib:2
	x11-libs/gtk+:2
	>=lxde-base/lxde-common-0.5.0
	x11-libs/libX11
	udev? ( >=sys-apps/dbus-1.4.1 )"
RDEPEND="${COMMON_DEPEND}
	udev? ( >=sys-power/upower-0.9.5 )"
DEPEND="${COMMON_DEPEND}
	dev-util/intltool
	dev-util/pkgconfig
	sys-devel/gettext
	x11-proto/xproto"

src_configure() {
	econf \
		--disable-dependency-tracking \
		$(use_enable udev dbus) \
		$(use_enable nls) \
		${myconf}
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc AUTHORS ChangeLog README || die
}