summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb
blob: c31261a4cd0a46df46962d1c0f9e4b845458ccb0 (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
DESCRIPTION = "A terminal emulator for Harmattan (Nokia N9/N950) with a custom \
virtual keyboard and usability-enhancing features such as URL grabber, pan \
gestures and customizable shortcut menu. Designed especially to be used with \
screen and irssi."
HOMEPAGE = "http://hqh.unlink.org/harmattan"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SECTION = "qt/app"

PR = "r0"

inherit qt4x11 pkgconfig

SRC_URI = " \
    http://hqh.unlink.org/harmattan/fingerterm-${PV}.tar.gz \
"

SRC_URI[md5sum] = "d53b0f463c025583cd52accf95715448"
SRC_URI[sha256sum] = "c21a07cc411d09739bd7fa248eba2bf96427b3f032382a044b6674dd82d95150"

S = "${WORKDIR}/${PN}"

FILES_${PN} = " \
    ${bindir}/${PN} \
    ${datadir}/applications/${PN}.desktop \
    ${datadir}/pixmaps/${PN}.png \
"

do_install() {
    install -d ${D}${bindir}
    install -m 0744 ${S}/${PN} ${D}${bindir}

    sed -i -e '/Exec.*/d' fingerterm.desktop
    sed -i -e '/Icon.*/d' fingerterm.desktop

    echo 'Exec=${bindir}/${PN}' >> fingerterm.desktop
    echo 'Icon=${PN}' >> fingerterm.desktop

    install -d ${D}${datadir}/applications
    install -m 0644 ${S}/${PN}.desktop ${D}${datadir}/applications

    install -d ${D}${datadir}/pixmaps
    install -m 0644 ${S}/${PN}.png ${D}${datadir}/pixmaps
}