Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 488672 | Differences between
and this patch

Collapse All | Expand All

(-)cairo-1.12.16.ebuild.orig (-23 / +27 lines)
Lines 4-10 Link Here
4
4
5
EAPI=5
5
EAPI=5
6
6
7
inherit eutils flag-o-matic autotools
7
inherit eutils flag-o-matic autotools multilib-minimal
8
8
9
if [[ ${PV} == *9999* ]]; then
9
if [[ ${PV} == *9999* ]]; then
10
	inherit git-2
10
	inherit git-2
Lines 25-53 Link Here
25
# Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it
25
# Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it
26
RESTRICT="test"
26
RESTRICT="test"
27
27
28
RDEPEND="media-libs/fontconfig
28
RDEPEND="media-libs/fontconfig[${MULTILIB_USEDEP}]
29
	media-libs/freetype:2
29
	media-libs/freetype:2[${MULTILIB_USEDEP}]
30
	media-libs/libpng:0=
30
	media-libs/libpng:0=[${MULTILIB_USEDEP}]
31
	sys-libs/zlib
31
	sys-libs/zlib[${MULTILIB_USEDEP}]
32
	>=x11-libs/pixman-0.28.0
32
	>=x11-libs/pixman-0.28.0[${MULTILIB_USEDEP}]
33
	directfb? ( dev-libs/DirectFB )
33
	directfb? ( dev-libs/DirectFB[${MULTILIB_USEDEP}] )
34
	gles2? ( media-libs/mesa[gles2] )
34
	gles2? ( media-libs/mesa[gles2,${MULTILIB_USEDEP}] )
35
	glib? ( >=dev-libs/glib-2.28.6:2 )
35
	glib? ( >=dev-libs/glib-2.28.6:2[${MULTILIB_USEDEP}] )
36
	opengl? ( || ( media-libs/mesa[egl] media-libs/opengl-apple ) )
36
	opengl? ( || ( media-libs/mesa[egl,${MULTILIB_USEDEP}] media-libs/opengl-apple ) )
37
	openvg? ( media-libs/mesa[openvg] )
37
	openvg? ( media-libs/mesa[openvg,${MULTILIB_USEDEP}] )
38
	qt4? ( >=dev-qt/qtgui-4.8:4 )
38
	qt4? ( >=dev-qt/qtgui-4.8:4[${MULTILIB_USEDEP}] )
39
	X? (
39
	X? (
40
		>=x11-libs/libXrender-0.6
40
		>=x11-libs/libXrender-0.6[${MULTILIB_USEDEP}]
41
		x11-libs/libXext
41
		x11-libs/libXext[${MULTILIB_USEDEP}]
42
		x11-libs/libX11
42
		x11-libs/libX11[${MULTILIB_USEDEP}]
43
		drm? (
43
		drm? (
44
			>=virtual/udev-136
44
			>=virtual/udev-136[${MULTILIB_USEDEP}]
45
			gallium? ( media-libs/mesa[gallium] )
45
			gallium? ( media-libs/mesa[gallium,${MULTILIB_USEDEP}] )
46
		)
46
		)
47
	)
47
	)
48
	xcb? (
48
	xcb? (
49
		x11-libs/libxcb
49
		x11-libs/libxcb[${MULTILIB_USEDEP}]
50
		x11-libs/xcb-util
50
		x11-libs/xcb-util[${MULTILIB_USEDEP}]
51
	)"
51
	)"
52
DEPEND="${RDEPEND}
52
DEPEND="${RDEPEND}
53
	virtual/pkgconfig
53
	virtual/pkgconfig
Lines 92-104 Link Here
92
	eautoreconf
92
	eautoreconf
93
}
93
}
94
94
95
src_configure() {
95
multilib_src_configure() {
96
	local myopts
96
	local myopts
97
97
98
	[[ ${CHOST} == *-interix* ]] && append-flags -D_REENTRANT
98
	[[ ${CHOST} == *-interix* ]] && append-flags -D_REENTRANT
99
99
100
	use elibc_FreeBSD && myopts+=" --disable-symbol-lookup"
100
	use elibc_FreeBSD && myopts+=" --disable-symbol-lookup"
101
101
102
	ECONF_SOURCE="${S}" \
102
	econf \
103
	econf \
103
		--disable-dependency-tracking \
104
		--disable-dependency-tracking \
104
		$(use_with X x) \
105
		$(use_with X x) \
Lines 130-140 Link Here
130
		${myopts}
131
		${myopts}
131
}
132
}
132
133
133
src_install() {
134
multilib_src_install() {
134
	# parallel make install fails
135
	# parallel make install fails
135
	emake -j1 DESTDIR="${D}" install
136
	emake -j1 DESTDIR="${D}" install
136
	find "${ED}" -name '*.la' -exec rm -f {} +
137
}
137
	dodoc AUTHORS ChangeLog NEWS README
138
139
multilib_src_install_all() {
140
	prune_libtool_files --all
141
	einstalldocs
138
}
142
}
139
143
140
pkg_postinst() {
144
pkg_postinst() {

Return to bug 488672