blob: eb40e4bc3e2d9271efd0dd2bba9acd50374d3be8 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SECTION = "e/libs"
2LICENSE = "MIT & BSD"
3DEPENDS += "pkgconfig-native"
4
5# revision 0d93ec84b30bc1bee2caaee72d667f87bc468a70 made SRCDATE and hence PV go backwards, so we need to up PE to unbreak builds and feeds :(
6PE = "2"
7
8inherit e-base autotools
9
10# evas-native looks at this var, so keep it
11
12do_configure_prepend() {
13 autopoint || touch config.rpath
14}
15
16do_install_prepend () {
17 for i in `find ${B}/ -name "*.pc" -type f` ; do \
18 sed -i -e 's:-L${STAGING_LIBDIR}:-L\$\{libdir\}:g' -e 's:-I${STAGING_LIBDIR}:-I\$\{libdir\}:g' -e 's:-I${STAGING_INCDIR}:-I\$\{includedir\}:g' $i
19 done
20}
21
22PACKAGES =+ "${PN}-themes"
23PACKAGES += "${PN}-tests"
24PACKAGES += "${PN}-eolian"
25
26FILES_${PN} = "${libdir}/*.so.* \
27 ${libdir}/edje/modules/${PN}/*/module.so \
28 ${libdir}/${PN}/plugins/*.so \
29 ${datadir}/dbus-1/services/* \
30"
31
32
33FILES_${PN}-themes = "${datadir}/${PN}/themes \
34 ${datadir}/${PN}/data \
35 ${libdir}/${PN}/plugins/data/*.edj \
36 ${datadir}/${PN}/fonts \
37 ${datadir}/${PN}/pointers \
38 ${datadir}/${PN}/images \
39 ${datadir}/${PN}/users \
40 ${datadir}/${PN}/images \
41 ${datadir}/${PN}/styles"
42
43FILES_${PN}-dev += "${bindir}/${PN}-config \
44 ${libdir}/pkgconfig/* \
45 ${libdir}/lib*.la \
46 ${libdir}/*.so \
47 ${libdir}/${PN}/*.la \
48 ${libdir}/${PN}/*/*.la \
49 ${datadir}/${PN}/edje_externals \
50 ${libdir}/edje/modules/${PN}/*/module.la \
51"
52
53FILES_${PN}-eolian = " \
54 ${datadir}/eolian/include \
55"
56
57FILES_${PN}-staticdev += "${libdir}/${BPN}/*/*.a"
58
59FILES_${PN}-dbg += "${libdir}/${PN}/.debug \
60 ${libdir}/${PN}/*/.debug \
61 ${libdir}/edje/modules/${PN}/*/.debug/module.so \
62"
63
64FILES_${PN}-tests = "${bindir}/${PN} \
65 ${bindir}/*_* \
66 ${datadir}/${PN}"