| 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.1 2010/09/08 19:58:39 scarabeus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v 1.2 2010/09/08 20:01:52 scarabeus 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" |
| … | |
… | |
| 91 | append-flags -finline-limit=1200 |
91 | append-flags -finline-limit=1200 |
| 92 | |
92 | |
| 93 | if use X; then |
93 | if use X; then |
| 94 | myopts+=" |
94 | myopts+=" |
| 95 | $(use_enable drm) |
95 | $(use_enable drm) |
| 96 | $(use_enable xcb xcb-shm) |
96 | $(use_enable xcb xlib-xcb) |
| 97 | " |
97 | " |
| 98 | |
98 | |
| 99 | if use drm; then |
99 | if use drm; then |
| 100 | myopts+=" |
100 | myopts+=" |
| 101 | $(use_enable gallium) |
101 | $(use_enable gallium) |