diff options
-rw-r--r-- | meta/recipes-support/shared-mime-info/shared-mime-info.inc | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info.inc b/meta/recipes-support/shared-mime-info/shared-mime-info.inc index c2e5487019..3ad38b47cf 100644 --- a/meta/recipes-support/shared-mime-info/shared-mime-info.inc +++ b/meta/recipes-support/shared-mime-info/shared-mime-info.inc @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native" DEPENDS_virtclass-native = "libxml2-native intltool-native glib-2.0-native" -PR = "r0" +PR = "r1" SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2" @@ -18,11 +18,17 @@ EXTRA_OECONF = "--disable-update-mimedb" FILES_${PN} += "${datadir}/mime" FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc" -do_install_append() { - update-mime-database ${D}${datadir}/mime +do_install () { + autotools_do_install - # we do not need it on device and it is huge - rm ${D}${datadir}/mime/packages/freedesktop.org.xml + update-mime-database ${D}${datadir}/mime + + # we do not need it on device and it is huge + rm ${D}${datadir}/mime/packages/freedesktop.org.xml +} + +do_install_virtclass-native () { + autotools_do_install } BBCLASSEXTEND = "native" |