[meta-freescale] [meta-fsl-demos][PATCH][V2] fslqtapplications: Add Freescale QT5 Multimedia Applications for Demo
Jun Zhu
R01007 at freescale.com
Thu May 28 22:22:12 PDT 2015
Freescale releases a QT5 Media Player, which is based on FSL GStreamer1.x.
The feature list of this player is followed:
- Playback: Play/Stop/Pause/Resume
- Fast/Accurate seek
- Playback rate control
- Show media information (meta data)
- Video Thumbnail
- Support Playlist
- Support Audio/Video track selection
- Support Subtitle
Signed-off-by: Jun Zhu <R01007 at freescale.com>
---
.../qt5/fslqtapplications/qtimxplayer.desktop | 9 ++++++
recipes-qt/qt5/fslqtapplications_1.0.1.bb | 37 ++++++++++++++++++++++
2 files changed, 46 insertions(+)
create mode 100644 recipes-qt/qt5/fslqtapplications/qtimxplayer.desktop
create mode 100644 recipes-qt/qt5/fslqtapplications_1.0.1.bb
diff --git a/recipes-qt/qt5/fslqtapplications/qtimxplayer.desktop b/recipes-qt/qt5/fslqtapplications/qtimxplayer.desktop
new file mode 100644
index 0000000..1823658
--- /dev/null
+++ b/recipes-qt/qt5/fslqtapplications/qtimxplayer.desktop
@@ -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
diff --git a/recipes-qt/qt5/fslqtapplications_1.0.1.bb b/recipes-qt/qt5/fslqtapplications_1.0.1.bb
new file mode 100644
index 0000000..98a9a44
--- /dev/null
+++ b/recipes-qt/qt5/fslqtapplications_1.0.1.bb
@@ -0,0 +1,37 @@
+# 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=acdb807ac7275fe32f9f64992e111241"
+
+inherit fsl-eula-unpack autotools pkgconfig
+
+# base on QtMultimedia v5.x
+DEPENDS += "qtmultimedia gstreamer1.0 gstreamer1.0-plugins-base"
+
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \
+ file://qtimxplayer.desktop \
+"
+SRC_URI[md5sum] = "a703e0b1390455c2f60804a5786a4f1f"
+SRC_URI[sha256sum] = "127f54bbea16998aefea28079116628bd72e1eb79cdb42d80e10efd1a897db51"
+
+do_install () {
+ install -d ${D}${datadir}/applications
+ install -m 0644 ${WORKDIR}/qtimxplayer.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"
+
+
+
--
1.9.1
More information about the meta-freescale
mailing list