summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorShane Volpe <shanevolpe@gmail.com>2007-09-22 23:45:52 +0000
committerShane Volpe <shanevolpe@gmail.com>2007-09-22 23:45:52 +0000
commite08f51149bd655e670114418f1f873d93d938fd2 (patch)
treea525a2368e36c21f3e72bc377da6e38f1712b8e3 /packages
parent8cf1c3a637603ef6640bf6d452b6b9927e86cd07 (diff)
cairo-directfb: Added initial support
Diffstat (limited to 'packages')
-rw-r--r--packages/cairo/cairo-directfb_1.4.8.bb17
-rw-r--r--packages/cairo/files/cairo_directfb_is_similar-typo.patch11
2 files changed, 28 insertions, 0 deletions
diff --git a/packages/cairo/cairo-directfb_1.4.8.bb b/packages/cairo/cairo-directfb_1.4.8.bb
new file mode 100644
index 0000000000..d3f6509151
--- /dev/null
+++ b/packages/cairo/cairo-directfb_1.4.8.bb
@@ -0,0 +1,17 @@
+require cairo.inc
+
+DEPENDS = "directfb libsm libpng fontconfig"
+SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz \
+ file://cairo_directfb_is_similar-typo.patch;patch=1 \
+ "
+
+EXTRA_OECONF += " --enable-directfb \
+ --disable-xlib \
+ --disable-win32"
+
+LDFLAGS_append += " -ldirectfb"
+CFLAGS_append += " -I${STAGING_INCDIR}/directfb"
+
+PR = "r0"
+
+S = "${WORKDIR}/cairo-${PV}"
diff --git a/packages/cairo/files/cairo_directfb_is_similar-typo.patch b/packages/cairo/files/cairo_directfb_is_similar-typo.patch
new file mode 100644
index 0000000000..10c81464f0
--- /dev/null
+++ b/packages/cairo/files/cairo_directfb_is_similar-typo.patch
@@ -0,0 +1,11 @@
+--- cairo-1.4.8/src/cairo-directfb-surface.c~org 2007-09-22 19:34:35.000000000 -0400
++++ cairo-1.4.8/src/cairo-directfb-surface.c 2007-09-22 19:36:01.000000000 -0400
+@@ -1572,7 +1572,7 @@
+ NULL, /* show_glyphs */
+ #endif
+ NULL, /* snapshot */
+- _cairo_directfb_is_similar,
++ _cairo_directfb_surface_is_similar,
+ NULL /* reset */
+ };
+