commit: 98129b93b50b7f5c5acc2769e0e336873923dc93 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Sat Oct 17 22:15:11 2020 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sat Oct 17 22:20:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98129b93
x11-wm/xpra: Move metainfo files to correct location Closes: https://bugs.gentoo.org/743130 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> x11-wm/xpra/xpra-3.0.5-r1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/x11-wm/xpra/xpra-3.0.5-r1.ebuild b/x11-wm/xpra/xpra-3.0.5-r1.ebuild index 24df1d4e4d9..50ffaccdea5 100644 --- a/x11-wm/xpra/xpra-3.0.5-r1.ebuild +++ b/x11-wm/xpra/xpra-3.0.5-r1.ebuild @@ -74,6 +74,14 @@ PATCHES=( "${FILESDIR}"/${PN}-3.0.2-ldconfig.patch ) +src_install() { + distutils-r1_src_install + + mkdir -p "${ED}/usr/share/metainfo" || die + mv "${ED}/usr/share/appdata/"* "${ED}/usr/share/metainfo/" || die + rmdir "${ED}/usr/share/appdata" || die +} + pkg_postinst() { enewgroup ${PN} tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf