python-imagecodecs: add charls dependency
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
diff -Naur imagecodecs-2021.1.11_orig/setup.py imagecodecs-2021.1.11/setup.py
|
||||
--- imagecodecs-2021.1.11_orig/setup.py 2021-01-12 05:06:22.000000000 +0100
|
||||
+++ imagecodecs-2021.1.11/setup.py 2021-01-12 11:06:37.866632200 +0100
|
||||
+++ imagecodecs-2021.1.11/setup.py 2021-01-12 15:05:51.063607600 +0100
|
||||
@@ -179,7 +179,7 @@
|
||||
"""Customize build for common platforms: recent Debian, arch..."""
|
||||
import platform
|
||||
@@ -10,7 +10,12 @@ diff -Naur imagecodecs-2021.1.11_orig/setup.py imagecodecs-2021.1.11/setup.py
|
||||
del EXTENSIONS['jpeg12'] # jpeg12 requires custom build
|
||||
del EXTENSIONS['lerc'] # LERC library not commonly available
|
||||
del EXTENSIONS['lz4f'] # requires static linking
|
||||
@@ -191,13 +191,10 @@
|
||||
@@ -187,17 +187,14 @@
|
||||
if 'arch' in platform.platform():
|
||||
del EXTENSIONS['zopfli'] # zopfli/zopfli.h does not exist
|
||||
else:
|
||||
- del EXTENSIONS['jpegls'] # CharLS 2.1 library not commonly available
|
||||
+ # del EXTENSIONS['jpegls'] # CharLS 2.1 library not commonly available
|
||||
del EXTENSIONS['jpegxl'] # Brunsli library not commonly available
|
||||
del EXTENSIONS['zfp'] # ZFP library not commonly available
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ url="https://github.com/cgohlke/imagecodecs"
|
||||
license=('BSD')
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-blosc"
|
||||
"${MINGW_PACKAGE_PREFIX}-brotli"
|
||||
"${MINGW_PACKAGE_PREFIX}-charls"
|
||||
"${MINGW_PACKAGE_PREFIX}-jxrlib"
|
||||
"${MINGW_PACKAGE_PREFIX}-lcms2"
|
||||
"${MINGW_PACKAGE_PREFIX}-libaec"
|
||||
@@ -32,7 +33,7 @@ source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/cgohlke/imagecodecs
|
||||
"0003-mingw-fix-setup.patch")
|
||||
sha256sums=('5a52cf0368055dc9b1f98948deb245e2bbf23b40b74c8a03226a2d9044470754'
|
||||
'de24ec8970281639f8daf396477c9fbd34a12723c82568cd411247b074729425'
|
||||
'e84f5747fc44a519f4440f4fff817ae570fa76b678c26661820576cab763db34')
|
||||
'4ac16ec6fe8e25de4766866ed30f968ae629b6b667ae07ef0e98429f75a32a4b')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"
|
||||
|
||||
Reference in New Issue
Block a user