blob: f983bd5f25188dab0a47f1d8de17db4a34c9f046 (
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
|
# Copyright 1999-2010 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-r1.ebuild,v 1.6 2010/07/23 08:03:22 maekke Exp $
EAUTORECONF=yes
EAPI=2
inherit xfconf
DESCRIPTION="Frontend for printing, management and job queue."
HOMEPAGE="http://www.xfce.org/projects/xfprint"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
IUSE="cups debug"
RDEPEND="app-text/a2ps
>=x11-libs/gtk+-2.10:2
>=xfce-base/libxfce4util-4.6
>=xfce-base/libxfcegui4-4.6
>=xfce-base/xfconf-4.6
cups? ( net-print/cups )
!cups? ( net-print/lprng )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/intltool"
pkg_setup() {
XFCONF="--disable-dependency-tracking
--enable-bsdlpr
$(use_enable cups)
$(xfconf_use_debug)"
DOCS="AUTHORS ChangeLog NEWS README TODO"
PATCHES=( "${FILESDIR}/${P}-xfconf_channel_fix.diff" )
}
src_prepare() {
sed -i -e "/24x24/d" "${S}"/icons/Makefile.am || die "sed failed"
xfconf_src_prepare
}
|