summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-mime-info/shared-mime-info_0.14.oe17
1 files changed, 17 insertions, 0 deletions
diff --git a/shared-mime-info/shared-mime-info_0.14.oe b/shared-mime-info/shared-mime-info_0.14.oe
index e69de29bb2..cff25897ec 100644
--- a/shared-mime-info/shared-mime-info_0.14.oe
+++ b/shared-mime-info/shared-mime-info_0.14.oe
@@ -0,0 +1,17 @@
+PR = "r1"
+
+DEPENDS = "libxml2"
+
+SRC_URI = "http://freedesktop.org/Software/shared-mime-info/${PN}-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${datadir}/mime"
+#FILES_${PN}-doc += " ${datadir}/gtk-doc"
+
+EXTRA_OECONF = "--disable-update-mimedb"
+
+pkg_postinst () {
+ echo "Updating MIME database... this may take a while."
+ ${bindir}/update-mime-database ${datadir}/mime
+} \ No newline at end of file