summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/cairo/cairo.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/cairo/cairo.inc')
-rw-r--r--meta-oe/recipes-graphics/cairo/cairo.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/cairo/cairo.inc b/meta-oe/recipes-graphics/cairo/cairo.inc
new file mode 100644
index 0000000..42774e0
--- /dev/null
+++ b/meta-oe/recipes-graphics/cairo/cairo.inc
@@ -0,0 +1,20 @@
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "virtual/libx11 pixman libsm libpng fontconfig libxrender glib-2.0"
+DESCRIPTION = "Cairo graphics library"
+LICENSE = "MPL LGPL"
+
+#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
+require cairo-fpu.inc
+EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}"
+
+inherit autotools pkgconfig
+
+BBCLASSEXTEND = "native"
+
+PACKAGES =+ "cairo-trace cairo-trace-dev libcairo-script-interpreter libcairo-gobject"
+FILES_libcairo-gobject = "${libdir}/libcairo-gobject.so.*"
+FILES_libcairo-script-interpreter = "${libdir}/libcairo-script-interpreter.so.*"
+FILES_cairo-trace = "${bindir}/*trace ${libdir}/cairo/libcairo-trace.so.*"
+FILES_cairo-trace-dev = "${libdir}/cairo/*"
+
OpenPOWER on IntegriCloud