summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-12-17 12:14:51 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-12-17 12:14:51 +0000
commit0dd091d1ea23b1a9bf6037a8b175779f12cc8721 (patch)
tree23789365948437de87abec37413d1ad92a24ffa5 /meta
parent5486cc46f785902a72bc46a164892dd42653bc08 (diff)
downloadopenembedded-core-0dd091d1ea23b1a9bf6037a8b175779f12cc8721.tar.gz
openembedded-core-0dd091d1ea23b1a9bf6037a8b175779f12cc8721.tar.bz2
openembedded-core-0dd091d1ea23b1a9bf6037a8b175779f12cc8721.zip
librsvg: Add 2.22.3 and svn versions
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/librsvg/librsvg_2.22.3.bb35
-rw-r--r--meta/packages/librsvg/librsvg_svn.bb45
2 files changed, 80 insertions, 0 deletions
diff --git a/meta/packages/librsvg/librsvg_2.22.3.bb b/meta/packages/librsvg/librsvg_2.22.3.bb
new file mode 100644
index 0000000000..c33dca155f
--- /dev/null
+++ b/meta/packages/librsvg/librsvg_2.22.3.bb
@@ -0,0 +1,35 @@
+DESCRIPTION = "Library for rendering SVG files"
+SECTION = "x11/utils"
+DEPENDS = "gtk+ libcroco cairo libxml2 popt"
+LICENSE = "LGPL"
+PR = "r3"
+
+EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disable-gnome-vfs"
+
+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/*.*a \
+ ${libdir}/gtk-2.0/*/loaders/*.*a \
+ ${libdir}/gtk-2.0/*/engines/*.*a"
+FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug \
+ ${libdir}/gtk-2.0/*/*/.debug"
+
+do_stage() {
+ autotools_stage_all
+}
+
+pkg_postinst_librsvg-gtk() {
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+
+test -x ${bindir}/gdk-pixbuf-query-loaders && { gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders ; }
+test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor
+}
diff --git a/meta/packages/librsvg/librsvg_svn.bb b/meta/packages/librsvg/librsvg_svn.bb
new file mode 100644
index 0000000000..3ee509dad1
--- /dev/null
+++ b/meta/packages/librsvg/librsvg_svn.bb
@@ -0,0 +1,45 @@
+DESCRIPTION = "Library for rendering SVG files"
+SECTION = "x11/utils"
+DEPENDS = "gtk+ libcroco cairo libxml2 popt"
+LICENSE = "LGPL"
+PR = "r3"
+
+EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disable-gnome-vfs"
+
+inherit autotools pkgconfig gnome
+
+SRC_URI = "svn://svn.gnome.org/svn/${PN};module=trunk"
+PV = "2.22.3+svnr${SRCREV}"
+SRCREV = "${AUTOREV}"
+
+S = "${WORKDIR}/trunk"
+
+do_configure_prepend () {
+ echo "CLEANFILES=" > gtk-doc.make
+}
+
+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/*.*a \
+ ${libdir}/gtk-2.0/*/loaders/*.*a \
+ ${libdir}/gtk-2.0/*/engines/*.*a"
+FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug \
+ ${libdir}/gtk-2.0/*/*/.debug"
+
+do_stage() {
+ autotools_stage_all
+}
+
+pkg_postinst_librsvg-gtk() {
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+
+test -x ${bindir}/gdk-pixbuf-query-loaders && { gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders ; }
+test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor
+}