From 5424b390f3693329c851efd7bfadac5ae8d265b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 19 Jan 2020 16:50:35 +0100 Subject: [PATCH] libreoffice: add mime-xdg and set MIME_XDG_PACKAGES properly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Libreoffice installs desktop files as absolute links. That makes special handling with mime-xdg/MIME_XDG_PACKAGES necessary. Signed-off-by: Andreas Müller --- recipes-libreoffice/libreoffice/libreoffice.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-libreoffice/libreoffice/libreoffice.bb b/recipes-libreoffice/libreoffice/libreoffice.bb index 2832936..4589f6a 100644 --- a/recipes-libreoffice/libreoffice/libreoffice.bb +++ b/recipes-libreoffice/libreoffice/libreoffice.bb @@ -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 \