summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt/qtwayland-config_1.0.0.bb
blob: 7c1e99bfae25773cd760d388382b8aa79016b807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY     = "QtWayland config file."
DESCRIPTION = "Config file for qtwayland."
SECTION     = "apps"
LICENSE     = "MIT"

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = "file://qtwayland"

inherit allarch

QTWAYLAND_DEFAULT_SHELL ?= "xdg-shell"

do_compile[noexec] = "1"

do_install () {
    install -D -m 644 ${WORKDIR}/qtwayland ${D}${sysconfdir}/afm/unit.env.d/qtwayland
    sed -i -e 's/@QT_WAYLAND_DEFAULT_SHELL@/${QTWAYLAND_DEFAULT_SHELL}/' ${D}${sysconfdir}/afm/unit.env.d/qtwayland
}

RPROVIDES:${PN} += "virtual/qtwayland-config"