summaryrefslogtreecommitdiff
blob: fd553d81fbd79ddc14e7f82e2614f2830a7bcd0a (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-extra/terminal/terminal-0.2.5.1_beta1.ebuild,v 1.1 2006/04/20 05:56:37 dostrow Exp $

inherit gnome2 xfce44 versionator

xfce44_beta

MY_PN="Terminal"
MY_PV="$(replace_version_separator 4 '')"
MY_P="${MY_PN}-${MY_PV}"
S="${WORKDIR}/${MY_P}"

DESCRIPTION="Terminal for Xfce 4"
SRC_URI="http://www.xfce.org/archive/xfce-${XFCE_MASTER_VERSION}/src/${MY_P}${COMPRESS}"
HOMEPAGE="http://www.xfce.org"
LICENSE="LGPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

IUSE="dbus startup-notification xslt"

RDEPEND=">=dev-libs/glib-2
	>=x11-libs/gtk+-2.6
	media-libs/fontconfig
	media-libs/freetype
	media-libs/libpng
	dbus? ( >=sys-apps/dbus-0.34 )
	|| ( ( x11-libs/libICE
	x11-libs/libSM
	x11-libs/libX11
	x11-libs/libXft
	x11-libs/libXrender )
	virtual/x11 )
	startup-notification? ( >=x11-libs/startup-notification-0.5 )
	x11-libs/vte
	xslt? ( dev-libs/libxslt )
	>=xfce-base/libxfce4util-4.2.2
	>=xfce-extra/exo-0.3.1.6_beta1"

XFCE_CONFIG="$(use_enable startup-notification) $(use_enable dbus)"

if use xslt; then
	XFCE_CONFIG="${XFCE_CONFIG} --enable-xsltproc"
fi

pkg_postinst() {
	gnome2_icon_cache_update
}

pkg_postrm() {
	gnome2_icon_cache_update
}