clearsilver: fix various build issues
[openembedded.git] / recipes / librsvg / librsvg_2.22.2.bb
blob2429b505525de1a596fa290668d2e2248fa1565f
1 DESCRIPTION = "Library for rendering SVG files"
2 SECTION = "x11/utils"
3 DEPENDS = "gtk+ libcroco cairo libart-lgpl libxml2 popt"
4 LICENSE = "LGPL"
6 inherit autotools pkgconfig gnome
8 EXTRA_OECONF = "--disable-mozilla-plugin"
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/*.la \
19 ${libdir}/gtk-2.0/*/*.la \
20 ${libdir}/gtk-2.0/*/*/*.la \
22 FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug \
23 ${libdir}/gtk-2.0/*/*/.debug"
25 pkg_postinst_librsvg-gtk() {
26 if [ "x$D" != "x" ]; then
27 exit 1
29 gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders
32 do_stage() {
33 autotools_stage_all