[build] type = "meson" [build.flags] build_dir = "build" configure = ["-Dupdate-mimedb=false"] post_install = [ "install -Dm644 $DEPOT_SPECDIR/update-mime-database.toml $DESTDIR/usr/share/depot.d/hooks/30-update-mime-database.toml" ] [dependencies] build = [ "meson", "gettext", "xmlto", "docbook-xsl", ] runtime = [ "libxml215", "glibc", "libcxx", "libunwind", "glib2" ] [package] description = "Freedesktop.org Shared MIME Info" homepage = "https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/" license = "GPL-2.0-or-later" name = "shared-mime-info" version = "2.4" [[source]] extract_dir = "$name-$version" url = "https://gitlab.freedesktop.org/xdg/shared-mime-info.git#9a6d6b8e963935f145f3a1ef446552de6996dada" patches = [ "shared-mime-info-2.4-posixify.patch" ] [[manual_sources]] files = [ "update-mime-database.toml", "postremove.sh", "shared-mime-info-2.4-posixify.patch" ]