commit: aa8f00b55e3c63ff8573a4163fc25d804856cf63 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Fri Oct 16 17:29:24 2020 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Fri Oct 16 17:29:41 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa8f00b5
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 <AT> gentoo.org> media-gfx/luminance-hdr/luminance-hdr-2.6.0.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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
