blob: afed36895224978a674e36d20e444ee6d9dc3cc7 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-print/xfprint/xfprint-4.6.1.ebuild,v 1.6 2009/06/15 00:08:43 jer Exp $
EAPI=1
inherit xfce4
xfce4_core
DESCRIPTION="Frontend for printing, management and job queue."
HOMEPAGE="http://www.xfce.org/projects/xfprint"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
IUSE="+cups debug"
RDEPEND="app-text/a2ps
>=dev-libs/glib-2.6:2
>=x11-libs/gtk+-2.6:2
>=xfce-base/libxfce4util-${XFCE_VERSION}
>=xfce-base/libxfcegui4-${XFCE_VERSION}
>=xfce-base/xfconf-${XFCE_VERSION}
cups? ( net-print/cups )
!cups? ( net-print/lprng )"
DEPEND="${RDEPEND}
dev-util/intltool"
pkg_setup() {
# - Cups allows you to have both bsdlpr and cups.
# - Enabling gtk-doc is no use, the documentation
# has been prebuilt.
XFCE_CONFIG+=" --enable-bsdlpr
--disable-gtk-doc $(use_enable cups)"
DOCS="AUTHORS ChangeLog NEWS README TODO"
}
src_unpack() {
xfce4_src_unpack
sed -i -e "/24x24/d" "${S}"/icons/Makefile.in \
|| die "sed failed"
}
|