summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/cairo/cairo_git.bb24
-rw-r--r--packages/librsvg/librsvg_2.16.0.bb25
2 files changed, 49 insertions, 0 deletions
diff --git a/packages/cairo/cairo_git.bb b/packages/cairo/cairo_git.bb
new file mode 100644
index 0000000000..28b03b653a
--- /dev/null
+++ b/packages/cairo/cairo_git.bb
@@ -0,0 +1,24 @@
+#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"
+
+PV = "1.3.2+git${SRCDATE}"
+
+SRC_URI = "git://git.cairographics.org/git/cairo;protocol=git \
+ "
+inherit autotools pkgconfig
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+ sed -i s:PKGCONFIG_REQUIRED=0.19:PKGCONFIG_REQUIRED=0.15: configure.in
+}
+
+do_stage () {
+ autotools_stage_all
+}
diff --git a/packages/librsvg/librsvg_2.16.0.bb b/packages/librsvg/librsvg_2.16.0.bb
new file mode 100644
index 0000000000..3110c12148
--- /dev/null
+++ b/packages/librsvg/librsvg_2.16.0.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Library for rendering SVG files"
+SECTION = "x11/utils"
+DEPENDS = "gtk+ libcroco cairo libart-lgpl libxml2 popt"
+LICENSE = "LGPL"
+PR = "r1"
+
+EXTRA_OECONF = "--disable-mozilla-plugin"
+
+inherit autotools pkgconfig gnome
+
+PACKAGES =+ "librsvg-gtk librsvg-gtk-dbg librsvg-gtk-dev rsvg"
+FILES_${PN} = "${libdir}/*.so.*"
+FILES_rsvg = "${bindir}/rsvg \
+ ${bindir}/rsvg-view \
+ ${bindir}/rsvg-convert \
+ ${datadir}/pixmaps/svg-viewer.svg"
+FILES_librsvg-gtk = "${libdir}/gtk-2.0/*/*/*.so.*"
+FILES_librsvg-gtk-dev += "${libdir}/gtk-2.0/*"
+FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug"
+
+EXTRA_OECONF = "--disable-mozilla-plugin"
+
+do_stage() {
+ autotools_stage_all
+}