summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/cairo/cairo-1.3.2/.mtn2git_empty0
-rw-r--r--packages/cairo/cairo-1.3.2/configure.in_requires_pkg-config-0.15.diff13
-rw-r--r--packages/cairo/cairo_1.3.2.bb17
3 files changed, 30 insertions, 0 deletions
diff --git a/packages/cairo/cairo-1.3.2/.mtn2git_empty b/packages/cairo/cairo-1.3.2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/cairo/cairo-1.3.2/.mtn2git_empty
diff --git a/packages/cairo/cairo-1.3.2/configure.in_requires_pkg-config-0.15.diff b/packages/cairo/cairo-1.3.2/configure.in_requires_pkg-config-0.15.diff
new file mode 100644
index 0000000000..2bd70a532c
--- /dev/null
+++ b/packages/cairo/cairo-1.3.2/configure.in_requires_pkg-config-0.15.diff
@@ -0,0 +1,13 @@
+Index: cairo-1.3.2-r0/cairo-1.3.2/configure.in
+===================================================================
+--- cairo-1.3.2-r0.orig/cairo-1.3.2/configure.in 2006-11-15 22:31:59.000000000 +0100
++++ cairo-1.3.2-r0/cairo-1.3.2/configure.in 2006-11-16 23:15:07.000000000 +0100
+@@ -90,7 +90,7 @@
+
+ dnl ===========================================================================
+
+-PKGCONFIG_REQUIRED=0.19
++PKGCONFIG_REQUIRED=0.15
+ PKG_PROG_PKG_CONFIG($PKGCONFIG_REQUIRED)
+ if test "x$PKG_CONFIG" = x; then
+ AC_MSG_ERROR([pkg-config >= $PKGCONFIG_REQUIRED required but not found (http://pkgconfig.freedesktop.org/)])
diff --git a/packages/cairo/cairo_1.3.2.bb b/packages/cairo/cairo_1.3.2.bb
new file mode 100644
index 0000000000..6d9a7c43ab
--- /dev/null
+++ b/packages/cairo/cairo_1.3.2.bb
@@ -0,0 +1,17 @@
+#This is a development snapshot, so lets hint OE to use the releases
+DEFAULT_PREFERENCE = "-1"
+
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "virtual/libx11 libsm libpng fontconfig libxrender"
+DESCRIPTION = "Cairo graphics library"
+LICENSE = "MPL LGPL"
+
+SRC_URI = "http://cairographics.org/snapshots/cairo-${PV}.tar.gz \
+ file://configure.in_requires_pkg-config-0.15.diff;patch=1;pnum=2"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ autotools_stage_all
+}