summaryrefslogtreecommitdiff
path: root/packages/horizon/horizon_cvs.bb
blob: d83fbf986882af3da1363d3bcd3dafcdaac5a064 (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 = "Horizon is a sketchbook application for tablet devices."
LICENSE = "GPLv2"

DEPENDS = "glib-2.0 libpng jpeg virtual/libsdl"

SRC_URI = "cvs://anonymous@anoncvs.gnome.org/cvs/gnome;module=horizon \
	file://makefile.patch;patch=1"

inherit pkgconfig binconfig

S = "${WORKDIR}/horizon"
PV = "0.37+cvs${SRCDATE}"

PARALLEL_MAKE = ""

CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/SDL -I. -Isrc -L${STAGING_LIBDIR} `PKG_CONFIG_PATH=${STAGING_DATADIR}/pkgconfig pkg-config --cflags glib-2.0 gobject-2.0 libpng`"

do_compile() {
	#yes, this is a hack to work around a faulty makefile
	oe_runmake horizon 
}	

do_install() {
	install -d ${D}${bindir}
	install -m 755 horizon ${D}${bindir}
}