From fcc5224904648a8e6eb528d7603154160a20022f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Feb 2022 01:39:05 +0000 Subject: gentoo resync : 02.02.2022 --- media-gfx/mcomix/Manifest | 4 +- media-gfx/mcomix/mcomix-1.3.0_pre20200206.ebuild | 78 ------------------------ media-gfx/mcomix/mcomix-1.3.0_pre20211015.ebuild | 75 +++++++++++++++++++++++ 3 files changed, 77 insertions(+), 80 deletions(-) delete mode 100644 media-gfx/mcomix/mcomix-1.3.0_pre20200206.ebuild create mode 100644 media-gfx/mcomix/mcomix-1.3.0_pre20211015.ebuild (limited to 'media-gfx/mcomix') diff --git a/media-gfx/mcomix/Manifest b/media-gfx/mcomix/Manifest index 5df817fda5c4..92b89d197043 100644 --- a/media-gfx/mcomix/Manifest +++ b/media-gfx/mcomix/Manifest @@ -1,6 +1,6 @@ -DIST mcomix-1.3.0_pre20200206.tar.gz 3292571 BLAKE2B ad76316020645495042d27bf831588e628da11077efe29b302a57be4e688558b4db8d3f850200bf4a54b84b428a16a52f88ea5e20be85b628ef3630a5f624643 SHA512 c98d4a7022993af3a5c0b5425df52f14b586549472bcd4576a72039c8c6d4fde31df4255df45ab7467acb0280bda02b92d4803b7f92b7c1c818b58df7b52a3ff DIST mcomix-1.3.0_pre20201123.tar.gz 3888279 BLAKE2B 0bce5d8b3d6e20fc3c422d137963fa8cf506ce969bb5c8062b1db4dcd85d5c1912352fa1eb8c752719b0ac95715486ae47d56e0bf24119f9f55af56f6fbf657c SHA512 24b470e1dca266851bb241f109b39c785443ece36d12a01e579c8a59cb7585ad3978b3696829318f04d4b172cfcf57cf100d76c7c25765260bf26f698d85ba2a -EBUILD mcomix-1.3.0_pre20200206.ebuild 1797 BLAKE2B 414154723a7dacda417fe9b2fd5a50d10e5b344a848f3580f833e6a5e7b3db112f93aa0a62d14606f9db6d8891797f36a2763f410d22cef37c912addd50d7325 SHA512 005c5a4ffcade8056c8c2af61359cb319a02ccb63e2514e4becb32345042be1d6e16444d0e688158317753367f78a5e7dfd42b8c40717cb168bf9d0e86738a82 +DIST mcomix-1.3.0_pre20211015.tar.gz 3888967 BLAKE2B 16275b5e63dbedb481dba34e787681a9bbc0615c53c71a0037f7d15fa5ee135b5c2508bbf4ef7fddeb45b65c291d5651d81b2e0a180de26054cdbe994ceab028 SHA512 93092a8ec992922bd2327c33a5ab86edbffcdc66e9da5b443d7e4131686b2c3b47017aa4f02b0ca991b6d08dd68e6578137bbf6028ca274efcd2679a12cfe05d EBUILD mcomix-1.3.0_pre20201123.ebuild 1748 BLAKE2B 14e8e0f23724d9493a9f2bd964c6719bd315b3e3073af7511ced836eb2b7c333f5817446ea297cb7ca8c586703f61f105b21081432622859d544a2a027897b25 SHA512 22dc9acd9097ad888b5711121b5d61b6044bf016548fc733f875b4b748e9798fe5c38321cd360ede2268bea6baa3f3e562a57c0a54c163864274e7ecc40666af +EBUILD mcomix-1.3.0_pre20211015.ebuild 1750 BLAKE2B 06c5cbd95d41463b23bd254ed97d2155866dcf728caa9ebb90af3ff5d6067c29e124b7525bfddcd47cb59ba37f6a4fd91198a605eaea48de00ed0b8231f61ef7 SHA512 aac8d7fb19235655800210742b11b26577cd8b021162561704eeffb9093754c09b8142bcc1428d99debaffd74a1705a0a2c9d9fcbaa5fd46c9acd8f2c162aaa5 EBUILD mcomix-9999.ebuild 1586 BLAKE2B aaf82b982a929793c956cbf20ec77287222c5f8baadc3478da3f174f67be7d0705528c492155ed2ddbfb0250b10e77d07bdf5facaa01672a5b40c177e7e17d24 SHA512 c4b9b32b436bd55ee7f87cea3e29c4ea1968c5d28a6a4ecf7cf36f010e134fc2a11ed5cff43699e28c42bd6870e8652a1154a3b1b2fbb4709b2c2f7499144431 MISC metadata.xml 398 BLAKE2B 1595be3107e03d5ea0602c77d75d0d5b10c6c36307edaa979b64ce3418c674cd3905578ea098159493860ea4b3fb3c297da24b281869dedf92b7eec8f70d32c8 SHA512 4783cdb12689f0e346769eebd4da9a14e40225c30f6afed9b7058a6ac6eb3591b39990c70f2b57339582f27a71c2fa9f88390401f51cb5f7d43cc8c0d9a39205 diff --git a/media-gfx/mcomix/mcomix-1.3.0_pre20200206.ebuild b/media-gfx/mcomix/mcomix-1.3.0_pre20200206.ebuild deleted file mode 100644 index fe0ef2ebb67b..000000000000 --- a/media-gfx/mcomix/mcomix-1.3.0_pre20200206.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) -inherit desktop python-r1 xdg - -# Hash used for this version -GIT_PV="b80f3485b6ec324aec1dc20f28296a8891ad70dd" - -DESCRIPTION="GTK image viewer for comic book archives" -HOMEPAGE="https://github.com/multiSnow/mcomix3" -SRC_URI="https://github.com/multiSnow/mcomix3/archive/${GIT_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="" - -DEPEND="${PYTHON_DEPS}" -RDEPEND="${DEPEND} - virtual/jpeg - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pygobject[${PYTHON_USEDEP}] - !media-gfx/comix" -BDEPEND="sys-devel/gettext" - -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -S=${WORKDIR}/mcomix3-${GIT_PV} - -src_prepare() { - default - - for file in mcomix/mcomix/messages/*/LC_MESSAGES/*po - do - msgfmt ${file} -o ${file/po/mo} || die - rm ${file} || die - done -} - -src_install() { - python_foreach_impl python_domodule mcomix/mcomix - python_foreach_impl python_newscript mcomix/mcomixstarter.py mcomix - - for size in 16 22 24 32 48 - do - doicon -s ${size} \ - mime/icons/${size}x${size}/*png \ - mcomix/mcomix/images/${size}x${size}/mcomix.png - done - doicon mcomix/mcomix/images/mcomix.png - domenu mime/mcomix.desktop - doman man/mcomix.1 - - insinto /usr/share/metainfo - doins mime/mcomix.appdata.xml - - insinto /usr/share/mime/packages - doins mime/mcomix.xml - - dodoc README.rst TODO -} - -pkg_postinst() { - xdg_pkg_postinst - echo - elog "Additional packages are required to open the most common comic archives:" - elog - elog " cbr: app-arch/unrar" - elog " cbz: app-arch/unzip" - elog - elog "You can also add support for 7z or LHA archives by installing" - elog "app-arch/p7zip or app-arch/lha. Install app-text/mupdf for" - elog "pdf support." - echo -} diff --git a/media-gfx/mcomix/mcomix-1.3.0_pre20211015.ebuild b/media-gfx/mcomix/mcomix-1.3.0_pre20211015.ebuild new file mode 100644 index 000000000000..095d015ca001 --- /dev/null +++ b/media-gfx/mcomix/mcomix-1.3.0_pre20211015.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit desktop python-r1 xdg + +# Hash used for this version +GIT_PV="483f4b3f2d9a125606d47597ae7eff3b38e5bf9d" + +DESCRIPTION="GTK image viewer for comic book archives" +HOMEPAGE="https://github.com/multiSnow/mcomix3" +SRC_URI="https://github.com/multiSnow/mcomix3/archive/${GIT_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + virtual/jpeg + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pygobject[${PYTHON_USEDEP}] + !media-gfx/comix" +BDEPEND="sys-devel/gettext" + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +S=${WORKDIR}/mcomix3-${GIT_PV} + +src_prepare() { + default + + for file in mcomix/mcomix/messages/*/LC_MESSAGES/*po + do + msgfmt ${file} -o ${file/po/mo} || die + rm ${file} || die + done +} + +src_install() { + python_foreach_impl python_domodule mcomix/mcomix + python_foreach_impl python_newscript mcomix/mcomixstarter.py mcomix + + for size in 16 22 24 32 48 + do + doicon -s ${size} \ + mime/icons/${size}x${size}/*png \ + mcomix/mcomix/images/${size}x${size}/mcomix.png + done + doicon mcomix/mcomix/images/mcomix.png + domenu mime/mcomix.desktop + doman man/mcomix.1 + + insinto /usr/share/metainfo + doins mime/mcomix.appdata.xml + + dodoc README.rst TODO +} + +pkg_postinst() { + xdg_pkg_postinst + echo + elog "Additional packages are required to open the most common comic archives:" + elog + elog " cbr: app-arch/unrar" + elog " cbz: app-arch/unzip" + elog + elog "You can also add support for 7z or LHA archives by installing" + elog "app-arch/p7zip or app-arch/lha. Install app-text/mupdf for" + elog "pdf support." + echo +} -- cgit v1.2.3