diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
commit | c58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch) | |
tree | 3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /meta-oe/recipes-graphics/cairo | |
parent | eec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff) | |
download | meta-openembedded-c58cc7d3796dcee6e93885c835ed04cb566abeb2.tar.gz |
move layer into meta-oe in preparation for future splits
As per TSC decision
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-graphics/cairo')
-rw-r--r-- | meta-oe/recipes-graphics/cairo/cairo-fpu.inc | 6 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/cairo/cairo.inc | 20 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/cairo/cairo_1.10.0.bb | 12 |
3 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/cairo/cairo-fpu.inc b/meta-oe/recipes-graphics/cairo/cairo-fpu.inc new file mode 100644 index 000000000..bdaf78979 --- /dev/null +++ b/meta-oe/recipes-graphics/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-oe/recipes-graphics/cairo/cairo.inc b/meta-oe/recipes-graphics/cairo/cairo.inc new file mode 100644 index 000000000..42774e05b --- /dev/null +++ b/meta-oe/recipes-graphics/cairo/cairo.inc | |||
@@ -0,0 +1,20 @@ | |||
1 | SECTION = "libs" | ||
2 | PRIORITY = "optional" | ||
3 | DEPENDS = "virtual/libx11 pixman libsm libpng fontconfig libxrender glib-2.0" | ||
4 | DESCRIPTION = "Cairo graphics library" | ||
5 | LICENSE = "MPL LGPL" | ||
6 | |||
7 | #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points | ||
8 | require cairo-fpu.inc | ||
9 | EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}" | ||
10 | |||
11 | inherit autotools pkgconfig | ||
12 | |||
13 | BBCLASSEXTEND = "native" | ||
14 | |||
15 | PACKAGES =+ "cairo-trace cairo-trace-dev libcairo-script-interpreter libcairo-gobject" | ||
16 | FILES_libcairo-gobject = "${libdir}/libcairo-gobject.so.*" | ||
17 | FILES_libcairo-script-interpreter = "${libdir}/libcairo-script-interpreter.so.*" | ||
18 | FILES_cairo-trace = "${bindir}/*trace ${libdir}/cairo/libcairo-trace.so.*" | ||
19 | FILES_cairo-trace-dev = "${libdir}/cairo/*" | ||
20 | |||
diff --git a/meta-oe/recipes-graphics/cairo/cairo_1.10.0.bb b/meta-oe/recipes-graphics/cairo/cairo_1.10.0.bb new file mode 100644 index 000000000..dccb726ed --- /dev/null +++ b/meta-oe/recipes-graphics/cairo/cairo_1.10.0.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | require cairo.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77" | ||
4 | |||
5 | PR = "r1" | ||
6 | |||
7 | SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz;name=cairo \ | ||
8 | " | ||
9 | |||
10 | SRC_URI[cairo.md5sum] = "70a2ece66cf473d976e2db0f75bf199e" | ||
11 | SRC_URI[cairo.sha256sum] = "0f2ce4cc4615594088d74eb8b5360bad7c3cc3c3da9b61af9bfd979ed1ed94b2" | ||
12 | |||