blob: 8f4f6f3beca2d76e3a6a32310956d680a5120b06 (
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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfprint/xfprint-4.4.2-r1.ebuild,v 1.8 2008/03/26 17:17:14 nixnut Exp $
inherit eutils xfce44
XFCE_VERSION=4.4.2
xfce44
DESCRIPTION="Frontend for printing, management and job queue."
HOMEPAGE="http://www.xfce.org/projects/xfprint"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="cups debug doc"
RDEPEND="cups? ( net-print/cups )
!cups? ( net-print/lprng )
>=dev-libs/glib-2.6
>=x11-libs/gtk+-2.6
>=xfce-base/libxfce4mcs-${XFCE_MASTER_VERSION}
>=xfce-base/libxfce4util-${XFCE_MASTER_VERSION}
>=xfce-base/libxfcegui4-${XFCE_MASTER_VERSION}
>=xfce-base/xfce-mcs-manager-${XFCE_MASTER_VERSION}
app-text/a2ps"
DEPEND="${RDEPEND}
dev-util/intltool
doc? ( dev-util/gtk-doc )"
pkg_setup() {
if use cups; then
XFCE_CONFIG="${XFCE_CONFIG} --enable-bsdlpr --enable-cups"
else
XFCE_CONFIG="${XFCE_CONFIG} --enable-bsdlpr"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-no-default-printer.patch
}
DOCS="AUTHORS ChangeLog NEWS README TODO"
xfce44_core_package
|