1 SUMMARY = "AGL Home Screen Library"
2 DESCRIPTION = "libhomescreen"
3 HOMEPAGE = "http://docs.automotivelinux.org"
7 BBCLASSEXTEND = " nativesdk"
9 LIC_FILES_CHKSUM = "file://libhomescreen/LICENSE;md5=ae6497158920d9524cf208c09cc4c984"
11 DEPENDS += " glib-2.0 "
13 inherit qmake5 pkgconfig
15 SRC_URI = "git://gerrit.automotivelinux.org/gerrit/p/src/libhomescreen.git;protocol=https;branch=${AGL_BRANCH} \
16 file://homescreen.pc.in"
17 SRCREV = "f5c14333d2170ae9babed53ea530828569a830ff"
20 # PV needs to be modified with SRCPV to work AUTOREV correctly
21 PV = "0.0+git${SRCPV}"
24 install -d ${D}/usr/AGL/${PN}
25 install -m 0755 ${B}/samplehomescreeninterfaceapp/SampleHomeScreenInterfaceApp ${D}/usr/AGL/${PN}/
27 install -d ${D}${libdir}
28 install -m 0644 ${B}/libhomescreen/libhomescreen.so.1.0.0 ${D}${libdir}/
29 ln -sf libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so
30 ln -sf libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so.1
31 ln -sf libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so.1.0
33 # kooltux: still some problem with paths inside .pc file
34 # error at build time:
35 # ERROR: homescreen-git-r0 do_populate_sysroot: QA Issue: homescreen.pc failed sanity test (tmpdir) in path /xdt/build/tmp/work/cortexa15hf-neon-agl-linux-gnueabi/libhomescreen/git-r0/sysroot-destdir/usr/lib/pkgconfig [pkgconfig]
37 install -d ${D}${libdir}/pkgconfig
38 install -m 0644 ${WORKDIR}/homescreen.pc.in ${D}${libdir}/pkgconfig/homescreen.pc
39 sed -i s:OEPREFIX:${prefix}:g ${D}${libdir}/pkgconfig/homescreen.pc
40 sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/homescreen.pc
41 sed -i s:OEINCDIR:${includedir}:g ${D}${libdir}/pkgconfig/homescreen.pc
43 install -d ${D}${includedir}
44 install -m 0644 ${S}/libhomescreen/include/libhomescreen.hpp ${D}${includedir}/
47 PACKAGES =+ "libhomescreensampleapp libhomescreensampleapp-dbg"
50 ${libdir}/libhomescreen.so.* \
53 ${includedir}/libhomescreen.hpp \
54 ${libdir}/libhomescreen.so \
55 ${libdir}/pkgconfig/homescreen.pc \
58 ${libdir}/.debug/libhomescreen.so.* \
61 FILES_libhomescreensampleapp += "/usr/AGL/${PN}/SampleHomeScreenInterfaceApp"
62 FILES_libhomescreensampleapp-dbg += "/usr/AGL/${PN}/.debug"
65 RDEPENDS_libhomescreensampleapp-dbg += "${PN}-dbg ${PN}-dev"
66 PROVIDES += "virtual/libhomescreen"