/[gentoo-x86]/x11-libs/gtkmathview/gtkmathview-0.8.0.ebuild
Gentoo

Contents of /x11-libs/gtkmathview/gtkmathview-0.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Wed Dec 19 16:46:43 2012 UTC (18 months, 2 weeks ago) by tetromino
Branch: MAIN
Changes since 1.14: +3 -2 lines
Depend on pangox-compat if using pango-1.32.

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkmathview/gtkmathview-0.8.0.ebuild,v 1.14 2012/05/05 03:52:29 jdhore Exp $
4
5 EAPI="3"
6
7 inherit eutils
8
9 DESCRIPTION="Rendering engine for MathML documents"
10 HOMEPAGE="http://helm.cs.unibo.it/mml-widget/"
11 SRC_URI="http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz"
12
13 LICENSE="LGPL-3"
14
15 SLOT="0"
16 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
17 IUSE="gtk mathml svg t1lib"
18
19 RDEPEND=">=dev-libs/glib-2.2.1:2
20 >=dev-libs/popt-1.7
21 >=dev-libs/libxml2-2.6.7:2
22 gtk? ( >=x11-libs/gtk+-2.2.1:2
23 >=media-libs/t1lib-5:5
24 >=dev-libs/gmetadom-0.1.8
25 x11-libs/pango
26 || ( x11-libs/pangox-compat <x11-libs/pango-1.31[X] ) )
27 mathml? ( media-fonts/texcm-ttf )
28 t1lib? ( >=media-libs/t1lib-5:5 )"
29 DEPEND="${RDEPEND}
30 virtual/pkgconfig"
31
32 src_prepare() {
33 epatch "${FILESDIR}"/${P}-gcc43.patch \
34 "${FILESDIR}"/${P}-gcc44.patch \
35 "${FILESDIR}"/${P}-cond-t1.patch
36
37 # Fix building against libxml2[icu], bug #356095
38 epatch "${FILESDIR}"/${P}-fix-template.patch
39 }
40
41 src_configure() {
42 # --disable-popt will build only the library and not the frontend
43 # TFM is needed for SVG, default value is 2
44 econf $(use_enable gtk) $(use_enable gtk gmetadom) \
45 $(use_enable svg) \
46 $(use_with t1lib) \
47 --enable-popt \
48 --enable-libxml2 \
49 --enable-libxml2-reader \
50 --enable-ps \
51 --enable-tfm=2 \
52 --enable-builder-cache \
53 --enable-breaks \
54 --enable-boxml
55 }
56
57 src_install() {
58 emake install DESTDIR="${D}" || die "install failed"
59 dodoc ANNOUNCEMENT AUTHORS BUGS CONTRIBUTORS ChangeLog HISTORY NEWS TODO \
60 || die "dodoc failed"
61 }

  ViewVC Help
Powered by ViewVC 1.1.20