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

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 in $D${datadir}/mime ... (This may take a while.)"
  ${bindir}/update-mime-database $D${datadir}/mime
}