diff options
Diffstat (limited to 'recipes-ti/matrix/matrix-gui-common.inc')
-rw-r--r-- | recipes-ti/matrix/matrix-gui-common.inc | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes-ti/matrix/matrix-gui-common.inc b/recipes-ti/matrix/matrix-gui-common.inc new file mode 100644 index 00000000..6b61081b --- /dev/null +++ b/recipes-ti/matrix/matrix-gui-common.inc | |||
@@ -0,0 +1,44 @@ | |||
1 | DESCRIPTION = "Common files for all versions of Matrix GUI" | ||
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" | ||
5 | |||
6 | SECTION = "multimedia" | ||
7 | |||
8 | INC_PR = "r10" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)" | ||
11 | |||
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" | ||
24 | |||
25 | #Checkout the project repository to get access to the scripts and data | ||
26 | #files. | ||
27 | SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' " | ||
28 | |||
29 | S = "${WORKDIR}/trunk" | ||
30 | |||
31 | PACKAGE_ARCH = ${MACHINE_ARCH} | ||
32 | |||
33 | do_install() { | ||
34 | install -d ${D}/${bindir} | ||
35 | install -m 0755 ${S}/${PLATFORM}/bin/* ${D}/${bindir}/ | ||
36 | install -d ${D}/${datadir}/matrix/html | ||
37 | install -m 0644 ${S}/${PLATFORM}/html/* ${D}/${datadir}/matrix/html | ||
38 | install -d ${D}/${datadir}/matrix/images | ||
39 | install -m 0644 ${S}/images/*.png ${D}/${datadir}/matrix/images/ | ||
40 | install -m 0644 ${S}/images/*.svg ${D}/${datadir}/matrix/images/ | ||
41 | |||
42 | } | ||
43 | |||
44 | FILES_${PN} += "${datadir}/matrix/*" | ||