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 04D7F15838C for ; Sat, 27 Jan 2024 10:02:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31D99E29CA; Sat, 27 Jan 2024 10:02:30 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16674E29CA for ; Sat, 27 Jan 2024 10:02:30 +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 06D1234336D for ; Sat, 27 Jan 2024 10:02:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61AF614A8 for ; Sat, 27 Jan 2024 10:02:27 +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: <1706349739.7a4607f92a3c4fae7ca3ba086786c1b3be8e0bed.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/mcomix/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/mcomix/Manifest media-gfx/mcomix/mcomix-3.1.0.ebuild X-VCS-Directories: media-gfx/mcomix/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 7a4607f92a3c4fae7ca3ba086786c1b3be8e0bed X-VCS-Branch: master Date: Sat, 27 Jan 2024 10:02:27 +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: 9b97bc16-6f44-40d4-b1e1-b4563c6163eb X-Archives-Hash: 91fe7d6836ed87f7cd99b06df627d1ae commit: 7a4607f92a3c4fae7ca3ba086786c1b3be8e0bed Author: Bernard Cafarelli gentoo org> AuthorDate: Fri Jan 26 19:03:14 2024 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Sat Jan 27 10:02:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a4607f9 media-gfx/mcomix: add 3.1.0 Signed-off-by: Bernard Cafarelli gentoo.org> media-gfx/mcomix/Manifest | 1 + media-gfx/mcomix/mcomix-3.1.0.ebuild | 59 ++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/media-gfx/mcomix/Manifest b/media-gfx/mcomix/Manifest index a2ef0bdd0690..377fb88d4f84 100644 --- a/media-gfx/mcomix/Manifest +++ b/media-gfx/mcomix/Manifest @@ -1,3 +1,4 @@ DIST mcomix-2.1.1.tar.gz 517628 BLAKE2B fb4d6cb4a10966795156672e8710e264f6e22abeebc3bd9471f378169417a6aab39c705d916624b9c1cd547516ae042d94cf00cf4596242f4655045c305bc630 SHA512 699fc1fe2348491ca5f94c9142e8a7432a3afc932aff42187ec57b5026d84ad189700283082fb60f920088747f13cc8f74297feaaab8ce2a5a9bd42d74b7f5e2 DIST mcomix-2.2.1.tar.gz 531734 BLAKE2B 4dfff8f12b3e719dcb9c32535b8d53fe5443a743fb2a7287e2b00ebb7325124c04fca5fbc853462f7e55a5ca361ba6bebd9abe5f07bad67abd5278facd9e6303 SHA512 9f9e2f0f2b0b7d1c7f5d027e852bf081c63789676ed4dabd7bce3f442b51954f3950926086ba8d279a4c88fd8f8918690bdca07d4681671ac11e97e79a73829b DIST mcomix-3.0.0.tar.gz 666676 BLAKE2B 48c4566cc09c99e4cea76e487753c43fc36ed9e06c26dd1cbcf0e16b1ded4cf438cbcd2d423bdff393468a368d226a499b70967b9fc094d526bb4637c5d3b24b SHA512 e6661c72e132cef04a16b795b17262da706fd27c169d791a576be4fe812c2fc5e5c1f83fb6c4ed094eb9a305ba836524d0717fc6dfa77d8543493bda71d9d815 +DIST mcomix-3.1.0.tar.gz 668651 BLAKE2B 9e5ca2a1735aaf77f4e46b926c36655e9e5fe19c37ce7583e88a71cc13978ee51ae7793ddef03d74829449f0960dcf42044a1ad41f59d1945d25c58d99b792fa SHA512 1331b0db1501f2e5e9e4b6a5250b6aaa70d4c0ab1198e49761fb27bc6c9114d37abfb1807272721e8bf6f822500eb71c8b8ef8af28dd10d979abf36bd399ef5f diff --git a/media-gfx/mcomix/mcomix-3.1.0.ebuild b/media-gfx/mcomix/mcomix-3.1.0.ebuild new file mode 100644 index 000000000000..d6fa2ffcfe75 --- /dev/null +++ b/media-gfx/mcomix/mcomix-3.1.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) +inherit desktop distutils-r1 optfeature xdg + +DESCRIPTION="GTK image viewer for comic book archives" +HOMEPAGE="https://mcomix.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/pillow-6.0.0[${PYTHON_USEDEP}] + >=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.36.0[${PYTHON_USEDEP}] + media-libs/libjpeg-turbo:0 + x11-libs/gtk+:3[introspection]" +BDEPEND="sys-devel/gettext" +# Most tests are quite old and do not run +RESTRICT="test" + +src_prepare() { + default + + # Uncompress man page + gunzip share/man/man1/mcomix.1.gz || die +} + +src_install() { + distutils-r1_src_install + + # 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() { + xdg_pkg_postinst + + optfeature "RAR (.cbr) archives" app-arch/unrar + optfeature "7Zip archives" app-arch/p7zip + optfeature "LHA/LZA archives" app-arch/lha + optfeature "PDF files" app-text/mupdf +}