summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-13 18:26:01 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-13 18:26:01 +0000
commitccd009b2fe06dd7a82bf1a87ff95eafe02e220c6 (patch)
treea68954527e297ddaf29267b8c3ce5d9c54ad7106
parent8a37e602c28e8d71e262a9583290b43010464648 (diff)
downloadopenembedded-core-ccd009b2fe06dd7a82bf1a87ff95eafe02e220c6.tar.gz
openembedded-core-ccd009b2fe06dd7a82bf1a87ff95eafe02e220c6.tar.bz2
openembedded-core-ccd009b2fe06dd7a82bf1a87ff95eafe02e220c6.tar.xz
openembedded-core-ccd009b2fe06dd7a82bf1a87ff95eafe02e220c6.zip
Add libcroco/librsvg (from OE) for oh-puzzles pending discussion to keep builds running
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1718 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/libcroco/files/croco.patch13
-rw-r--r--meta/packages/libcroco/libcroco_0.6.1.bb16
-rw-r--r--meta/packages/librsvg/librsvg_2.11.1.bb21
3 files changed, 50 insertions, 0 deletions
diff --git a/meta/packages/libcroco/files/croco.patch b/meta/packages/libcroco/files/croco.patch
new file mode 100644
index 000000000..572f9de59
--- /dev/null
+++ b/meta/packages/libcroco/files/croco.patch
@@ -0,0 +1,13 @@
+--- opie/configure.in.old 2006-05-19 20:57:30.000000000 +0100
++++ opie/configure.in 2006-05-19 20:57:56.000000000 +0100
+@@ -131,8 +131,8 @@
+ dnl Define the CROCO_LIBS and CROCO_CFLAGS variables. These will be used
+ dnl by client application to know where to find croco include files and libs.
+ dnl
+-CROCO_LIBS="-L${libdir} -lcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION"
+-CROCO_CFLAGS="-I${includedir}/libcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION"
++CROCO_LIBS='-L${libdir}'" -lcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION"
++CROCO_CFLAGS='-I${includedir}'"/libcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION"
+
+ AC_SUBST(LIBXML2_LIBS)
+ AC_SUBST(LIBXML2_CFLAGS)
diff --git a/meta/packages/libcroco/libcroco_0.6.1.bb b/meta/packages/libcroco/libcroco_0.6.1.bb
new file mode 100644
index 000000000..cc7fc05d6
--- /dev/null
+++ b/meta/packages/libcroco/libcroco_0.6.1.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "The Libcroco project is an effort to build a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit"
+SECTION = "x11/utils"
+DEPENDS = "glib-2.0 libxml2"
+LICENSE = "LGPL"
+PR = "r2"
+
+inherit autotools pkgconfig gnome
+
+SRC_URI_append = " file://croco.patch;patch=1 "
+
+do_stage() {
+ install -d ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/libcroco
+ install -m 644 src/*.h ${STAGING_INCDIR}/libcroco/
+ install -m 755 src/.libs/*so* ${STAGING_LIBDIR}/
+}
diff --git a/meta/packages/librsvg/librsvg_2.11.1.bb b/meta/packages/librsvg/librsvg_2.11.1.bb
new file mode 100644
index 000000000..4cddc1f2d
--- /dev/null
+++ b/meta/packages/librsvg/librsvg_2.11.1.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Library for rendering SVG files"
+SECTION = "x11/utils"
+DEPENDS = "gtk+ libcroco libart-lgpl libxml2 popt"
+LICENSE = "LGPL"
+PR = "r1"
+
+EXTRA_OECONF = "--disable-mozilla-plugin"
+
+inherit autotools pkgconfig gnome
+
+PACKAGES =+ "librsvg-gtk librsvg-gtk-dev rsvg"
+FILES_${PN} = "${libdir}/*.so.*"
+FILES_rsvg = "${bindir}/rsvg ${bindir}/rsvg-view ${datadir}/pixmaps/svg-viewer.svg"
+FILES_librsvg-gtk = "${libdir}/gtk-2.0/*/*/*.so"
+FILES_librsvg-gtk-dev = "${libdir}/gtk-2.0"
+
+EXTRA_OECONF = "--disable-mozilla-plugin"
+
+do_stage() {
+ autotools_stage_all
+}