qt4-embedded: rename qtdemo file
authorChase Maupin <chasemaupin03@gmail.com>
Thu, 3 Jun 2010 05:15:13 +0000 (05:15 +0000)
committerDenys Dmytriyenko <denis@denix.org>
Thu, 3 Jun 2010 16:42:19 +0000 (12:42 -0400)
* Changed the name of the qtdemo exectable installed
  in the /usr/bin directory to qtdemoE for Qt
  embedded builds.  This allows the Qt embedded
  version of the demos package to co-exist with
  the Qt X11 version.
* Changed the demos package file list to accept
  both qtdemo and qtdemoE.

Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
recipes/qt4/qt-4.6.2.inc
recipes/qt4/qt4-embedded.inc
recipes/qt4/qt4.inc

index e89cf17..4a9f077 100644 (file)
@@ -57,6 +57,9 @@ do_install_append() {
        for i in rcc uic moc ; do
                install -m 0755 ${S}/bin/$i ${D}${bindir}/
        done
+
+       #Append an E to the qtdemo file
+       mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
 }
 
 LICENSE = "LGPLv2.1 GPLv3"
index 9aaca6e..436f64c 100644 (file)
@@ -4,7 +4,7 @@ LICENSE = "GPL QPL"
 PRIORITY = "optional"
 HOMEPAGE = "http://www.trolltech.com"
 DEPENDS += "directfb tslib"
-INC_PR = "r19"
+INC_PR = "r20"
 
 QT_BASE_NAME ?= "qt4-embedded"
 QT_BASE_LIB  ?= "libqt-embedded"
index 5634911..4266c2f 100644 (file)
@@ -115,8 +115,8 @@ FILES_${QT_BASE_NAME}-common               = "${bindir}/qtconfig"
 FILES_${QT_BASE_NAME}-common-dbg           = "${bindir}/.debug/qtconfig"
 FILES_${QT_BASE_NAME}-dbus                 = "${bindir}/qdbus ${bindir}/qdbusxml2cpp ${bindir}/qdbuscpp2xml ${bindir}/qdbusviewer"
 FILES_${QT_BASE_NAME}-dbus-dbg             = "${bindir}/.debug/qdbus ${bindir}/.debug/qdbusxml2cpp ${bindir}/.debug/qdbuscpp2xml ${bindir}/.debug/qdbusviewer"
-FILES_${QT_BASE_NAME}-demos                = "${bindir}/qtdemo ${bindir}/${QT_DIR_NAME}/demos/*"
-FILES_${QT_BASE_NAME}-demos-dbg            = "${bindir}/.debug/qtdemo ${bindir}/${QT_DIR_NAME}/demos/.debug/*  ${bindir}/${QT_DIR_NAME}/demos/*/.debug  ${bindir}/${QT_DIR_NAME}/demos/*/*/.debug  ${bindir}/${QT_DIR_NAME}/demos/*/*/*/.debug"
+FILES_${QT_BASE_NAME}-demos                = "${bindir}/qtdemo* ${bindir}/${QT_DIR_NAME}/demos/*"
+FILES_${QT_BASE_NAME}-demos-dbg            = "${bindir}/.debug/qtdemo* ${bindir}/${QT_DIR_NAME}/demos/.debug/*  ${bindir}/${QT_DIR_NAME}/demos/*/.debug  ${bindir}/${QT_DIR_NAME}/demos/*/*/.debug  ${bindir}/${QT_DIR_NAME}/demos/*/*/*/.debug"
 FILES_${QT_BASE_NAME}-designer             = "${bindir}/*designer*"
 FILES_${QT_BASE_NAME}-designer-dbg         = "${bindir}/.debug/*designer*"
 FILES_${QT_BASE_NAME}-examples             = "${bindir}/${QT_DIR_NAME}/examples/*"