matrix-gui: Add support for dm368-evm machine
[glsdk/meta-ti-glsdk.git] / recipes-bsp / ti / matrix-gui-e.inc
1 DESCRIPTION = "Matrix GUI for Qt Embedded"
2 HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
3 LICENSE = "BSD"
4 LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=37;md5=a802a01a3a58f2ebb1e83c25f883f0c0"
6 SECTION = "multimedia"
7 PRIORITY = "optional"
9 INC_PR = "r21"
11 COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
13 PLATFORM_dm365 = "dm365"
14 PLATFORM_omapl138 = "omapl138"
15 PLATFORM_omap3evm = "omap3530"
16 PLATFORM_dm37x-evm = "dm3730"
17 PLATFORM_am37x-evm = "am3715"
18 PLATFORM_beagleboard = "am3715"
19 PLATFORM_ti816x = "ti816x"
20 PLATFORM_am180x-evm = "am180x"
21 PLATFORM_am181x-evm = "am181x"
22 PLATFORM_am3517-evm = "am3517"
24 SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "
26 S = "${WORKDIR}/trunk"
28 INITSCRIPT_NAME = "matrix-gui-e"
29 INITSCRIPT_PARAMS = "defaults 99"
30 #INITSCRIPT_PARAMS = "start 99 3 . stop 99 3 ."
32 CXXFLAGS_omapl138_append = " -DPlatform_omapl138 "
33 CXXFLAGS_dm365_append = " -DPlatform_dm365 "
34 PACKAGE_ARCH = ${MACHINE_ARCH}
36 inherit qt4e update-rc.d
38 do_install() {
39         install -d ${D}/${bindir}
40         install -m 0755 ${S}/matrix_gui ${D}/${bindir}/matrix_guiE
41         install -d ${D}${sysconfdir}/init.d/
42         install -c -m 0755 ${S}/${PLATFORM}/etc/init ${D}${sysconfdir}/init.d/matrix-gui-e
44 }
46 RRECOMMENDS_${PN} = "qt4-embedded-plugin-mousedriver-tslib qt4-embedded-fonts"
47 RDEPENDS_${PN} += "matrix-gui-common"