From 973fabc6db9398869c5257b9c761d9d741d5c407 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 12 Mar 2012 21:30:15 +0000 Subject: librsvg: Fix unpackaged directory warnings This patch fixes the QA warnings: WARNING: For recipe librsvg, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/gtk-3.0 WARNING: /usr/lib/gtk-3.0/engines Signed-off-by: Richard Purdie --- meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'meta/recipes-gnome') diff --git a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb index faefecd8a..74286fde6 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ SECTION = "x11/utils" DEPENDS = "gtk+ libcroco cairo libxml2 popt" -PR = "r2" +PR = "r3" inherit autotools pkgconfig gnome @@ -25,6 +25,11 @@ do_configure_prepend () { echo "CLEANFILES=" > gtk-doc.make } +do_install_append () { + rmdir ${D}${libdir}/gtk-3.0/engines/ + rmdir ${D}${libdir}/gtk-3.0/ +} + PACKAGES =+ "librsvg-gtk librsvg-gtk-dbg librsvg-gtk-dev rsvg" FILES_${PN} = "${libdir}/*.so.*" FILES_${PN}-staticdev += "${libdir}/gdk-pixbuf-2.0/*.a ${libdir}/gdk-pixbuf-2.0/*/*/*.a \ -- cgit v1.2.3