libqtappfw: clean up syntax and unused FILES* bits
[AGL/meta-agl-demo.git] / recipes-demo-hmi / libhomescreen / libhomescreen-old.inc
1 LIC_FILES_CHKSUM = "file://libhomescreen/LICENSE;md5=ae6497158920d9524cf208c09cc4c984"
2
3 DEPENDS += " glib-2.0 "
4
5 inherit qmake5 pkgconfig
6
7 SRC_URI = "git://gerrit.automotivelinux.org/gerrit/p/src/libhomescreen.git;protocol=https;branch=${AGL_BRANCH} \
8            file://homescreen.pc.in"
9 SRCREV  = "f5c14333d2170ae9babed53ea530828569a830ff"
10 S       = "${WORKDIR}/git/"
11
12 # PV needs to be modified with SRCPV to work AUTOREV correctly
13 PV = "0.0+git${SRCPV}"
14
15 do_install() {
16     install -d ${D}/usr/AGL/${PN}
17     install -m 0755 ${B}/samplehomescreeninterfaceapp/SampleHomeScreenInterfaceApp ${D}/usr/AGL/${PN}/
18
19     install -d ${D}${libdir}
20     install -m 0644 ${B}/libhomescreen/libhomescreen.so.1.0.0 ${D}${libdir}/
21     ln -sf libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so
22     ln -sf libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so.1
23     ln -sf libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so.1.0
24
25 # kooltux: still some problem with paths inside .pc file
26 # error at build time:
27 # 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]
28 #
29     install -d ${D}${libdir}/pkgconfig
30     install -m 0644 ${WORKDIR}/homescreen.pc.in ${D}${libdir}/pkgconfig/homescreen.pc
31     sed -i s:OEPREFIX:${prefix}:g ${D}${libdir}/pkgconfig/homescreen.pc
32     sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/homescreen.pc
33     sed -i s:OEINCDIR:${includedir}:g ${D}${libdir}/pkgconfig/homescreen.pc
34
35     install -d ${D}${includedir}
36     install -m 0644 ${S}/libhomescreen/include/libhomescreen.hpp ${D}${includedir}/
37 }
38
39 PACKAGES =+ "libhomescreensampleapp libhomescreensampleapp-dbg"
40
41 FILES_${PN} = "\
42         ${libdir}/libhomescreen.so.* \
43 "
44 FILES_${PN}-dev = "\
45         ${includedir}/libhomescreen.hpp \
46         ${libdir}/libhomescreen.so \
47         ${libdir}/pkgconfig/homescreen.pc \
48 "
49 FILES_${PN}-dbg += "\
50         ${libdir}/.debug/libhomescreen.so.* \
51 "
52
53 FILES_libhomescreensampleapp += "/usr/AGL/${PN}/SampleHomeScreenInterfaceApp"
54 FILES_libhomescreensampleapp-dbg += "/usr/AGL/${PN}/.debug"
55
56
57 RDEPENDS_libhomescreensampleapp-dbg += "${PN}-dbg ${PN}-dev"
58