summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-graphics/x-window-simple-app/x-window-qtsmarthome_1.0.bb9
-rw-r--r--recipes-graphics/x-window-simple-app/x-window-simple-app.inc (renamed from recipes-graphics/x-window-simple-app/x-window-simple-app_1.0.bb)3
-rw-r--r--recipes-images/images/qt5-x11-image.bb5
3 files changed, 11 insertions, 6 deletions
diff --git a/recipes-graphics/x-window-simple-app/x-window-qtsmarthome_1.0.bb b/recipes-graphics/x-window-simple-app/x-window-qtsmarthome_1.0.bb
new file mode 100644
index 0000000..2e44da9
--- /dev/null
+++ b/recipes-graphics/x-window-simple-app/x-window-qtsmarthome_1.0.bb
@@ -0,0 +1,9 @@
+# set the following variable to your one and only application which should
+# be started
+
+RDEPENDS ?= "qtsmarthome"
+INITIAL_PATH ?= "/usr/share/qtsmarthome-1.0"
+X_APPLICATION ?= "${INITIAL_PATH}/smarthome"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/x-window-simple-app:"
+require recipes-graphics/x-window-simple-app/x-window-simple-app.inc
diff --git a/recipes-graphics/x-window-simple-app/x-window-simple-app_1.0.bb b/recipes-graphics/x-window-simple-app/x-window-simple-app.inc
index 1bfb7e2..2c5ecc1 100644
--- a/recipes-graphics/x-window-simple-app/x-window-simple-app_1.0.bb
+++ b/recipes-graphics/x-window-simple-app/x-window-simple-app.inc
@@ -13,9 +13,6 @@ inherit allarch
S = "${WORKDIR}"
-INITIAL_PATH ?= "/usr/share/qtsmarthome-1.0"
-X_APPLICATION ?= "${INITIAL_PATH}/smarthome"
-
SRC_URI = " \
file://x-window-manager.in \
file://set_have_touch.sh \
diff --git a/recipes-images/images/qt5-x11-image.bb b/recipes-images/images/qt5-x11-image.bb
index 9a2a911..b0d9ce5 100644
--- a/recipes-images/images/qt5-x11-image.bb
+++ b/recipes-images/images/qt5-x11-image.bb
@@ -3,7 +3,7 @@ SUMMARY_append_apalis-tk1-mainline = " (Mainline)"
DESCRIPTION = "Image with the Qt5 Framework and the X11 server"
# after the boot systemd starts X and then a qt5 application, check
-# recipes-graphics/x-window-simple-app/x-window-simple-app and
+# recipes-graphics/x-window-simple-app/x-window-qtsmarthome and
# https://developer.toradex.com/knowledge-base/how-to-autorun-application-at-the-start-up-in-linux#X11_with_One_User_Application
# for how this is done.
@@ -136,8 +136,7 @@ GSTREAMER_append_tegra124 = " \
IMAGE_INSTALL_QT5 = " \
packagegroup-qt5 \
liberation-fonts \
- qtsmarthome \
- x-window-simple-app \
+ x-window-qtsmarthome \
"
IMAGE_INSTALL_append_tegra124 = " \