1 SUMMARY = "AGL Home Screen Library"
2 DESCRIPTION = "libhomescreen"
3 HOMEPAGE = "http://docs.automotivelinux.org"
8 BBCLASSEXTEND = " nativesdk"
10 inherit qmake5 pkgconfig
12 DEPENDS += " glib-2.0 "
14 LIC_FILES_CHKSUM = "file://libhomescreen/LICENSE;md5=ae6497158920d9524cf208c09cc4c984"
16 SRC_URI = "git://gerrit.automotivelinux.org/gerrit/p/src/libhomescreen.git;protocol=https;branch=dab \
17 file://homescreen.pc.in"
18 SRCREV = "adf78ab9e5d9b82e3462bc0d7f928bd2d7085c0e"
19 # PV needs to be modified with SRCPV to work AUTOREV correctly
20 PV = "0.0+git${SRCPV}"
23 install -d ${D}/usr/AGL/${PN}
24 install -m 0755 ${B}/samplehomescreeninterfaceapp/SampleHomeScreenInterfaceApp ${D}/usr/AGL/${PN}/
26 install -d ${D}${libdir}
27 install -m 0644 ${B}/libhomescreen/libhomescreen.so.1.0.0 ${D}${libdir}/
28 ln -sf libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so
29 ln -sf libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so.1
30 ln -sf libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so.1.0
32 # kooltux: still some problem with paths inside .pc file
33 # error at build time:
34 # 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]
36 install -d ${D}${libdir}/pkgconfig
37 install -m 0644 ${WORKDIR}/homescreen.pc.in ${D}${libdir}/pkgconfig/homescreen.pc
38 sed -i s:OEPREFIX:${prefix}:g ${D}${libdir}/pkgconfig/homescreen.pc
39 sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/homescreen.pc
40 sed -i s:OEINCDIR:${includedir}:g ${D}${libdir}/pkgconfig/homescreen.pc
42 install -d ${D}${includedir}
43 install -m 0644 ${S}/libhomescreen/include/libhomescreen.hpp ${D}${includedir}/
46 PACKAGES =+ "libhomescreensampleapp libhomescreensampleapp-dbg"
49 ${libdir}/libhomescreen.so.* \
52 ${includedir}/libhomescreen.hpp \
53 ${libdir}/libhomescreen.so \
54 ${libdir}/pkgconfig/homescreen.pc \
57 ${libdir}/.debug/libhomescreen.so.* \
60 FILES_libhomescreensampleapp += "/usr/AGL/${PN}/SampleHomeScreenInterfaceApp"
61 FILES_libhomescreensampleapp-dbg += "/usr/AGL/${PN}/.debug"
64 RDEPENDS_libhomescreensampleapp-dbg += "${PN}-dbg ${PN}-dev"