summaryrefslogtreecommitdiff
path: root/meta/recipes-support/libfm
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-23 16:50:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-24 16:10:28 +0000
commitf6f527694e4f896b5d8a649f0b12f5b437c27cd1 (patch)
tree8be259b95c08ad462f6e890c9a64be02f08a4cb6 /meta/recipes-support/libfm
parent173a48f79f8f2f18737f1901fc5992223d456348 (diff)
downloadopenembedded-core-f6f527694e4f896b5d8a649f0b12f5b437c27cd1.tar.gz
openembedded-core-f6f527694e4f896b5d8a649f0b12f5b437c27cd1.tar.bz2
openembedded-core-f6f527694e4f896b5d8a649f0b12f5b437c27cd1.zip
libfm: Fix packaging and dependency issues
Add missing pango and glib-2.0 dependencies. Fix QA warnings: WARNING: For recipe libfm, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/gio WARNING: /usr/lib/gio/modules WARNING: /usr/share/mime WARNING: /usr/share/mime/packages WARNING: /usr/share/mime/packages/libfm.xml Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libfm')
-rw-r--r--meta/recipes-support/libfm/libfm_0.1.17.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-support/libfm/libfm_0.1.17.bb b/meta/recipes-support/libfm/libfm_0.1.17.bb
index adf8e64388..e3fd2de9bf 100644
--- a/meta/recipes-support/libfm/libfm_0.1.17.bb
+++ b/meta/recipes-support/libfm/libfm_0.1.17.bb
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://src/base/fm-config.h;endline=23;md5=ad0fc418c3cf041eea35ddb3daf37f17"
SECTION = "x11/libs"
-DEPENDS = "gtk+ menu-cache intltool-native"
+DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native"
-PR = "r2"
+PR = "r3"
SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz"
@@ -18,3 +18,11 @@ SRC_URI[md5sum] = "a97e03d973e6ac727f28d0934d6c9ad5"
SRC_URI[sha256sum] = "1740681cff4cd4c5a2eaa9805d8898269cfb6a49a0bda0acb242def15bc7131b"
inherit autotools pkgconfig
+
+do_install_append () {
+ rmdir ${D}${libdir}/gio/modules/
+ rmdir ${D}${libdir}/gio/
+}
+
+PACKAGES += "${PN}-mime"
+FILES_${PN}-mime = "${datadir}/mime/"