summaryrefslogtreecommitdiff
blob: 53cedf480a0d0f6b39359812032152fcf0847020 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfprint/xfprint-4.3.99.2.ebuild,v 1.2 2007/01/06 18:18:29 nichoj Exp $

inherit xfce44 gnome2-utils

xfce44_beta

DESCRIPTION="Xfce 4 print manager panel plugin"
LICENSE="BSD"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

IUSE="debug lpr cups"

RDEPEND="cups? ( net-print/cups )
	!cups? ( lpr? ( net-print/lprng ) )
	>=dev-libs/glib-2.2
	>=x11-libs/gtk+-2.2
	~xfce-base/libxfce4mcs-${PV}
	~xfce-base/libxfce4util-${PV}
	~xfce-base/libxfcegui4-${PV}
	dev-libs/libgcrypt
	dev-libs/libgpg-error
	media-libs/libpng
	net-libs/gnutls
	app-text/a2ps"
DEPEND="${RDEPEND}
	~xfce-base/xfce-mcs-manager-${PV}"

XFCE_CONFIG="$(use_enable cups)"

if ! use cups; then
	XFCE_CONFIG="${XFCE_CONFIG} $(use_enable lpr bsdlpr)"
fi

xfce44_core_package

pkg_postinst() {
	gnome2_icon_cache_update
}

pkg_postrm() {
	gnome2_icon_cache_update
}