diff options
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/Manifest.gz | bin | 37996 -> 37994 bytes | |||
-rw-r--r-- | media-gfx/gnome-font-viewer/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/gnome-font-viewer/gnome-font-viewer-45_alpha.ebuild | 30 | ||||
-rw-r--r-- | media-gfx/mcomix/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/mcomix/files/mcomix-2.1.1-pillow_version.patch | 15 | ||||
-rw-r--r-- | media-gfx/mcomix/mcomix-2.1.1-r1.ebuild | 47 |
6 files changed, 96 insertions, 0 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz Binary files differindex 0bcf71aea4f8..c5d528de569d 100644 --- a/media-gfx/Manifest.gz +++ b/media-gfx/Manifest.gz diff --git a/media-gfx/gnome-font-viewer/Manifest b/media-gfx/gnome-font-viewer/Manifest index a0016de6f689..a48f3ca6c89e 100644 --- a/media-gfx/gnome-font-viewer/Manifest +++ b/media-gfx/gnome-font-viewer/Manifest @@ -1,3 +1,5 @@ DIST gnome-font-viewer-44.0.tar.xz 299644 BLAKE2B 9eceda601332601a3918331c0b4dae1f588ec88d9c28323694291f22e9add115ccfd70ef8c2d3b1a410bcf7c7443810abdb58a156927c235fb895412dea54213 SHA512 f2da77fadbd76eaaf661cb518043ebad6f964a90f1cede5b58160a3aa08a0fe42a9972bc4871725dc7ae16eb4199329ef2ea08734b8017306e61341e51c37bea +DIST gnome-font-viewer-45.alpha.tar.xz 300188 BLAKE2B dde514abf5fdca8e95bf41ec6dbf2d13e038dbcd242de87a04afc85f43a36713566c60623c345765e62f31b2e911fe9631390c5ffc9457ccd4e333ccd837b149 SHA512 f906086f52989fc26775fa025618f01f3653d4360f3c59f270cd40747bef1164f31688772712e49fcbf280cc3776cdbac6e5833bb080a6c855286caf812e6e78 EBUILD gnome-font-viewer-44.0.ebuild 722 BLAKE2B 6682f9bb75ea7fbe3111b80e71af6362fa70170156e3c557de623cd4d5d08f42e0a38765f651fd6daa48ea33d0eb5c3eb463e1e1893723872065827e5bddd74f SHA512 6e1299a844aef70d7c91d9cfed3b5f90ebc813c2202f5645ba9d1a668f5b342196890f9866982a5e96d1245376c3149e2492c33e9e1172c84cf2a19d5eaccd32 +EBUILD gnome-font-viewer-45_alpha.ebuild 729 BLAKE2B 57b9ad374dcaefc3ec700126171ee63d3f61460737bc5f7f67bf8bb21dfade1b1050427efb5bdef76d2c97d941e3e5661b765d2cd2700133ba530ed12f8362de SHA512 af8d1aa2f934bee5d3eedcfc3e99016f3c78a86b1217abd079b80f8515702be639d72c44027f40a345257048e79aab29a3764ec54a6a5214e7b34b3530eda2c5 MISC metadata.xml 358 BLAKE2B 68c01b7096e0cddca8924d5f631ff0f3b94871244392aece19d0ca59f9bfda7c66199325fd31646c425af984118f728e54fa1ad3fcdc05149e146a5bb7de0667 SHA512 8870277e5cfae6a6c10e66359d45ef4ebde8027cf90f356096e7f78452a525fcb1e3d06f76769a1b8c875498faa79c75432e766edd495398f08d858c4d18bccf diff --git a/media-gfx/gnome-font-viewer/gnome-font-viewer-45_alpha.ebuild b/media-gfx/gnome-font-viewer/gnome-font-viewer-45_alpha.ebuild new file mode 100644 index 000000000000..6978d4a2b45c --- /dev/null +++ b/media-gfx/gnome-font-viewer/gnome-font-viewer-45_alpha.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome.org meson xdg + +DESCRIPTION="Font viewer utility for GNOME" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-font-viewer" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + >=dev-libs/glib-2.56.0:2 + >=gui-libs/gtk-4.5.0:4 + >=gui-libs/libadwaita-1.4_alpha:1 + >=media-libs/harfbuzz-0.9.9:= + media-libs/fontconfig:1.0 + media-libs/freetype:2 + gnome-base/gnome-desktop:4= + dev-libs/fribidi +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-libs/appstream-glib + dev-libs/libxml2:2 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" diff --git a/media-gfx/mcomix/Manifest b/media-gfx/mcomix/Manifest index 15346b307680..03ac73c135f2 100644 --- a/media-gfx/mcomix/Manifest +++ b/media-gfx/mcomix/Manifest @@ -1,6 +1,8 @@ +AUX mcomix-2.1.1-pillow_version.patch 697 BLAKE2B 4ddc0c824bedb8e53032a39d7fc770ec1e607532935db58ad9e53b98a6caa39bf250635e5dc5288ca262a12901b23dfaa2ffbfc19a02578c7c6042b37813916a SHA512 b76ec954f5d935c15a23abc547e38c0141fb644a066ae97c5b2738393d8cb4b2f58d321d998740032f8dae7e1e69e418725f031845c79c1d823dc95191403317 DIST mcomix-2.1.0.tar.gz 517070 BLAKE2B 71aa67b48ac4cc09f12516312a07c1688e3d9ba086e0af8fab0f22549814fc82841b30965b7ac4e90192086338414c50d253af2d37b158fea8fc2358cee3d3db SHA512 385654c48192c20e285a053a8a90f1e792d58f7adbb0960745f31703d2ff5906f5e5bfd868ebaa08dd27314543a761a255503e5d586edd1baa064ffcea0205ca DIST mcomix-2.1.1.tar.gz 517628 BLAKE2B fb4d6cb4a10966795156672e8710e264f6e22abeebc3bd9471f378169417a6aab39c705d916624b9c1cd547516ae042d94cf00cf4596242f4655045c305bc630 SHA512 699fc1fe2348491ca5f94c9142e8a7432a3afc932aff42187ec57b5026d84ad189700283082fb60f920088747f13cc8f74297feaaab8ce2a5a9bd42d74b7f5e2 EBUILD mcomix-2.1.0.ebuild 1109 BLAKE2B 0041670c4f8cdb3eac50f5526305aca2c0448a3aec7123626a2eb3ebebbd792da721642505a392a059a7db7cef40bb048b6b1086a713c9bab18644bad9a04549 SHA512 0793f5c761a31b43e36b22cae11567ebd6d35cb38de608b051dc88f5a808ca31812ab47c324bfcc901e9b64c2435e34609f401b76e86f19fd2b9f319dc407575 +EBUILD mcomix-2.1.1-r1.ebuild 1164 BLAKE2B 43dc15b6e54faa3a2f2157c86150785af1b3b59308c422f5184f381d40e8c9eb69f2266c6769dc9801d1481e196e110726cbad29c88a0c7c482e83dad92df212 SHA512 4ae9d007439e20a9cdb74a081495c8cbb4b4620f19a4a28063ebffd1e74d4a3d9ef37b31fc24a8e94e87f5075cde79f5a9c485063e15c778f39c569b15ff998c EBUILD mcomix-2.1.1.ebuild 1111 BLAKE2B 56f9ccb5606133dd38bd572586226fd2b4ddf13cc589dc5becc7a52c1a2e65f7a17abd9b7770481b04b177b5bfce26a0e20d0b3bcd7993ddc2af4646ed9dcbf0 SHA512 ee58a7aeb7273e7191e6a95818bfe6a030865c47e0b2183495e1cd5acb1bef09b24a290cee4a2b03e4a8b83be030bb085a7874fd57f710395fff97ba505e3e71 EBUILD mcomix-9999.ebuild 1096 BLAKE2B f42c1830533a776f2c89b58cc4e563a6c4552ee5796112d22dfbd0644f6b34803867ad31669fc08c225adafd183c90dc822b1b3bd54fb68ee809a54fd84d93cc SHA512 36b339b90fb739e6973eee2c2c0a096e6858ac960923cd37db6b2bdacd36fdce4dc93e2c06ac998c8cd3ad6d75ce8747ceabeeec3e5674e384e7c35dedb372c5 MISC metadata.xml 398 BLAKE2B 1595be3107e03d5ea0602c77d75d0d5b10c6c36307edaa979b64ce3418c674cd3905578ea098159493860ea4b3fb3c297da24b281869dedf92b7eec8f70d32c8 SHA512 4783cdb12689f0e346769eebd4da9a14e40225c30f6afed9b7058a6ac6eb3591b39990c70f2b57339582f27a71c2fa9f88390401f51cb5f7d43cc8c0d9a39205 diff --git a/media-gfx/mcomix/files/mcomix-2.1.1-pillow_version.patch b/media-gfx/mcomix/files/mcomix-2.1.1-pillow_version.patch new file mode 100644 index 000000000000..b4e51d230292 --- /dev/null +++ b/media-gfx/mcomix/files/mcomix-2.1.1-pillow_version.patch @@ -0,0 +1,15 @@ +--- a/mcomix/run.py 2023-07-03 21:39:35.146479272 +0300 ++++ b/mcomix/run.py 2023-07-03 21:40:16.742507561 +0300 +@@ -122,7 +122,11 @@ + try: + import PIL.Image + +- if PIL.__version__ < '6.0.0': ++ try: ++ pil_major_version = int(PIL.__version__[0:PIL.__version__.index('.')]) ++ except (ValueError, IndexError): ++ pil_major_version = 0 ++ if pil_major_version < 6: + log.error( _("You don't have the required version of the Python Imaging Library Fork (Pillow) installed.")) + log.error( _('Installed Pillow version is: %s') % PIL.__version__ ) + log.error( _('Required Pillow version is: 6.0.0 or higher') ) diff --git a/media-gfx/mcomix/mcomix-2.1.1-r1.ebuild b/media-gfx/mcomix/mcomix-2.1.1-r1.ebuild new file mode 100644 index 000000000000..899761314205 --- /dev/null +++ b/media-gfx/mcomix/mcomix-2.1.1-r1.ebuild @@ -0,0 +1,47 @@ +# 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 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" + +PATCHES=( "${FILESDIR}"/${P}-pillow_version.patch ) + +src_prepare() { + default + + # Uncompress man page + gunzip mcomix.1.gz || die + sed -e "s/mcomix.1.gz/mcomix.1/" -i setup.py || die +} + +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 +} |