summaryrefslogtreecommitdiff
blob: 36751c0adf0dd13fb51e2cf64bc78ac2ca938c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/evas/evas-9999.ebuild,v 1.9 2005/10/06 22:59:49 vapier Exp $

inherit enlightenment flag-o-matic

DESCRIPTION="hardware-accelerated canvas API"

IUSE="X directfb fbcon jpeg mmx opengl png sse cairo altivec"

DEPEND="X? ( virtual/x11 )
	opengl? ( virtual/opengl )
	>=media-libs/imlib2-1.2.0
	>=dev-libs/eet-0.9.9
	>=dev-db/edb-1.0.5
	png? ( media-libs/libpng )
	jpeg? ( media-libs/jpeg )
	directfb? ( >=dev-libs/DirectFB-0.9.16 )
	cairo? ( >=x11-libs/cairo-0.2.0 )
	dev-util/pkgconfig"

src_compile() {
	export MY_ECONF="
		$(use_enable X software-x11) \
		$(use_enable X software-xcb) \
		$(use_enable directfb) \
		$(use_enable fbcon fb) \
		--enable-buffer \
		$(use_enable opengl gl-x11) \
		$(use_enable X xrender-x11) \
		$(use_enable png image-loader-png) \
		$(use_enable jpeg image-loader-jpeg) \
		--enable-image-loader-eet \
		--enable-font-loader-eet \
		--enable-image-loader-edb \
		$(use_enable mmx cpu-mmx) \
		$(use_enable sse cpu-mmx) \
		$(use_enable sse cpu-sse) \
		$(use_enable altivec cpu-altivec) \
		$(use_enable cairo cairo-x11) \
		--enable-cpu-c \
		--enable-scale-sample \
		--enable-scale-smooth \
		--enable-convert-8-rgb-332 \
		--enable-convert-8-rgb-666 \
		--enable-convert-8-rgb-232 \
		--enable-convert-8-rgb-222 \
		--enable-convert-8-rgb-221 \
		--enable-convert-8-rgb-121 \
		--enable-convert-8-rgb-111 \
		--enable-convert-16-rgb-565 \
		--enable-convert-16-rgb-555 \
		--enable-convert-16-rgb-444 \
		--enable-convert-16-rgb-rot-0 \
		--enable-convert-16-rgb-rot-270 \
		--enable-convert-16-rgb-rot-90 \
		--enable-convert-24-rgb-888 \
		--enable-convert-24-bgr-888 \
		--enable-convert-32-rgb-8888 \
		--enable-convert-32-rgbx-8888 \
		--enable-convert-32-bgr-8888 \
		--enable-convert-32-bgrx-8888 \
		--enable-convert-32-rgb-rot-0 \
		--enable-convert-32-rgb-rot-270 \
		--enable-convert-32-rgb-rot-90 \
	"
	enlightenment_src_compile
}