mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
media-gfx/mcomix: drop old stable
Broken and depending on pygtk Bug: https://bugs.gentoo.org/708100 Package-Manager: Portage-2.3.92, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST mcomix-1.2.1.tar.bz2 571128 BLAKE2B fa00e55e5cf2ef676a625b97ca467ade6b629fa08bfd920b8c370dc7d33c6602c5614d120d7279df32d063db646da8b635712ba90793175eea2c74c2c1973a8a SHA512 efa4d57edc3a48d9e711767fb3e233ef9b334ff8ba467999e572e60ed747a4ee4aa420c8aa7788b16d7eb6e0901d454d6a405fcec47a8c74098a49491e915cd0
|
||||
DIST mcomix-1.3.0_pre20200206.tar.gz 3292571 BLAKE2B ad76316020645495042d27bf831588e628da11077efe29b302a57be4e688558b4db8d3f850200bf4a54b84b428a16a52f88ea5e20be85b628ef3630a5f624643 SHA512 c98d4a7022993af3a5c0b5425df52f14b586549472bcd4576a72039c8c6d4fde31df4255df45ab7467acb0280bda02b92d4803b7f92b7c1c818b58df7b52a3ff
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
PLOCALES="ca cs de el es fa fr gl he hr hu id it ja ko nl pl pt_BR ru sv uk zh_CN zh_TW"
|
||||
|
||||
inherit distutils-r1 eutils l10n xdg-utils
|
||||
|
||||
DESCRIPTION="A fork of comix, a GTK image viewer for comic book archives"
|
||||
HOMEPAGE="https://sourceforge.net/p/mcomix/wiki/Home/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/pygtk-2.14[${PYTHON_USEDEP}]
|
||||
virtual/jpeg
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
x11-libs/gdk-pixbuf
|
||||
!media-gfx/comix"
|
||||
|
||||
DOCS=( ChangeLog README )
|
||||
|
||||
src_prepare() {
|
||||
local checklocales
|
||||
for l in $(find "${S}"/mcomix/messages/* -maxdepth 0 -type d);
|
||||
do checklocales+="$(basename $l) "
|
||||
done
|
||||
|
||||
[[ ${PLOCALES} == ${checklocales% } ]] \
|
||||
|| eqawarn "Update to PLOCALES=\"${checklocales% }\""
|
||||
|
||||
my_rm_loc() {
|
||||
rm -rf "${S}/mcomix/messages/${1}/LC_MESSAGES" || die
|
||||
rmdir "${S}/mcomix/messages/${1}" || die
|
||||
}
|
||||
|
||||
l10n_for_each_disabled_locale_do my_rm_loc
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
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
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
Reference in New Issue
Block a user