4455623ee109f90802eeed79a705c78047408e89
[vuplus_openembedded] / evas / evas_cvs.oe
1 DESCRIPTION = "Evas is a hardware-accelerated canvas API that can draw \
2 anti-aliased text, smooth super and sub-images, alpha-blend, as well as drop \
3 down to using normal X11 primitives such as pixmaps, lines and rectangles if \
4 your CPU or graphics hardware are too slow."
5 HOMEPAGE = "http://www.enlightenment.org"
6 SECTION = "e/libs"
7 PRIORITY = "optional"
8 DEPENDS = "libpng jpeg edb eet freetype"
9 PV = "${CVSDATE}"
10 PR = "r3"
11
12 SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/enlightenment;module=e17/libs/evas \
13            file://pkg.m4"
14 S = "${WORKDIR}/evas"
15
16 inherit autotools pkgconfig binconfig
17
18 EXTRA_OECONF = "--enable-fb                     \
19                 --disable-directfb              \
20                 --disable-buffer                \
21                 --disable-software-qtopia       \
22                 --disable-software-x11          \
23                 --disable-gl-x11                \
24                 --enable-image-loader-eet       \
25                 --enable-image-loader-edb       \
26                 --enable-image-loader-png       \
27                 --enable-image-loader-jpeg      \
28                 --enable-small-dither-mask      \
29                 --enable-cpu-c                  \
30                 --enable-font-loader-eet        \
31                 --enable-scale-sample           \
32                 --enable-scale-smooth           \
33                 --enable-convert-yuv            \
34                 --disable-convert-8-rgb-332     \
35                 --disable-convert-8-rgb-666     \
36                 --disable-convert-8-rgb-232     \
37                 --disable-convert-8-rgb-222     \
38                 --disable-convert-8-rgb-221     \
39                 --disable-convert-8-rgb-121     \
40                 --disable-convert-8-rgb-111     \
41                 --enable-convert-16-rgb-565     \
42                 --disable-convert-16-rgb-555    \
43                 --disable-convert-16-rgb-444    \
44                 --disable-convert-16-rgb-ipq    \
45                 --enable-convert-16-rgb-rot-0   \
46                 --disable-convert-16-rgb-rot-90 \
47                 --enable-convert-16-rgb-rot-270 \
48                 --disable-convert-24-rgb-888    \
49                 --disable-convert-24-bgr-888    \
50                 --disable-convert-32-rgb-8888   \
51                 --disable-convert-32-rgbx-8888  \
52                 --disable-convert-32-bgr-8888   \
53                 --disable-convert-32-bgrx-8888  \
54                 --disable-convert-32-rgb-rot-0  \
55                 --disable-convert-32-rgb-rot-90 \
56                 --disable-convert-32-rgb-rot-270"
57
58 export FREETYPE_CONFIG = "${STAGING_BINDIR}/freetype-config"
59
60 do_configure () {
61         install -m 0644 ${WORKDIR}/pkg.m4 acinclude.m4
62         autotools_do_configure
63 }
64
65 headers = "Evas_Engine_Buffer.h \
66            Evas_Engine_FB.h \
67            Evas.h"
68
69 # Don't install these headers or subsequent libraries will include support for it:
70 # Evas_Engine_DirectFB.h \
71 # Evas_Engine_GL_X11.h \
72 # Evas_Engine_Software_Win32_GDI.h \
73 # Evas_Engine_Software_X11.h
74 # Evas_Engine_Software_Qtopia.h \
75
76 do_stage () {
77         for i in ${headers}; do
78                 install -m 0644 ${S}/src/lib/$i ${STAGING_INCDIR}/
79         done
80         oe_libinstall -C src/lib libevas ${STAGING_LIBDIR}/
81 }
82
83 PACKAGES += "evas-examples"
84
85 FILES_${PN} = "${libdir}/libevas*.so*"
86 FILES_${PN}-dev += "${bindir}/evas-config ${libdir}/pkgconfig"
87 FILES_${PN}-examples = "${bindir}/evas_fb_test ${datadir}"