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

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

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

Revision 1.2 Revision 1.3
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.2 2010/09/08 20:01:52 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v 1.3 2010/09/09 08:03:08 scarabeus Exp $
4 4
5EAPI=3 5EAPI=3
6 6
7EGIT_REPO_URI="git://anongit.freedesktop.org/git/cairo" 7EGIT_REPO_URI="git://anongit.freedesktop.org/git/cairo"
8[[ ${PV} == *9999 ]] && GIT_ECLASS="git" 8[[ ${PV} == *9999 ]] && GIT_ECLASS="git"
36 x11-libs/libX11 36 x11-libs/libX11
37 x11-libs/libXft 37 x11-libs/libXft
38 drm? ( 38 drm? (
39 >=sys-fs/udev-136 39 >=sys-fs/udev-136
40 gallium? ( media-libs/mesa[gallium] ) 40 gallium? ( media-libs/mesa[gallium] )
41 )
42 xcb? (
43 || (
44 <=x11-libs/libX11-1.3.5[xcb]
45 >x11-libs/libX11-1.3.5
46 )
47 ) 41 )
48 ) 42 )
49 xcb? ( 43 xcb? (
50 x11-libs/libxcb 44 x11-libs/libxcb
51 x11-libs/xcb-util 45 x11-libs/xcb-util
91 append-flags -finline-limit=1200 85 append-flags -finline-limit=1200
92 86
93 if use X; then 87 if use X; then
94 myopts+=" 88 myopts+="
95 $(use_enable drm) 89 $(use_enable drm)
96 $(use_enable xcb xlib-xcb)
97 " 90 "
98 91
99 if use drm; then 92 if use drm; then
100 myopts+=" 93 myopts+="
101 $(use_enable gallium) 94 $(use_enable gallium)
110 fi 103 fi
111 else 104 else
112 use drm && ewarn "drm use requires X use enabled. So disabling for now." 105 use drm && ewarn "drm use requires X use enabled. So disabling for now."
113 myopts+=" 106 myopts+="
114 --disable-drm 107 --disable-drm
108 --disable-gallium
115 --disable-xcb-lib 109 --disable-xcb-drm
116 " 110 "
117 fi 111 fi
118 112
113
114 # --disable-xcb-lib:
115 # do not override good xlib backed by hardforcing rendering over xcb
119 econf \ 116 econf \
120 --disable-dependency-tracking \ 117 --disable-dependency-tracking \
121 $(use_with X x) \ 118 $(use_with X x) \
122 $(use_enable X xlib) \ 119 $(use_enable X xlib) \
123 $(use_enable X xlib-xrender) \ 120 $(use_enable X xlib-xrender) \
135 $(use_enable xcb xcb-shm) \ 132 $(use_enable xcb xcb-shm) \
136 --enable-ft \ 133 --enable-ft \
137 --enable-pdf \ 134 --enable-pdf \
138 --enable-png \ 135 --enable-png \
139 --enable-ps \ 136 --enable-ps \
137 --disable-xcb-lib \
140 ${myopts} 138 ${myopts}
141} 139}
142 140
143src_install() { 141src_install() {
144 # parallel make install fails 142 # parallel make install fails

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20