summaryrefslogtreecommitdiff
blob: a6b6587c184e6d04e90d1086819386fe2f9d9586 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfce4/xfce4-4.2.3.2.ebuild,v 1.19 2007/04/06 17:36:24 drac Exp $

inherit versionator

DESCRIPTION="Xfce4 base ebuild"
HOMEPAGE="http://www.xfce.org/"
LICENSE="GPL-2 BSD LGPL-2"
KEYWORDS="mips"
SLOT="0"
IUSE=""

MY_PV=$(get_version_component_range 1-3)

DEPEND=""
RDEPEND="${DEPEND}
	~xfce-base/libxfce4util-${PV}
	~xfce-base/libxfcegui4-${MY_PV}
	~xfce-base/libxfce4mcs-${MY_PV}
	~xfce-base/xfce-mcs-manager-${MY_PV}
	~xfce-base/xfce-mcs-plugins-${MY_PV}
	~xfce-base/xfce4-panel-${MY_PV}
	~xfce-base/xfwm4-${PV}
	~xfce-base/xfce-utils-${MY_PV}
	~xfce-base/xfdesktop-${MY_PV}
	~xfce-base/xfce4-session-${MY_PV}
	~xfce-base/xfprint-${MY_PV}
	~xfce-extra/xfwm4-themes-${MY_PV}
	~xfce-extra/xfce4-appfinder-${MY_PV}
	~xfce-extra/xfce4-icon-theme-${MY_PV}
	~xfce-extra/xfce4-mixer-${MY_PV}"

src_install() {
	dodir /etc/X11/Sessions
	echo startxfce4 > "${D}"/etc/X11/Sessions/Xfce4
	fperms 755 /etc/X11/Sessions/Xfce4
}