summaryrefslogtreecommitdiff
blob: 2504c0e470919614cb02b43248a853cf8e9060f5 (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
53
54
55
56
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfce-mcs-plugins/xfce-mcs-plugins-4.3.99.2-r3.ebuild,v 1.1 2006/12/10 19:58:32 nichoj Exp $

inherit gnome2 xfce44

xfce44_beta

DESCRIPTION="Xfce4 mcs plugins"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

RDEPEND="|| ( ( x11-libs/libX11
	x11-libs/libXcursor
	x11-libs/libXrandr
	x11-libs/libXrender
	x11-libs/libICE
	x11-libs/libSM
	x11-libs/libXext
	x11-libs/libXxf86misc
	x11-libs/libXxf86vm )
	virtual/x11 )
	>=dev-libs/glib-2
	>=x11-libs/gtk+-2.6
	~xfce-base/libxfce4mcs-${PV}
	~xfce-base/libxfce4util-${PV}
	~xfce-base/libxfcegui4-${PV}
	~xfce-base/xfce-mcs-manager-${PV}"
# need xfce4-dev-tools, since we patch automake and need regeneration
DEPEND="${RDEPEND}
	|| ( ( x11-proto/xf86miscproto
	x11-proto/xf86vidmodeproto
	x11-proto/xproto )
	virtual/x11 )
	xfce-extra/xfce4-dev-tools"

XFCE_CONFIG="--enable-xf86misc --enable-xkb --enable-randr --enable-xf86vm"

xfce44_core_package

src_unpack() {
	unpack ${A}
	cd ${S}
	# don't install xfce-filemanager.png, which collides with xfce4-session
	epatch ${FILESDIR}/${P}-icon.patch
	# regenerate stuff, but don't run configure yet
	NOCONFIGURE="true" xdt-autogen
}


pkg_postinst() {
	gnome2_icon_cache_update
}

pkg_postrm() {
	gnome2_icon_cache_update
}