mime-xdg.bbclass: initial add

When opening files by file-browsers on fresh images, user has to choose the
application to open from the pool af ALL known applications even those not
designed to open the file selected. By inheriting this classs in recipes the
assosiations in /usr/share/applications/mimeinfo.cache are build by calling
update-desktop-database.

(From OE-Core rev: 20208d6763e725cea211f933ec1c8e32733a10af)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andreas Müller authored and Richard Purdie committed 2020-01-19 13:24:38 +00:00
1 parent 27767c55df
commit 94c42e7fdd
2 files changed
+82

No files matched your search

@@ -0,0 +1,8 @@
#!/bin/sh
#
# SPDX-License-Identifier: MIT
#
# Post-install intercept for mime-xdg.bbclass
update-desktop-database $D${desktop_dir}