| 1 | # Copyright 1999-2010 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/x11-libs/cairo/cairo-9999.ebuild,v 1.5 2010/09/09 10:41:03 scarabeus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v 1.6 2010/09/09 19:37:28 cardoe Exp $ |
| 4 | |
4 | |
| 5 | EAPI=3 |
5 | EAPI=3 |
| 6 | |
6 | |
| 7 | EGIT_REPO_URI="git://anongit.freedesktop.org/git/cairo" |
7 | EGIT_REPO_URI="git://anongit.freedesktop.org/git/cairo" |
| 8 | [[ ${PV} == *9999 ]] && GIT_ECLASS="git" |
8 | [[ ${PV} == *9999 ]] && GIT_ECLASS="git" |
| … | |
… | |
| 14 | [[ ${PV} == *9999 ]] || SRC_URI="http://cairographics.org/releases/${P}.tar.gz" |
14 | [[ ${PV} == *9999 ]] || SRC_URI="http://cairographics.org/releases/${P}.tar.gz" |
| 15 | |
15 | |
| 16 | LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
16 | LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
| 17 | SLOT="0" |
17 | SLOT="0" |
| 18 | KEYWORDS="~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" |
18 | KEYWORDS="~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" |
| 19 | IUSE="X aqua debug directfb doc drm gallium opengl openvg qt static-libs +svg xcb" |
19 | IUSE="X aqua debug directfb doc drm gallium opengl openvg qt4 static-libs +svg xcb" |
| 20 | |
20 | |
| 21 | # Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it |
21 | # Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it |
| 22 | RESTRICT="test" |
22 | RESTRICT="test" |
| 23 | |
23 | |
| 24 | RDEPEND="media-libs/fontconfig |
24 | RDEPEND="media-libs/fontconfig |
| … | |
… | |
| 26 | media-libs/libpng:0 |
26 | media-libs/libpng:0 |
| 27 | sys-libs/zlib |
27 | sys-libs/zlib |
| 28 | >=x11-libs/pixman-0.18.4 |
28 | >=x11-libs/pixman-0.18.4 |
| 29 | directfb? ( dev-libs/DirectFB ) |
29 | directfb? ( dev-libs/DirectFB ) |
| 30 | opengl? ( virtual/opengl ) |
30 | opengl? ( virtual/opengl ) |
| 31 | qt? ( x11-libs/qt-gui ) |
31 | qt4? ( >=x11-libs/qt-gui-4.4:4 ) |
| 32 | svg? ( dev-libs/libxml2 ) |
32 | svg? ( dev-libs/libxml2 ) |
| 33 | X? ( |
33 | X? ( |
| 34 | >=x11-libs/libXrender-0.6 |
34 | >=x11-libs/libXrender-0.6 |
| 35 | x11-libs/libXext |
35 | x11-libs/libXext |
| 36 | x11-libs/libX11 |
36 | x11-libs/libX11 |
| … | |
… | |
| 122 | $(use_enable debug test-surfaces) \ |
122 | $(use_enable debug test-surfaces) \ |
| 123 | $(use_enable directfb) \ |
123 | $(use_enable directfb) \ |
| 124 | $(use_enable doc gtk-doc) \ |
124 | $(use_enable doc gtk-doc) \ |
| 125 | $(use_enable openvg vg) \ |
125 | $(use_enable openvg vg) \ |
| 126 | $(use_enable opengl gl) \ |
126 | $(use_enable opengl gl) \ |
| 127 | $(use_enable qt) \ |
127 | $(use_enable qt4 qt) \ |
| 128 | $(use_enable static-libs static) \ |
128 | $(use_enable static-libs static) \ |
| 129 | $(use_enable svg) \ |
129 | $(use_enable svg) \ |
| 130 | $(use_enable xcb) \ |
130 | $(use_enable xcb) \ |
| 131 | $(use_enable xcb xcb-shm) \ |
131 | $(use_enable xcb xcb-shm) \ |
| 132 | --enable-ft \ |
132 | --enable-ft \ |