summaryrefslogtreecommitdiff
path: root/packages/shared-mime-info
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared-mime-info')
-rw-r--r--packages/shared-mime-info/shared-mime-info_0.14.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/shared-mime-info/shared-mime-info_0.14.bb b/packages/shared-mime-info/shared-mime-info_0.14.bb
index e69de29bb2..eecbc808f2 100644
--- a/packages/shared-mime-info/shared-mime-info_0.14.bb
+++ b/packages/shared-mime-info/shared-mime-info_0.14.bb
@@ -0,0 +1,18 @@
+SECTION = "base"
+PR = "r1"
+
+DEPENDS = "libxml2 intltool-native"
+
+SRC_URI = "http://freedesktop.org/Software/shared-mime-info/${PN}-${PV}.tar.gz"
+LICENSE = "GPL"
+inherit autotools pkgconfig gettext
+
+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
+}