summaryrefslogtreecommitdiff
path: root/openembedded/packages/shared-mime-info/shared-mime-info_0.16.bb
blob: fe68d3167d80fbc9a8b8bcaf0ebb6c1a42d6804b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SECTION = "base"
PR = "r1"

DEPENDS = "libxml2 intltool-native"

SRC_URI = "http://freedesktop.org/~jrb/shared-mime-info-${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
}