qt5: add FSL QT camera and media player demo apps
This is copied verbatim from the 'meta-fsl-bsp-release' layer. FSL distributes these applications in binary-only form. https://jira.digi.com/browse/DEL-1972 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
c98cd2dde1
commit
f608985ed5
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=iMX Camera
|
||||||
|
Exec=/usr/share/qt5/examples/multimedia/imxcamera/imxcamera
|
||||||
|
Icon=imxcamera
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
X-MB-SingleInstance=true
|
||||||
|
Comment=i.MX Camera App
|
||||||
|
StartupNotify=false
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=iMX Player
|
||||||
|
Exec=/usr/share/qt5/examples/multimedia/imxplayer/imxplayer
|
||||||
|
Icon=imxplayer
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
X-MB-SingleInstance=true
|
||||||
|
Comment=i.MX Player
|
||||||
|
StartupNotify=false
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
# Copyright (C) 2014-2015 Freescale Semiconductor
|
||||||
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||||
|
|
||||||
|
DESCRIPTION = "Freescale QT Multimedia applications"
|
||||||
|
LICENSE = "Proprietary"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=01ba08a2b77c3a0a9d0ab5d4d83fed64"
|
||||||
|
|
||||||
|
inherit fsl-eula-unpack autotools pkgconfig
|
||||||
|
|
||||||
|
# base on QtMultimedia v5.2.1
|
||||||
|
DEPENDS += "qtmultimedia gstreamer1.0 gstreamer1.0-plugins-base gst1.0-fsl-plugin"
|
||||||
|
|
||||||
|
SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \
|
||||||
|
file://qtimxplayer.desktop \
|
||||||
|
file://qtimxcamera.desktop \
|
||||||
|
"
|
||||||
|
SRC_URI[md5sum] = "48f39222f5ac9f23308fa2f00a2eda16"
|
||||||
|
SRC_URI[sha256sum] = "e8369023028b36319ba7a094c8e46f2ccf4315ccb63c7b0dfd01c8e2c44b1e9a"
|
||||||
|
|
||||||
|
do_install () {
|
||||||
|
install -d ${D}${datadir}/applications
|
||||||
|
install -m 0644 ${WORKDIR}/qt*.desktop ${D}${datadir}/applications
|
||||||
|
install -d ${D}${datadir}/qt5
|
||||||
|
cp -r ${S}/usr/share/qt5/examples ${D}${datadir}/qt5
|
||||||
|
install -d ${D}${datadir}/pixmaps
|
||||||
|
cp -r ${S}/usr/share/pixmaps/* ${D}${datadir}/pixmaps
|
||||||
|
}
|
||||||
|
|
||||||
|
FILES_${PN} = " \
|
||||||
|
${datadir}/qt5/examples/*/* \
|
||||||
|
${datadir}/applications/* \
|
||||||
|
${datadir}/pixmaps/* \
|
||||||
|
"
|
||||||
|
|
||||||
|
INSANE_SKIP_${PN} += "debug-files"
|
||||||
Loading…
Reference in New Issue