blob: 1fe6a819651f484f8e116d2ca6380676ff8f1842 (
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
# Copyright 1999-2008 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.17 2006/09/11 03:45:25 vapier Exp $
inherit enlightenment
DESCRIPTION="hardware-accelerated canvas API"
IUSE="altivec directfb edb gif fbcon jpeg mmx opengl png sdl sse svg threads tiff X xpm"
RDEPEND="X? ( x11-libs/libXrender )
opengl? ( virtual/opengl )
>=dev-libs/eina-9999
>=dev-libs/eet-9999
edb? ( >=dev-db/edb-9999 )
media-libs/fontconfig
directfb? ( >=dev-libs/DirectFB-0.9.16 )
gif? ( media-libs/giflib )
jpeg? ( media-libs/jpeg )
png? ( media-libs/libpng )
tiff? ( media-libs/tiff )
xpm? ( x11-libs/libXpm )
svg? ( >=gnome-base/librsvg-2.14.0 x11-libs/cairo x11-libs/libsvg-cairo )
sdl? ( media-libs/libsdl )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
X? (
x11-proto/xextproto
x11-proto/xproto
)"
src_compile() {
# other *very* fun options:
# --enable-cpu-mmx enable mmx code
# --enable-cpu-sse enable sse code
# --enable-scale-sample enable sampling scaler code
# --enable-scale-smooth enable sampling scaler code
# --enable-pthreads enable threaded renderer
export MY_ECONF="
--disable-cairo-x11 \
$(use_enable mmx cpu-mmx) \
$(use_enable sse cpu-mmx) \
$(use_enable sse cpu-sse) \
$(use_enable X software-x11) \
$(use_enable X software-16-x11) \
$(use_enable X xrender-x11) \
$(use_enable sdl software-sdl) \
$(use_enable opengl gl-x11) \
$(use_enable directfb) \
$(use_enable fbcon fb) \
--disable-software-xcb \
--disable-xrender-xcb \
$(use_enable gif image-loader-gif) \
$(use_enable png image-loader-png) \
$(use_enable jpeg image-loader-jpeg) \
$(use_enable tiff image-loader-tiff) \
$(use_enable xpm image-loader-xpm) \
$(use_enable svg image-loader-svg) \
$(use_enable altivec cpu-altivec) \
--enable-buffer \
--enable-image-loader-eet \
$(use_enable edb image-loader-edb) \
--enable-font-loader-eet \
--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 \
$(use_enable threads pthreads) \
"
enlightenment_src_compile
}
|