diff options
author | Richard Purdie <richard@openedhand.com> | 2006-12-07 15:20:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-12-07 15:20:47 +0000 |
commit | ccd102a746813c08757de464365bac8044aa6bbc (patch) | |
tree | d922fef8434b0a9e9be5d70802b5af3b04ab1aa2 /meta/packages | |
parent | 3321c7090f15096252266c146ea51cc5055d8ac8 (diff) | |
download | poky-ccd102a746813c08757de464365bac8044aa6bbc.tar.gz |
cairo: Add 1.3.6 from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1018 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/cairo/cairo-fpu.inc | 6 | ||||
-rw-r--r-- | meta/packages/cairo/cairo_1.3.6.bb | 20 |
2 files changed, 26 insertions, 0 deletions
diff --git a/meta/packages/cairo/cairo-fpu.inc b/meta/packages/cairo/cairo-fpu.inc new file mode 100644 index 0000000000..bdaf789799 --- /dev/null +++ b/meta/packages/cairo/cairo-fpu.inc | |||
@@ -0,0 +1,6 @@ | |||
1 | |||
2 | def get_cairo_fpu_setting(bb, d): | ||
3 | if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: | ||
4 | return "--disable-some-floating-point" | ||
5 | return "" | ||
6 | |||
diff --git a/meta/packages/cairo/cairo_1.3.6.bb b/meta/packages/cairo/cairo_1.3.6.bb new file mode 100644 index 0000000000..d9454fadcd --- /dev/null +++ b/meta/packages/cairo/cairo_1.3.6.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | #This is a development snapshot, so lets hint OE to use the releases | ||
2 | DEFAULT_PREFERENCE = "-1" | ||
3 | |||
4 | SECTION = "libs" | ||
5 | PRIORITY = "optional" | ||
6 | DEPENDS = "virtual/libx11 libsm libpng fontconfig libxrender" | ||
7 | DESCRIPTION = "Cairo graphics library" | ||
8 | LICENSE = "MPL LGPL" | ||
9 | |||
10 | SRC_URI = "http://cairographics.org/snapshots/cairo-${PV}.tar.gz" | ||
11 | |||
12 | #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points | ||
13 | require cairo-fpu.inc | ||
14 | EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}" | ||
15 | |||
16 | inherit autotools pkgconfig | ||
17 | |||
18 | do_stage () { | ||
19 | autotools_stage_all | ||
20 | } | ||