From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB0D5138359 for ; Fri, 16 Oct 2020 17:29:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DE8AE0801; Fri, 16 Oct 2020 17:29:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E5CC3E0801 for ; Fri, 16 Oct 2020 17:29:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91A61340FBF for ; Fri, 16 Oct 2020 17:29:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 081612EE for ; Fri, 16 Oct 2020 17:29:56 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1602869381.aa8f00b55e3c63ff8573a4163fc25d804856cf63.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/luminance-hdr/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/luminance-hdr/luminance-hdr-2.6.0.ebuild X-VCS-Directories: media-gfx/luminance-hdr/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: aa8f00b55e3c63ff8573a4163fc25d804856cf63 X-VCS-Branch: master Date: Fri, 16 Oct 2020 17:29:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ba736299-e426-419e-ad5d-71132501a65f X-Archives-Hash: 7f017987c336a8af6ad0ae2d64f89fec commit: aa8f00b55e3c63ff8573a4163fc25d804856cf63 Author: Andreas K. Hüttel gentoo org> AuthorDate: Fri Oct 16 17:29:24 2020 +0000 Commit: Andreas K. Hüttel gentoo 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 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