diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2023-09-21 23:23:42 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2023-09-21 23:23:58 +0200 |
commit | 2616b804dbd53b9cb52ea03436f8c17f7e8bbeb7 (patch) | |
tree | f1e3cceae5168acff071f0a92599d776cd481ec8 /media-gfx/mcomix/mcomix-9999.ebuild | |
parent | media-gfx/mcomix: add 3.0.0 (diff) | |
download | gentoo-2616b804dbd53b9cb52ea03436f8c17f7e8bbeb7.tar.gz gentoo-2616b804dbd53b9cb52ea03436f8c17f7e8bbeb7.tar.bz2 gentoo-2616b804dbd53b9cb52ea03436f8c17f7e8bbeb7.zip |
media-gfx/mcomix: sync live ebuild
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'media-gfx/mcomix/mcomix-9999.ebuild')
-rw-r--r-- | media-gfx/mcomix/mcomix-9999.ebuild | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/media-gfx/mcomix/mcomix-9999.ebuild b/media-gfx/mcomix/mcomix-9999.ebuild index 70caed9ab1ae..60b81574d92d 100644 --- a/media-gfx/mcomix/mcomix-9999.ebuild +++ b/media-gfx/mcomix/mcomix-9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..12} ) -inherit distutils-r1 git-r3 optfeature xdg +inherit desktop distutils-r1 git-r3 optfeature xdg DESCRIPTION="GTK image viewer for comic book archives" HOMEPAGE="https://mcomix.sourceforge.net" @@ -31,8 +31,23 @@ src_prepare() { default # Uncompress man page - gunzip mcomix.1.gz || die - sed -e "s/mcomix.1.gz/mcomix.1/" -i setup.py || die + gunzip share/man/man1/mcomix.1.gz || die +} + +src_install() { + default + + # Application meta files are not installed automatically anymore + domenu share/applications/*.desktop + local x + for x in 16 22 24 32 48 256 scalable; do + doicon -s ${x} share/icons/hicolor/${x}*/* + done + doman share/man/man1/mcomix.1 + insinto /usr/share/metainfo + doins share/metainfo/*.xml + insinto /usr/share/mime/packages + doins share/mime/packages/*.xml } pkg_postinst() { |