Enlightenment Foundation Libraries MONSTER update courtesy Rasterman
[vuplus_openembedded] / packages / efl1 / evas.inc
1 DESCRIPTION = "Evas is the Enlightenment canvas API"
2 LICENSE = "MIT BSD"
3 # can also depend on valgrind, libsdl-x11, directfb
4 DEPENDS = "eet freetype jpeg libpng virtual/libx11 libxext libxrender fontconfig"
5 PV = "0.9.9.043+svnr${SRCREV}"
6
7 inherit efl
8
9 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/evas"
10 EXTRA_OECONF = "<override me>"
11
12 python populate_packages_prepend () {
13         for plugin_type in "engines loaders savers".split():
14             bb.note( "splitting packages for evas %s..." % plugin_type )
15             basedir = bb.data.expand( '${libdir}/evas/modules/%s' % plugin_type, d )
16
17             do_split_packages(d, basedir, '^(.*)',
18             output_pattern = 'evas-' + plugin_type[:-1] + "-%s",
19             description = 'Evas module %s',
20             allow_dirs=True, recursive=False, extra_depends="" )
21 }
22
23 do_install_append() {
24     find "${D}" -name .debug -type d -exec rm -rf {} \;
25 }
26
27 FILES_${PN}-dev += "${libdir}/evas/modules/*/*/*/*.a ${libdir}/evas/modules/*/*/*/*.la"
28 FILES_${PN}-dbg += "${libdir}/evas/modules/*/*/*/.debug/"
29
30 PACKAGES_DYNAMIC = "libevas-engine-* libevas-loader-* libevas-saver-*"
31
32 RRECOMMENDS_${PN} = "\
33   libevas-engine-buffer \
34   libevas-engine-fb \
35   libevas-engine-software-generic \
36   libevas-engine-software-x11 \
37   libevas-engine-software-16 \
38   libevas-engine-software-16-x11 \
39   libevas-engine-xrender-x11 \
40   \
41   libevas-loader-png \
42   libevas-loader-jpeg \
43   libevas-loader-eet \
44 "
45
46 # disabling this, since (due to OE bugs) it drags in whole Gtk+
47 #RRECOMMENDS_${PN} += "\
48 #  libevas-loader-svg \
49 #"