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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B77E115814C for ; Thu, 21 Sep 2023 21:24:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C18562BC0D3; Thu, 21 Sep 2023 21:24:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A16342BC0D3 for ; Thu, 21 Sep 2023 21:24:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7EC8633BE4D for ; Thu, 21 Sep 2023 21:24:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9E2211D6 for ; Thu, 21 Sep 2023 21:24:00 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1695331438.2616b804dbd53b9cb52ea03436f8c17f7e8bbeb7.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/mcomix/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/mcomix/mcomix-9999.ebuild X-VCS-Directories: media-gfx/mcomix/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 2616b804dbd53b9cb52ea03436f8c17f7e8bbeb7 X-VCS-Branch: master Date: Thu, 21 Sep 2023 21:24:00 +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: bce4c9be-4b37-454c-b5d1-62ab4ec1b3a5 X-Archives-Hash: 905098d7ad594c925fb7acb6127c9242 commit: 2616b804dbd53b9cb52ea03436f8c17f7e8bbeb7 Author: Bernard Cafarelli gentoo org> AuthorDate: Thu Sep 21 21:23:42 2023 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Thu Sep 21 21:23:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2616b804 media-gfx/mcomix: sync live ebuild Signed-off-by: Bernard Cafarelli gentoo.org> media-gfx/mcomix/mcomix-9999.ebuild | 21 ++++++++++++++++++--- 1 file 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() {