summaryrefslogtreecommitdiff
path: root/packages/cairo/cairo_git.bb
blob: 3da41f382de37c09f2b036da3163661e13a771f6 (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
#This is a development snapshot, so lets hint OE to use the releases
DEFAULT_PREFERENCE = "-1"

SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "virtual/libx11 libsm libpng fontconfig libxrender"
DESCRIPTION = "Cairo graphics library"
LICENSE = "MPL LGPL"

PV = "1.4.7+git${SRCDATE}"

SRC_URI = "git://git.cairographics.org/git/cairo;protocol=git \
	  "
inherit autotools pkgconfig

S = "${WORKDIR}/git"

do_configure_prepend() {
	sed -i s:PKGCONFIG_REQUIRED=0.19:PKGCONFIG_REQUIRED=0.15: configure.in
}

do_compile_append() {
	cd ${S}/perf ; oe_runmake
}

do_stage () {
 	autotools_stage_all
}