summaryrefslogtreecommitdiff
path: root/recipes/shared-mime-info/shared-mime-info_0.51.bb
blob: 31a7df18627ca5b355352b5306788ba07d3cf53a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require shared-mime-info.inc

DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native"
PR = "r2"

do_install_append() {
    update-mime-database ${D}${datadir}/mime
}

# freedesktop.org.xml is huge and only needed when updating the db
# mime.bbclass will add the dependency on it automagically
PACKAGES =+ "freedesktop-mime-info"
FILES_freedesktop-mime-info = "${datadir}/mime/packages/freedesktop.org.xml"
RDEPENDS_freedesktop-mime-info = "shared-mime-info"