Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SECTION = "e/libs" |
| 2 | LICENSE = "MIT & BSD" |
| 3 | DEPENDS += "pkgconfig-native" |
| 4 | |
| 5 | # revision 0d93ec84b30bc1bee2caaee72d667f87bc468a70 made SRCDATE and hence PV go backwards, so we need to up PE to unbreak builds and feeds :( |
| 6 | PE = "2" |
| 7 | |
| 8 | inherit e-base autotools |
| 9 | |
| 10 | # evas-native looks at this var, so keep it |
| 11 | |
| 12 | do_configure_prepend() { |
| 13 | autopoint || touch config.rpath |
| 14 | } |
| 15 | |
| 16 | do_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 | |
| 22 | PACKAGES =+ "${PN}-themes" |
| 23 | PACKAGES += "${PN}-tests" |
| 24 | PACKAGES += "${PN}-eolian" |
| 25 | |
| 26 | FILES_${PN} = "${libdir}/*.so.* \ |
| 27 | ${libdir}/edje/modules/${PN}/*/module.so \ |
| 28 | ${libdir}/${PN}/plugins/*.so \ |
| 29 | ${datadir}/dbus-1/services/* \ |
| 30 | " |
| 31 | |
| 32 | |
| 33 | FILES_${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 | |
| 43 | FILES_${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 | |
| 53 | FILES_${PN}-eolian = " \ |
| 54 | ${datadir}/eolian/include \ |
| 55 | " |
| 56 | |
| 57 | FILES_${PN}-staticdev += "${libdir}/${BPN}/*/*.a" |
| 58 | |
| 59 | FILES_${PN}-dbg += "${libdir}/${PN}/.debug \ |
| 60 | ${libdir}/${PN}/*/.debug \ |
| 61 | ${libdir}/edje/modules/${PN}/*/.debug/module.so \ |
| 62 | " |
| 63 | |
| 64 | FILES_${PN}-tests = "${bindir}/${PN} \ |
| 65 | ${bindir}/*_* \ |
| 66 | ${datadir}/${PN}" |