libreoffice: add mime-xdg and set MIME_XDG_PACKAGES properly

Libreoffice installs desktop files as absolute links. That makes special
handling with mime-xdg/MIME_XDG_PACKAGES necessary.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2020-01-19 16:50:35 +01:00
parent beaf3ad7f5
commit 5424b390f3

View File

@@ -1,6 +1,8 @@
require ${BPN}.inc
inherit gobject-introspection bash-completion gtk-icon-cache mime
inherit gobject-introspection bash-completion gtk-icon-cache mime mime-xdg
MIME_XDG_PACKAGES = "${PN}"
SRC_URI += " \
http://download.documentfoundation.org/libreoffice/src/${DIRV}/${BPN}-translations-${PV}.tar.xz;name=translations \