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

Collapse All | Expand All

(-)inkscape.orig/inkscape-0.48.2.ebuild (-2 / +13 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.48.2.ebuild,v 1.10 2011/10/27 06:31:27 tetromino Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.48.2.ebuild,v 1.10 2011/10/27 06:31:27 tetromino Exp $
4
4
5
EAPI=4
5
EAPI=4
6
inherit eutils flag-o-matic autotools gnome2
6
PYTHON_DEPEND="2"
7
PYTHON_USE_WITH=xml
8
inherit eutils flag-o-matic autotools gnome2 python
7
9
8
MY_P="${P/_/}"
10
MY_P="${P/_/}"
9
S="${WORKDIR}/${MY_P}"
11
S="${WORKDIR}/${MY_P}"
Lines 40-46 Link Here
40
	x11-libs/libXft
42
	x11-libs/libXft
41
	>=x11-libs/gtk+-2.10.7:2
43
	>=x11-libs/gtk+-2.10.7:2
42
	>=x11-libs/pango-1.4.0
44
	>=x11-libs/pango-1.4.0
43
	|| ( dev-lang/python[xml] dev-python/pyxml )
44
	gnome? ( >=gnome-base/gnome-vfs-2.0 )
45
	gnome? ( >=gnome-base/gnome-vfs-2.0 )
45
	lcms? ( media-libs/lcms:0 )
46
	lcms? ( media-libs/lcms:0 )
46
	spell? (
47
	spell? (
Lines 68-73 Link Here
68
	>=dev-util/intltool-0.29"
69
	>=dev-util/intltool-0.29"
69
70
70
pkg_setup() {
71
pkg_setup() {
72
	python_set_active_version 2
73
	python_pkg_setup
71
74
72
	G2CONF="${G2CONF} --without-perl"
75
	G2CONF="${G2CONF} --without-perl"
73
	G2CONF="${G2CONF} --enable-poppler-cairo"
76
	G2CONF="${G2CONF} --enable-poppler-cairo"
Lines 95-97 Link Here
95
	append-flags -fno-strict-aliasing
98
	append-flags -fno-strict-aliasing
96
	gnome2_src_configure
99
	gnome2_src_configure
97
}
100
}
101
102
pkg_postint() {
103
	python_mod_optimize  usr/share/"${PN}"-extensions
104
}
105
106
pkg_postrm() {
107
	python_mod_cleanup  usr/share/"${PN}"-extensions
108
}

Return to bug 313503