meta-digi-dey: add desktop shortcut for camera demo app
https://jira.digi.com/browse/DEL-2015 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
449008366f
commit
2776dcd654
|
|
@ -3,6 +3,8 @@
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
||||||
|
|
||||||
SRC_URI += " \
|
SRC_URI += " \
|
||||||
|
file://qmlcamera.desktop \
|
||||||
|
file://qmlcamera.png \
|
||||||
file://qmlvideo.desktop \
|
file://qmlvideo.desktop \
|
||||||
file://qmlvideo.png \
|
file://qmlvideo.png \
|
||||||
"
|
"
|
||||||
|
|
@ -11,6 +13,10 @@ do_install_append () {
|
||||||
# Fix path for OpenGLES example
|
# Fix path for OpenGLES example
|
||||||
sed -i -e '/Exec/{s,hellogl_es2,hellogl2,g}' ${D}${datadir}/applications/hellogl_es2.desktop
|
sed -i -e '/Exec/{s,hellogl_es2,hellogl2,g}' ${D}${datadir}/applications/hellogl_es2.desktop
|
||||||
|
|
||||||
|
# Add qmlcamera shortcut
|
||||||
|
install -m 0644 ${WORKDIR}/qmlcamera.desktop ${D}${datadir}/applications/
|
||||||
|
install -m 0644 ${WORKDIR}/qmlcamera.png ${D}${datadir}/pixmaps/
|
||||||
|
|
||||||
# Add qmlvideo shortcut
|
# Add qmlvideo shortcut
|
||||||
install -m 0644 ${WORKDIR}/qmlvideo.desktop ${D}${datadir}/applications/
|
install -m 0644 ${WORKDIR}/qmlvideo.desktop ${D}${datadir}/applications/
|
||||||
install -m 0644 ${WORKDIR}/qmlvideo.png ${D}${datadir}/pixmaps/
|
install -m 0644 ${WORKDIR}/qmlvideo.png ${D}${datadir}/pixmaps/
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Qt5 Camera
|
||||||
|
Exec=/bin/sh -c "cd /usr/share/qt5/examples/multimedia/declarative-camera; ./declarative-camera"
|
||||||
|
Icon=qmlcamera
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
X-MB-SingleInstance=true
|
||||||
|
Comment=Qt5 Qml Camera demo application
|
||||||
|
StartupNotify=false
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
Loading…
Reference in New Issue