Merge branch 'org.openembedded.dev' of git://git.openembedded.net/openembedded into...
[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 PR = "r1"
7
8
9 inherit efl
10
11 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/evas"
12 EXTRA_OECONF = "<override me>"
13
14 python populate_packages_prepend () {
15         for plugin_type in "engines loaders savers".split():
16             bb.note( "splitting packages for evas %s..." % plugin_type )
17             basedir = bb.data.expand( '${libdir}/evas/modules/%s' % plugin_type, d )
18
19             do_split_packages(d, basedir, '^(.*)',
20             output_pattern = 'evas-' + plugin_type[:-1] + "-%s",
21             description = 'Evas module %s',
22             allow_dirs=True, recursive=False, extra_depends="" )
23 }
24
25 do_install_append() {
26     find "${D}" -name .debug -type d -exec rm -rf {} \;
27 }
28
29 FILES_${PN}-dev += "${libdir}/evas/modules/*/*/*/*.a ${libdir}/evas/modules/*/*/*/*.la"
30 FILES_${PN}-dbg += "${libdir}/evas/modules/*/*/*/.debug/"
31
32 PACKAGES_DYNAMIC = "libevas-engine-* libevas-loader-* libevas-saver-*"
33
34 RRECOMMENDS_${PN} = "\
35   libevas-engine-buffer \
36   libevas-engine-fb \
37   libevas-engine-software-generic \
38   libevas-engine-software-x11 \
39   libevas-engine-software-16 \
40   libevas-engine-software-16-x11 \
41   libevas-engine-xrender-x11 \
42   \
43   libevas-loader-png \
44   libevas-loader-jpeg \
45   libevas-loader-eet \
46 "
47
48 # disabling this, since (due to OE bugs) it drags in whole Gtk+
49 #RRECOMMENDS_${PN} += "\
50 #  libevas-loader-svg \
51 #"