summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2020-10-16 20:29:24 +0300
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-10-16 20:29:41 +0300
commitaa8f00b55e3c63ff8573a4163fc25d804856cf63 (patch)
tree5c9bf4601347b109d41cd6d12f3a169f61070c00 /media-gfx/luminance-hdr
parentdev-python/sqlalchemy: update upstream metadata (diff)
downloadgentoo-aa8f00b55e3c63ff8573a4163fc25d804856cf63.tar.gz
gentoo-aa8f00b55e3c63ff8573a4163fc25d804856cf63.tar.bz2
gentoo-aa8f00b55e3c63ff8573a4163fc25d804856cf63.zip
media-gfx/luminance-hdr: Move metainfo to correct location
Closes: https://bugs.gentoo.org/740022 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'media-gfx/luminance-hdr')
-rw-r--r--media-gfx/luminance-hdr/luminance-hdr-2.6.0.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.6.0.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.6.0.ebuild
index 0ba1f7bd103..aed8d469a71 100644
--- a/media-gfx/luminance-hdr/luminance-hdr-2.6.0.ebuild
+++ b/media-gfx/luminance-hdr/luminance-hdr-2.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -76,6 +76,14 @@ src_configure() {
cmake_src_configure
}
+src_install() {
+ cmake_src_install
+
+ mkdir -p "${D}/usr/share/metainfo" || die
+ mv "${D}/usr/share/appdata/"* "${D}/usr/share/metainfo/" || die
+ rmdir "${D}/usr/share/appdata" || die
+}
+
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update