summaryrefslogtreecommitdiff
path: root/packages/cairo/cairo_git.bb
blob: f4d62ee7fb81921184ba1af5b86fc30ad3ab87f0 (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.5.1+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
}