summaryrefslogtreecommitdiff
path: root/recipes/ti/matrix-gui-common_svn.bb
blob: 43d6b0c8bfb7e045840dba747331caddef5bb0c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
DESCRIPTION = "Common files for all versions of Matrix GUI"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
LICENSE = "BSD"
SECTION = "multimedia"
PRIORITY = "optional"

SRCREV = "58"
PV = "1.0"
PR = "r1+svnr${SRCPV}"

#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 \
"

S = "${WORKDIR}/trunk"

MATRIX_EXTRA_BINS = " \
    memInfo \
    networkSettings \
    runOGLES2Coverflow \
    runOGLES2Shaders \
    runOGLESChameleonMan \
    runOGLESVase \
    setopp1 \
    setopp2 \
    setopp3 \
    setopp4 \
    standby \
    sysSettings \
    taskInfo \
"

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 -d ${D}/${datadir}/matrix/html
    install -m 0644 ${S}/*.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/*"