cairo: add 1.3.2 dev snapshot
authorLeon Woestenberg <leon.woestenberg@gmail.com>
Thu, 16 Nov 2006 23:30:42 +0000 (23:30 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 16 Nov 2006 23:30:42 +0000 (23:30 +0000)
packages/cairo/cairo-1.3.2/.mtn2git_empty [new file with mode: 0644]
packages/cairo/cairo-1.3.2/configure.in_requires_pkg-config-0.15.diff [new file with mode: 0644]
packages/cairo/cairo_1.3.2.bb [new file with mode: 0644]

diff --git a/packages/cairo/cairo-1.3.2/.mtn2git_empty b/packages/cairo/cairo-1.3.2/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
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 (file)
index 0000000..2bd70a5
--- /dev/null
@@ -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 (file)
index 0000000..6d9a7c4
--- /dev/null
@@ -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
+}