Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 297337 | Differences between
and this patch

Collapse All | Expand All

(-)gutenprint-5.1.7.ebuild.orig (-17 / +14 lines)
Lines 1-15 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.1.7.ebuild,v 1.5 2009/12/26 17:43:20 pva Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.1.7.ebuild,v 1.5 2009/12/26 17:43:20 pva Exp $
4
4
5
inherit flag-o-matic eutils multilib
5
inherit flag-o-matic eutils multilib
6
6
7
IUSE="cups foomaticdb gimp gtk readline ppds"
8
9
DESCRIPTION="Ghostscript and cups printer drivers"
7
DESCRIPTION="Ghostscript and cups printer drivers"
10
HOMEPAGE="http://gutenprint.sourceforge.net"
8
HOMEPAGE="http://gutenprint.sourceforge.net"
11
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
12
SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2"
9
SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2"
10
11
LICENSE="GPL-2"
12
SLOT="0"
13
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
14
IUSE="cups foomaticdb gimp gtk readline ppds"
13
RESTRICT="test"
15
RESTRICT="test"
14
16
15
RDEPEND="cups? ( >=net-print/cups-1.1.14 )
17
RDEPEND="cups? ( >=net-print/cups-1.1.14 )
Lines 22-30 Link Here
22
DEPEND="${RDEPEND}
24
DEPEND="${RDEPEND}
23
	gtk? ( dev-util/pkgconfig )"
25
	gtk? ( dev-util/pkgconfig )"
24
26
25
LICENSE="GPL-2"
26
SLOT="0"
27
28
append-flags -fno-inline-functions
27
append-flags -fno-inline-functions
29
28
30
src_unpack() {
29
src_unpack() {
Lines 56-83 Link Here
56
55
57
	econf \
56
	econf \
58
		--enable-test \
57
		--enable-test \
59
		--enable-epson \
60
		--with-ghostscript \
58
		--with-ghostscript \
61
		--with-user-guide \
59
		--enable-samples \
62
		--with-samples \
60
		--enable-escputil \
63
		--with-escputil \
64
		--disable-translated-cups-ppds \
61
		--disable-translated-cups-ppds \
65
		--enable-nls \
62
		--enable-nls \
66
		$(use_with readline) \
63
		$(use_with readline) \
67
		$(use_with gimp gimp2) \
64
		$(use_with gimp gimp2) \
68
		$(use_with gimp gimp2-as-gutenprint) \
65
		$(use_with gimp gimp2-as-gutenprint) \
69
		$(use_with cups) \
66
		$(use_with cups) \
70
		$myconf || die "econf failed"
67
		$myconf || die
71
68
72
	emake || die "emake failed"
69
	emake || die
73
}
70
}
74
71
75
src_install () {
72
src_install () {
76
	emake DESTDIR="${D}" install || die "emake install failed"
73
	emake DESTDIR="${D}" install || die
77
74
78
	dodoc AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt}
75
	dodoc \
79
	dohtml doc/FAQ.html
76
		AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} || die
80
	dohtml -r doc/users_guide/html doc/developer/developer-html
77
	dohtml doc/FAQ.html || die
81
	rm -fR "${D}"/usr/share/gutenprint/doc
78
	rm -fR "${D}"/usr/share/gutenprint/doc
82
	if ! use gtk && ! use gimp; then
79
	if ! use gtk && ! use gimp; then
83
		rm -f "${D}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc
80
		rm -f "${D}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc

Return to bug 297337