summaryrefslogtreecommitdiff
path: root/recipes/esc-gst/esc-gst.bb
blob: bc0ccc26a42ec5b082060dbec53aee5fae92c507 (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
DESCRIPTION = "Gstreamer scripts for Embedded Systems Conference workshop"
LICENSE="Various"

DEPENDS ="gettext"

SRC_URI = "http://hivelocity.dl.sourceforge.net/project/showoff/esc_gst_scripts.tar.gz"
SRC_URI[md5sum] = "4af79d2967dca3c649d3a644ddd4c604"
SRC_URI[sha256sum] = "d7b486520bf22a1e0bc9a808b1bf42f36a329d5a9f67ea6e0f3a25a9dfde2936"

PV=4

FILES_${PN} += "${datadir}/esc-gst"
S=${WORKDIR}/esc-gst

inherit base

do_install() {
    ESC_FILES="a1 a2 a3 a4 a5 a6 d1 d2 d3 d4 d5 d6 g1 g2 g3 g4 g5 g6 g7 g8 g9"
    ESC_FILES="${ESC_FILES} n1 n2 n3 n4 p1 s v1 v2 v3 v4"
    install -d ${D}${datadir}/esc-gst
    for F in ${ESC_FILES} ; do
        install -m 0755 ${S}/${F} ${D}${datadir}/esc-gst
    done
    install -m 0644 ${S}/README ${D}${datadir}/esc-gst
    install -d ${D}${datadir}/applications
    install -m 0644 ${S}/GStreamer_Class.desktop ${D}${datadir}/applications/
}