Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
QT_IM_MODULE=qtvirtualkeyboard
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
EGL_PLATFORM=hwcomposer
QT_QPA_PLATFORM=hwcomposer
QT_ENABLE_GLYPH_CACHE_WORKAROUND=true
QT_GSTREAMER_CAMERABIN_SRC=droidcamsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
QT_QPA_PLATFORM=eglfs
QT_QPA_EGLFS_INTEGRATION=eglfs_kms

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
DESCRIPTION = "Provides the device specific configuration files used by asteroid-launcher."
PR = "r0"
SRC_URI = "file://default.conf \
SRC_URI = "file://00-default.conf \
file://10-platform.conf \
file://10-platform-hybris.conf \
file://20-device.conf \
file://keys.kmap"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Expand All @@ -11,13 +14,23 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"

DEPENDS += "qttools-native"

# The compositor environment is merged from three orthogonal drop-ins (systemd
# reads them in name order): 00-default.conf is shared by every device,
# 10-platform.conf selects the QPA platform, and machines override the
# placeholder 20-device.conf with their port specifics via FILESEXTRAPATHS.
do_install() {
install -d ${D}/var/lib/environment/compositor/
install -m 0644 ${UNPACKDIR}/default.conf ${D}/var/lib/environment/compositor/
install -m 0644 ${UNPACKDIR}/00-default.conf ${D}/var/lib/environment/compositor/
install -m 0644 ${UNPACKDIR}/10-platform.conf ${D}/var/lib/environment/compositor/
install -m 0644 ${UNPACKDIR}/20-device.conf ${D}/var/lib/environment/compositor/

install -d ${D}/usr/share/qt6/keymaps/
${STAGING_BINDIR_NATIVE}/kmap2qmap ${UNPACKDIR}/keys.kmap ${D}/usr/share/qt6/keymaps/keys.qmap
}

FILES:${PN} += "/usr/share/qt6/keymaps/keys.qmap"
# libhybris watches render through hwcomposer instead of the eglfs default.
do_install:append:hybris-machine() {
install -m 0644 ${UNPACKDIR}/10-platform-hybris.conf ${D}/var/lib/environment/compositor/10-platform.conf
}

FILES:${PN} += "/usr/share/qt6/keymaps/keys.qmap"
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WorkingDirectory=/
EnvironmentFile=-/var/lib/environment/compositor/*.conf
ExecStartPre=/usr/bin/asteroid-launcher-precondition
ExecStartPre=-/bin/sh -ec '/bin/echo QUIT > /run/psplash_fifo'
ExecStart=/usr/bin/asteroid-launcher $LIPSTICK_OPTIONS --systemd
ExecStart=/usr/bin/asteroid-launcher -plugin evdevtouch $LIPSTICK_OPTIONS --systemd
TimeoutStopSec=3
Restart=always

Expand Down