summaryrefslogtreecommitdiff
path: root/recipes/ti/matrix-gui_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ti/matrix-gui_svn.bb')
-rw-r--r--recipes/ti/matrix-gui_svn.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/ti/matrix-gui_svn.bb b/recipes/ti/matrix-gui_svn.bb
new file mode 100644
index 0000000000..d6b782fc8d
--- /dev/null
+++ b/recipes/ti/matrix-gui_svn.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "Matrix GUI"
+HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
+LICENSE = "TI"
+SECTION = "multimedia"
+PRIORITY = "optional"
+
+SRCREV = "15"
+PV = "1.0"
+PR = "r1+svnr${SRCPV}"
+
+SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' \
+ file://init \
+"
+
+S = "${WORKDIR}/trunk"
+
+INITSCRIPT_NAME = "matrix-gui"
+INITSCRIPT_PARAMS = "defaults 99"
+
+inherit qt4e update-rc.d
+
+do_install() {
+ install -d ${D}/${bindir}
+ install -m 0755 ${S}/matrix_gui ${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/*.bmp ${D}/${datadir}/matrix/images/
+ install -d ${D}${sysconfdir}/init.d/
+ install -c -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/matrix-gui
+}
+
+RRECOMMENDS_${PN} = "qt4-embedded-plugin-mousedriver-tslib"
+FILES_${PN} += "${datadir}/matrix/*"