/[gentoo-x86]/x11-libs/cairo/cairo-1.8.10.ebuild
Gentoo

Diff of /x11-libs/cairo/cairo-1.8.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.10
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2011 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/x11-libs/cairo/Attic/cairo-1.8.10.ebuild,v 1.9 2010/09/13 13:19:51 josejx Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/Attic/cairo-1.8.10.ebuild,v 1.10 2011/03/07 17:22:33 ssuominen Exp $
4 4
5EAPI=2 5EAPI=2
6 6
7inherit eutils flag-o-matic autotools 7inherit eutils flag-o-matic autotools
8 8
12 mirror://gentoo/${PN}-1.8-lcd_filter.patch.bz2" 12 mirror://gentoo/${PN}-1.8-lcd_filter.patch.bz2"
13 13
14LICENSE="|| ( LGPL-2.1 MPL-1.1 )" 14LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
15SLOT="0" 15SLOT="0"
16KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" 16KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
17IUSE="aqua cleartype debug directfb doc glitz lcdfilter opengl +svg X xcb" 17IUSE="aqua cleartype debug directfb doc lcdfilter opengl +svg X xcb"
18 18
19# Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it 19# Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it
20RESTRICT="test" 20RESTRICT="test"
21 21
22RDEPEND="media-libs/fontconfig 22RDEPEND="media-libs/fontconfig
23 >=media-libs/freetype-2.1.9 23 >=media-libs/freetype-2.1.9
24 sys-libs/zlib 24 sys-libs/zlib
25 >=media-libs/libpng-1.2.43-r2:0 25 >=media-libs/libpng-1.2.43-r2:0
26 >=x11-libs/pixman-0.12.0 26 >=x11-libs/pixman-0.12.0
27 directfb? ( >=dev-libs/DirectFB-0.9.24 ) 27 directfb? ( >=dev-libs/DirectFB-0.9.24 )
28 glitz? ( >=media-libs/glitz-0.5.1 )
29 svg? ( dev-libs/libxml2 ) 28 svg? ( dev-libs/libxml2 )
30 X? ( >=x11-libs/libXrender-0.6 29 X? ( >=x11-libs/libXrender-0.6
31 x11-libs/libXext 30 x11-libs/libXext
32 x11-libs/libX11 31 x11-libs/libX11
33 x11-libs/libXft ) 32 x11-libs/libXft )
75 [[ ${CHOST} == *-solaris* ]] && append-flags -D_POSIX_PTHREAD_SEMANTICS 74 [[ ${CHOST} == *-solaris* ]] && append-flags -D_POSIX_PTHREAD_SEMANTICS
76 75
77 #gets rid of fbmmx.c inlining warnings 76 #gets rid of fbmmx.c inlining warnings
78 append-flags -finline-limit=1200 77 append-flags -finline-limit=1200
79 78
80 if use glitz && use opengl; then
81 export glitz_LIBS=$(pkg-config --libs glitz-glx)
82 fi
83
84 econf $(use_enable X xlib) $(use_enable doc gtk-doc) \ 79 econf $(use_enable X xlib) $(use_enable doc gtk-doc) \
85 $(use_enable directfb) $(use_enable xcb) \ 80 $(use_enable directfb) $(use_enable xcb) \
86 $(use_enable svg) $(use_enable glitz) $(use_enable X xlib-xrender) \ 81 $(use_enable svg) --disable-glitz $(use_enable X xlib-xrender) \
87 $(use_enable debug test-surfaces) --enable-pdf --enable-png \ 82 $(use_enable debug test-surfaces) --enable-pdf --enable-png \
88 --enable-ft --enable-ps \ 83 --enable-ft --enable-ps \
89 $(use_enable aqua quartz) $(use_enable aqua quartz-image) \ 84 $(use_enable aqua quartz) $(use_enable aqua quartz-image) \
90 || die "configure failed" 85 || die "configure failed"
91} 86}

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20