/[gentoo-x86]/media-gfx/inkscape/inkscape-0.48.2.ebuild
Gentoo

Contents of /media-gfx/inkscape/inkscape-0.48.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (hide annotations) (download)
Wed Aug 8 16:31:42 2012 UTC (2 years, 2 months ago) by dilfridge
Branch: MAIN
Changes since 1.13: +2 -2 lines
xpdf-headers useflag for poppler is going away

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 jdhore 1.12 # Copyright 1999-2012 Gentoo Foundation
2 radhermit 1.1 # Distributed under the terms of the GNU General Public License v2
3 dilfridge 1.14 # $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.48.2.ebuild,v 1.13 2012/06/16 16:30:05 ssuominen Exp $
4 radhermit 1.1
5     EAPI=4
6     inherit eutils flag-o-matic autotools gnome2
7    
8     MY_P="${P/_/}"
9     S="${WORKDIR}/${MY_P}"
10     SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
11    
12     DESCRIPTION="A SVG based generic vector-drawing program"
13     HOMEPAGE="http://www.inkscape.org/"
14    
15     LICENSE="GPL-2 LGPL-2.1"
16     SLOT="0"
17 ssuominen 1.9 KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
18 ssuominen 1.13 IUSE="dia gnome postscript inkjar lcms nls spell wmf"
19 radhermit 1.1
20     RESTRICT="test"
21    
22     COMMON_DEPEND="
23 dilfridge 1.14 >=app-text/poppler-0.12.3-r3[cairo,xpdf-headers(+)]
24 radhermit 1.1 dev-cpp/glibmm
25     >=dev-cpp/gtkmm-2.18.0:2.4
26     >=dev-libs/boehm-gc-6.4
27     >=dev-libs/glib-2.6.5
28     >=dev-libs/libsigc++-2.0.12
29     >=dev-libs/libxml2-2.6.20
30     >=dev-libs/libxslt-1.0.15
31     dev-libs/popt
32     dev-python/lxml
33 flameeyes 1.11 media-gfx/imagemagick[cxx]
34 radhermit 1.1 media-libs/fontconfig
35     media-libs/freetype:2
36     >=media-libs/libpng-1.2
37     app-text/libwpd:0.9
38 scarabeus 1.4 app-text/libwpg:0.2
39 radhermit 1.1 sci-libs/gsl
40     x11-libs/libXft
41     >=x11-libs/gtk+-2.10.7:2
42     >=x11-libs/pango-1.4.0
43     || ( dev-lang/python[xml] dev-python/pyxml )
44     gnome? ( >=gnome-base/gnome-vfs-2.0 )
45     lcms? ( media-libs/lcms:0 )
46     spell? (
47     app-text/aspell
48 tetromino 1.10 app-text/gtkspell:2
49 radhermit 1.1 )"
50    
51     # These only use executables provided by these packages
52     # See share/extensions for more details. inkscape can tell you to
53     # install these so we could of course just not depend on those and rely
54     # on that.
55     RDEPEND="
56     ${COMMON_DEPEND}
57     dev-python/numpy
58     media-gfx/uniconvertor
59     dia? ( app-office/dia )
60 ssuominen 1.13 postscript? ( app-text/ghostscript-gpl )
61 radhermit 1.1 wmf? ( media-libs/libwmf )"
62    
63     DEPEND="${COMMON_DEPEND}
64     dev-libs/boost
65     sys-devel/gettext
66 jdhore 1.12 virtual/pkgconfig
67 radhermit 1.1 x11-libs/libX11
68     >=dev-util/intltool-0.29"
69    
70     pkg_setup() {
71     G2CONF="${G2CONF} --without-perl"
72     G2CONF="${G2CONF} --enable-poppler-cairo"
73     G2CONF="${G2CONF} --with-xft"
74     G2CONF="${G2CONF} $(use_with gnome gnome-vfs)"
75     G2CONF="${G2CONF} $(use_with inkjar)"
76     G2CONF="${G2CONF} $(use_enable lcms)"
77     G2CONF="${G2CONF} $(use_enable nls)"
78     G2CONF="${G2CONF} $(use_with spell aspell)"
79     G2CONF="${G2CONF} $(use_with spell gtkspell)"
80     DOCS="AUTHORS ChangeLog NEWS README*"
81     }
82    
83     src_prepare() {
84     gnome2_src_prepare
85     epatch "${FILESDIR}"/${PN}-0.48.0-spell.patch \
86     "${FILESDIR}"/${PN}-0.48.1-libpng15.patch \
87 radhermit 1.2 "${FILESDIR}"/${PN}-0.48.1-lcms.patch \
88     "${FILESDIR}"/${P}-libwpg.patch
89 radhermit 1.1 eautoreconf
90     }
91    
92     src_configure() {
93     # aliasing unsafe wrt #310393
94     append-flags -fno-strict-aliasing
95     gnome2_src_configure
96     }

  ViewVC Help
Powered by ViewVC 1.1.20