matrix-gui-common: update SRCREV and add device support
[glsdk/meta-ti-glsdk.git] / recipes-bsp / ti / matrix-gui.inc
1 DESCRIPTION = "Matrix GUI for Qt X11"
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 = "r19"
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 CXXFLAGS_omapl138_append = " -DPlatform_omapl138 "
29 CXXFLAGS_dm365_append = " -DPlatform_dm365 "
30 PACKAGE_ARCH = ${MACHINE_ARCH}
32 inherit qt4x11
34 do_install() {
35         install -d ${D}/${bindir}
36         install -m 0755 ${S}/matrix_gui ${D}/${bindir}
37         install -d ${D}${sysconfdir}/init.d/
38         install -c -m 0755 ${S}/${PLATFORM}/etc/x11/init ${D}${sysconfdir}/init.d/matrix-gui
39         install -d ${D}/${sysconfdir}/xdg/autostart
40         install -m 0755 ${S}/${PLATFORM}/etc/x11/matrix-gui.desktop ${D}/${sysconfdir}/xdg/autostart
41 }
43 FILES_${PN}-autostart = "${sysconfdir}/xdg/autostart/matrix-gui.desktop"
45 #Make autostart package depend on matrix-gui package.  Doesn't make sense
46 #to install the autostart package without the underlying matrix-gui package.
47 RDEPENDS_${PN}-autostart += "${PN}"
48 PACKAGES =+ "${PN}-autostart"
50 RDEPENDS_${PN} += "matrix-gui-common"