mcomix: auto updated to 2.2.0-1
This commit is contained in:
parent
4f451820fa
commit
0cbedf483f
|
@ -1,15 +0,0 @@
|
||||||
--- mcomix/run.py.orig 2023-07-03 21:39:35.146479272 +0300
|
|
||||||
+++ 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') )
|
|
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
pkgname=mcomix
|
pkgname=mcomix
|
||||||
# Might want to move to date-based versions.
|
# Might want to move to date-based versions.
|
||||||
pkgver=2.1.1
|
pkgver=2.2.0
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books"
|
pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://sourceforge.net/p/mcomix/wiki/Home/"
|
url="https://sourceforge.net/p/mcomix/wiki/Home/"
|
||||||
|
@ -14,22 +14,15 @@ makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel
|
||||||
optdepends=(
|
optdepends=(
|
||||||
'lhasa: for lha compressed comics'
|
'lhasa: for lha compressed comics'
|
||||||
'libunrar: for rar compressed comics'
|
'libunrar: for rar compressed comics'
|
||||||
'mupdf-tools: for PDF comics'
|
|
||||||
'p7zip: for 7z compressed comics'
|
'p7zip: for 7z compressed comics'
|
||||||
|
'python-pymupdf: for PDF comics'
|
||||||
'unrar: for rar compressed comics'
|
'unrar: for rar compressed comics'
|
||||||
'unzip: for zip compressed comics'
|
'unzip: for zip compressed comics'
|
||||||
)
|
)
|
||||||
source=(
|
source=(
|
||||||
"https://downloads.sourceforge.net/project/${pkgname}/MComix-${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
"https://downloads.sourceforge.net/project/${pkgname}/MComix-${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
||||||
"01-pillow_version.patch"
|
|
||||||
)
|
)
|
||||||
sha256sums=('3faa22ca77392c9496e686706193219c8d2435c213ed52ae69212e0def7060d5'
|
sha256sums=('514843e27c0e3b05f1ac11169eab3613a2c295158f09054d817adf58affb9ba3')
|
||||||
'11964ff2ba788bcff91c7b1188c7d64f45ca139968b9ff7578eeda15430d9464')
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "${pkgname}-${pkgver}"
|
|
||||||
patch -p0 < "$srcdir/01-pillow_version.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}"
|
||||||
|
|
Loading…
Reference in a new issue