From: Jeff Lance Date: Thu, 23 Sep 2010 09:41:35 +0000 (+0000) Subject: matrix-gui-common: update to latest sources X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2645779a2605594c330ebce941b7006e8746e596;p=openembedded.git matrix-gui-common: update to latest sources * Updated to use repository revision 131 * This includes platform support * Removed the browser binary * Copy files based on PLATFORM * Bumped SRCREV to 136 in version 2 of this patch Signed-off-by: Chase Maupin Signed-off-by: Jeff Lance Acked-by: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- diff --git a/recipes/ti/matrix-gui-common/browser b/recipes/ti/matrix-gui-common/browser deleted file mode 100644 index b5202d5a14..0000000000 --- a/recipes/ti/matrix-gui-common/browser +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -BROWSERDIR="" -BROWSERAPP="browser" - -#Check if DISPLAY is set. If so we assume we are running in X11 -#and will call the X11 version of the browser if it exists. -if [ "$DISPLAY" == "" ] -then - BROWSERDIR="/usr/bin/qtopia/demos/browser" -else - BROWSERDIR="/usr/bin/qt4/demos/browser" -fi - -if [ -e "$BROWSERDIR/$BROWSERAPP" ] -then - cd $BROWSERDIR - ./$BROWSERAPP -fi - diff --git a/recipes/ti/matrix-gui-common_svn.bb b/recipes/ti/matrix-gui-common_svn.bb index 43d6b0c8bf..89126a2e29 100644 --- a/recipes/ti/matrix-gui-common_svn.bb +++ b/recipes/ti/matrix-gui-common_svn.bb @@ -4,44 +4,34 @@ LICENSE = "BSD" SECTION = "multimedia" PRIORITY = "optional" -SRCREV = "58" -PV = "1.0" -PR = "r1+svnr${SRCPV}" +SRCREV = "136" +PV = "1.1" +PR = "r3+svnr${SRCPV}" + +PLATFORM_dm365 = "dm365" +PLATFORM_da850-omapl138-evm = "omapl138" +PLATFORM_omap3evm = "omap3530" +PLATFORM_dm37x-evm = "dm3730" +PLATFORM_am37x-evm = "am3715" +PLATFORM_beagleboard = "am3715" +PLATFORM ?= "" #Checkout the project repository to get access to the scripts and data #files. -SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' \ - file://browser \ -" +SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' " S = "${WORKDIR}/trunk" -MATRIX_EXTRA_BINS = " \ - memInfo \ - networkSettings \ - runOGLES2Coverflow \ - runOGLES2Shaders \ - runOGLESChameleonMan \ - runOGLESVase \ - setopp1 \ - setopp2 \ - setopp3 \ - setopp4 \ - standby \ - sysSettings \ - taskInfo \ -" +PACKAGE_ARCH = ${MACHINE_ARCH} do_install() { install -d ${D}/${bindir} - for i in ${MATRIX_EXTRA_BINS}; do - install -m 0755 ${S}/bin/${i} ${D}/${bindir} - done - install -m 0755 ${WORKDIR}/browser ${D}/${bindir} + install -m 0755 ${S}/${PLATFORM}/bin/* ${D}/${bindir}/ install -d ${D}/${datadir}/matrix/html - install -m 0644 ${S}/*.html ${D}/${datadir}/matrix/html/ + install -m 0644 ${S}/${PLATFORM}/html/* ${D}/${datadir}/matrix/html install -d ${D}/${datadir}/matrix/images install -m 0644 ${S}/images/*.png ${D}/${datadir}/matrix/images/ + } FILES_${PN} += "${datadir}/matrix/*"