diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-17 12:14:51 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-17 12:14:51 +0000 |
commit | 0dd091d1ea23b1a9bf6037a8b175779f12cc8721 (patch) | |
tree | 23789365948437de87abec37413d1ad92a24ffa5 /meta | |
parent | 5486cc46f785902a72bc46a164892dd42653bc08 (diff) | |
download | poky-0dd091d1ea23b1a9bf6037a8b175779f12cc8721.tar.gz |
librsvg: Add 2.22.3 and svn versions
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/librsvg/librsvg_2.22.3.bb | 35 | ||||
-rw-r--r-- | meta/packages/librsvg/librsvg_svn.bb | 45 |
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 @@ | |||
1 | DESCRIPTION = "Library for rendering SVG files" | ||
2 | SECTION = "x11/utils" | ||
3 | DEPENDS = "gtk+ libcroco cairo libxml2 popt" | ||
4 | LICENSE = "LGPL" | ||
5 | PR = "r3" | ||
6 | |||
7 | EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disable-gnome-vfs" | ||
8 | |||
9 | inherit autotools pkgconfig gnome | ||
10 | |||
11 | PACKAGES =+ "librsvg-gtk librsvg-gtk-dbg librsvg-gtk-dev rsvg" | ||
12 | FILES_${PN} = "${libdir}/*.so.*" | ||
13 | FILES_rsvg = "${bindir}/rsvg \ | ||
14 | ${bindir}/rsvg-view \ | ||
15 | ${bindir}/rsvg-convert \ | ||
16 | ${datadir}/pixmaps/svg-viewer.svg" | ||
17 | FILES_librsvg-gtk = "${libdir}/gtk-2.0/*/*/*.so" | ||
18 | FILES_librsvg-gtk-dev += "${libdir}/gtk-2.0/*.*a \ | ||
19 | ${libdir}/gtk-2.0/*/loaders/*.*a \ | ||
20 | ${libdir}/gtk-2.0/*/engines/*.*a" | ||
21 | FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug \ | ||
22 | ${libdir}/gtk-2.0/*/*/.debug" | ||
23 | |||
24 | do_stage() { | ||
25 | autotools_stage_all | ||
26 | } | ||
27 | |||
28 | pkg_postinst_librsvg-gtk() { | ||
29 | if [ "x$D" != "x" ]; then | ||
30 | exit 1 | ||
31 | fi | ||
32 | |||
33 | test -x ${bindir}/gdk-pixbuf-query-loaders && { gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders ; } | ||
34 | test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor | ||
35 | } | ||
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 @@ | |||
1 | DESCRIPTION = "Library for rendering SVG files" | ||
2 | SECTION = "x11/utils" | ||
3 | DEPENDS = "gtk+ libcroco cairo libxml2 popt" | ||
4 | LICENSE = "LGPL" | ||
5 | PR = "r3" | ||
6 | |||
7 | EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disable-gnome-vfs" | ||
8 | |||
9 | inherit autotools pkgconfig gnome | ||
10 | |||
11 | SRC_URI = "svn://svn.gnome.org/svn/${PN};module=trunk" | ||
12 | PV = "2.22.3+svnr${SRCREV}" | ||
13 | SRCREV = "${AUTOREV}" | ||
14 | |||
15 | S = "${WORKDIR}/trunk" | ||
16 | |||
17 | do_configure_prepend () { | ||
18 | echo "CLEANFILES=" > gtk-doc.make | ||
19 | } | ||
20 | |||
21 | PACKAGES =+ "librsvg-gtk librsvg-gtk-dbg librsvg-gtk-dev rsvg" | ||
22 | FILES_${PN} = "${libdir}/*.so.*" | ||
23 | FILES_rsvg = "${bindir}/rsvg \ | ||
24 | ${bindir}/rsvg-view \ | ||
25 | ${bindir}/rsvg-convert \ | ||
26 | ${datadir}/pixmaps/svg-viewer.svg" | ||
27 | FILES_librsvg-gtk = "${libdir}/gtk-2.0/*/*/*.so" | ||
28 | FILES_librsvg-gtk-dev += "${libdir}/gtk-2.0/*.*a \ | ||
29 | ${libdir}/gtk-2.0/*/loaders/*.*a \ | ||
30 | ${libdir}/gtk-2.0/*/engines/*.*a" | ||
31 | FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug \ | ||
32 | ${libdir}/gtk-2.0/*/*/.debug" | ||
33 | |||
34 | do_stage() { | ||
35 | autotools_stage_all | ||
36 | } | ||
37 | |||
38 | pkg_postinst_librsvg-gtk() { | ||
39 | if [ "x$D" != "x" ]; then | ||
40 | exit 1 | ||
41 | fi | ||
42 | |||
43 | test -x ${bindir}/gdk-pixbuf-query-loaders && { gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders ; } | ||
44 | test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor | ||
45 | } | ||