aboutsummaryrefslogtreecommitdiffstats
path: root/meta-hmi-framework/recipes-graphics/agl-service-windowmanager-2017/agl-service-windowmanager-2017_git.bb
blob: addee324736b4501cdcdab171ff7666c605c738a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUMMARY     = "Window Manager binding and client library for application"
DESCRIPTION = "Window Manager 2017 is the binding library  \
	"
HOMEPAGE    = ""
S = "${WORKDIR}/git"
SECTION = "graphics"
LICENSE     = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
DEPENDS = "af-binder json-c wayland wayland-ivi-extension wayland-native"
RDEPENDS_${PN} = " \
	"

SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-service-windowmanager-2017;protocol=https;branch=master"
SRCREV = "d5eb8b53ed088db5a25451fc7e3009d3e44ae6bd"

inherit cmake aglwgt

#If you would like to output log, uncomment out
#EXTRA_OECMAKE = " -DENABLE_DEBUG_OUTPUT=ON "

do_install_append() {
    install -d ${D}${sysconfdir}/windowmanager
    install -m 0644 ${S}/layers.json ${D}${sysconfdir}/windowmanager/
    install -d ${D}${libdir}/pkgconfig
    install -m 0644 ${B}/windowmanager.pc ${D}${libdir}/pkgconfig
    install -d ${D}${includedir}
    install -m 0644 ${S}/libwindowmanager/libwindowmanager.h ${D}${includedir}

    install -m -0755 ${B}/libwindowmanager/libwindowmanager.so ${D}${libdir}/libwindowmanager.so.0.1
    ln -sf libwindowmanager.so.0.1 ${D}${libdir}/libwindowmanager.so
}
FILES_${PN} += "${sysconfdir}/windowmanager/layers.json"