Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for config:i586
home:yarunachalam:branches:devel:languages:python
python-imagecodecs
imagecodecs_distributor_setup.py
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File imagecodecs_distributor_setup.py of Package python-imagecodecs
# openSUSE extension setup to build python-imagecodecs import os import subprocess import sys def customize_build(EXTENSIONS, OPTIONS): print(f"Building with custom OpenSUSE config ({__file__})") includedir = os.getenv("INCDIR",'') + '/' del EXTENSIONS['apng'] # png-apng library not available del EXTENSIONS['brunsli'] # graphics/brunsli not in Factory del EXTENSIONS['jetraw'] # jetraw library not available del EXTENSIONS['lerc'] # LERC library not available del EXTENSIONS['lz4f'] # requires static linking del EXTENSIONS['lzo'] # lzokay not available del EXTENSIONS['mozjpeg'] # Win32 only del EXTENSIONS['pcodec'] # not available in Factory del EXTENSIONS['sperr'] # not available in Factory EXTENSIONS['avif']['libraries'] = [ 'avif', 'aom', 'dav1d', 'rav1e', 'sharpyuv', 'SvtAv1Enc', ] openjpeg_inc = subprocess.check_output( ['pkgconf', '--variable=includedir', 'libopenjp2'], text=True, ).strip() EXTENSIONS['jpeg2k']['include_dirs'].append(openjpeg_inc) EXTENSIONS['jpegxr']['include_dirs'].append(includedir + 'jxrlib') EXTENSIONS['jpegxl']['libraries'] = ['jxl', 'jxl_threads'] EXTENSIONS['rcomp']['include_dirs'].append(includedir + 'cfitsio') EXTENSIONS['zopfli']['include_dirs'].append(includedir + 'zopfli') EXTENSIONS['lzham']['libraries'] = ['lzhamdll']
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor