summaryrefslogtreecommitdiff
blob: 8fef59774ee5fc408bcae4664bff0378d0928edc (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
41
42
43
44
45
46
47
48
49
50
51
52
# 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.4.1.ebuild,v 1.10 2007/06/07 18:48:03 drac Exp $

inherit xfce44

XFCE_VERSION=4.4.1
xfce44

HOMEPAGE="http://www.xfce.org"
DESCRIPTION="Meta package for Xfce4 desktop, merge this package to install."
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="alsa cups minimal oss xscreensaver"

RDEPEND=">=x11-themes/gtk-engines-xfce-2.4
	>=xfce-base/thunar-${THUNAR_MASTER_VERSION}
	>=xfce-base/xfce-mcs-plugins-${XFCE_MASTER_VERSION}
	>=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION}
	>=xfce-base/xfwm4-${XFCE_MASTER_VERSION}
	>=xfce-base/xfce-utils-${XFCE_MASTER_VERSION}
	>=xfce-base/xfdesktop-${XFCE_MASTER_VERSION}
	>=xfce-base/xfce4-session-${XFCE_MASTER_VERSION}
	>=xfce-extra/xfce4-appfinder-${XFCE_MASTER_VERSION}
	>=xfce-extra/xfce4-icon-theme-${XFCE_MASTER_VERSION}
	alsa? ( >=xfce-extra/xfce4-mixer-${XFCE_MASTER_VERSION} )
	oss? ( >=xfce-extra/xfce4-mixer-${XFCE_MASTER_VERSION} )
	cups? ( >=xfce-base/xfprint-${XFCE_MASTER_VERSION} )
	!minimal? ( >=xfce-base/orage-${XFCE_MASTER_VERSION}
		>=xfce-extra/mousepad-0.2.12
		>=xfce-extra/xfwm4-themes-${XFCE_MASTER_VERSION}
		>=xfce-extra/terminal-0.2.6 )
	xscreensaver? ( >=x11-misc/xscreensaver-5.02 )"
DEPEND="${RDEPEND}"

# hack to avoid exporting function from eclass.
# we need eclass to get _MASTER_VERSION.
src_compile() {
	echo
}

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

pkg_postinst() {
	elog
	elog "Run Xfce4 from your favourite Display Manager by using"
	elog "XSESSION=\"Xfce4\" in /etc/rc.conf"
	elog
}