]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-ti/matrix/matrix-gui.inc
gadget-init: remove ehrPWM polarity workaround
[glsdk/meta-ti-glsdk.git] / recipes-ti / matrix / 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"
8 INC_PR = "r22"
10 COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)"
12 PLATFORM_dm365-evm = "dm365"
13 PLATFORM_dm368-evm = "dm368"
14 PLATFORM_omapl138 = "omapl138"
15 PLATFORM_omap3evm = "omap3530"
16 PLATFORM_dm37x-evm = "dm3730"
17 PLATFORM_am37x-evm = "am3715"
18 PLATFORM_beagleboard = "beagleboard"
19 PLATFORM_ti816x = "ti816x"
20 PLATFORM_ti814x = "ti814x"
21 PLATFORM_am180x-evm = "am180x"
22 PLATFORM_am181x-evm = "am181x"
23 PLATFORM_am3517-evm = "am3517"
25 SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "
27 S = "${WORKDIR}/trunk"
29 CXXFLAGS_omapl138_append = " -DPlatform_omapl138 "
30 CXXFLAGS_dm365_append = " -DPlatform_dm365 "
31 PACKAGE_ARCH = ${MACHINE_ARCH}
33 inherit qt4x11
35 do_install() {
36         install -d ${D}/${bindir}
37         install -m 0755 ${S}/matrix_gui ${D}/${bindir}
38         install -d ${D}${sysconfdir}/init.d/
39         install -c -m 0755 ${S}/${PLATFORM}/etc/x11/init ${D}${sysconfdir}/init.d/matrix-gui
40         install -d ${D}/${sysconfdir}/xdg/autostart
41         install -m 0755 ${S}/${PLATFORM}/etc/x11/matrix-gui.desktop ${D}/${sysconfdir}/xdg/autostart
42 }
44 FILES_${PN}-autostart = "${sysconfdir}/xdg/autostart/matrix-gui.desktop"
46 #Make autostart package depend on matrix-gui package.  Doesn't make sense
47 #to install the autostart package without the underlying matrix-gui package.
48 RDEPENDS_${PN}-autostart += "${PN}"
49 PACKAGES =+ "${PN}-autostart"
51 RDEPENDS_${PN} += "matrix-gui-common"