summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/cairo
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-03-17 21:41:22 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-03-17 21:41:22 +0100
commitc58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch)
tree3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /meta-oe/recipes-graphics/cairo
parenteec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff)
downloadmeta-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.inc6
-rw-r--r--meta-oe/recipes-graphics/cairo/cairo.inc20
-rw-r--r--meta-oe/recipes-graphics/cairo/cairo_1.10.0.bb12
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
2def 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 @@
1SECTION = "libs"
2PRIORITY = "optional"
3DEPENDS = "virtual/libx11 pixman libsm libpng fontconfig libxrender glib-2.0"
4DESCRIPTION = "Cairo graphics library"
5LICENSE = "MPL LGPL"
6
7#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
8require cairo-fpu.inc
9EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}"
10
11inherit autotools pkgconfig
12
13BBCLASSEXTEND = "native"
14
15PACKAGES =+ "cairo-trace cairo-trace-dev libcairo-script-interpreter libcairo-gobject"
16FILES_libcairo-gobject = "${libdir}/libcairo-gobject.so.*"
17FILES_libcairo-script-interpreter = "${libdir}/libcairo-script-interpreter.so.*"
18FILES_cairo-trace = "${bindir}/*trace ${libdir}/cairo/libcairo-trace.so.*"
19FILES_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 @@
1require cairo.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77"
4
5PR = "r1"
6
7SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz;name=cairo \
8"
9
10SRC_URI[cairo.md5sum] = "70a2ece66cf473d976e2db0f75bf199e"
11SRC_URI[cairo.sha256sum] = "0f2ce4cc4615594088d74eb8b5360bad7c3cc3c3da9b61af9bfd979ed1ed94b2"
12