summaryrefslogtreecommitdiff
path: root/packages/gpe-sketchbook/gpe-sketchbook_0.2.8.bb
blob: 930599fa8f7021d912b1b1250e0f3c563b9c7c49 (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
LICENSE = "GPL"
PR = "r4"

inherit gpe pkgconfig

DEPENDS = "libgpewidget"
SECTION = "gpe"
MAINTAINER = "Florian Boor <florian.boor@kernelconcepts.de>"
SECTION = "gpe"
PRIORITY = "optional"
DESCRIPTION = "A GPE notebook to sketch your notes"
export CVSBUILD = "no"

CFLAGS +="-D_GNU_SOURCE"

SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.gz \
	   file://sketchbook-size.patch;patch=1;pnum=0 \
	   file://remove-render.patch;patch=1"

FILES_${PN} = "${bindir} ${datadir}/pixmaps ${datadir}/applications"
FILES_${PN} += " ${datadir}/gpe/pixmaps"

do_compile () {
        oe_runmake PREFIX=${prefix}
        oe_runmake all-desktop PREFIX=${prefix}
}

do_install () {
        oe_runmake PREFIX=${prefix} DESTDIR=${D} install-program
}