diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2023-09-21 23:23:05 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2023-09-21 23:23:57 +0200 |
commit | af3778c04e7b4c8960b4f48dd239994d3e60cff2 (patch) | |
tree | 9eb49be45baddd1ee8d36ac25cf99f030c411078 /media-gfx/mcomix | |
parent | sys-apps/plocate: drop 1.1.17, 1.1.18 (diff) | |
download | gentoo-af3778c04e7b4c8960b4f48dd239994d3e60cff2.tar.gz gentoo-af3778c04e7b4c8960b4f48dd239994d3e60cff2.tar.bz2 gentoo-af3778c04e7b4c8960b4f48dd239994d3e60cff2.zip |
media-gfx/mcomix: add 3.0.0
Closes: https://bugs.gentoo.org/857183
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'media-gfx/mcomix')
-rw-r--r-- | media-gfx/mcomix/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/mcomix/mcomix-3.0.0.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/media-gfx/mcomix/Manifest b/media-gfx/mcomix/Manifest index 06b612c92f10..b6a94e19796a 100644 --- a/media-gfx/mcomix/Manifest +++ b/media-gfx/mcomix/Manifest @@ -1,3 +1,4 @@ DIST mcomix-2.1.0.tar.gz 517070 BLAKE2B 71aa67b48ac4cc09f12516312a07c1688e3d9ba086e0af8fab0f22549814fc82841b30965b7ac4e90192086338414c50d253af2d37b158fea8fc2358cee3d3db SHA512 385654c48192c20e285a053a8a90f1e792d58f7adbb0960745f31703d2ff5906f5e5bfd868ebaa08dd27314543a761a255503e5d586edd1baa064ffcea0205ca 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 diff --git a/media-gfx/mcomix/mcomix-3.0.0.ebuild b/media-gfx/mcomix/mcomix-3.0.0.ebuild new file mode 100644 index 000000000000..1afebf0d5c64 --- /dev/null +++ b/media-gfx/mcomix/mcomix-3.0.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 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" +IUSE="" + +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() { + 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() { + 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 +} |