Rename parent to avoid complex logic
-{% set name = "libjxl" %}
{% set version = "0.7.0" %}
package:
- name: {{ name|lower }}
+ name: libjxl-split
version: {{ version }}
source:
@@ -21,13 +20,25 @@ build:
number: 0
requirements:
- # This section is not recognized by `conda-build`
- # so deps have to be written in `outputs`.
- # However, dependencies are not installed for build.sh(bld.bat)
- # unless the keys are present here.
- # This is a weird behavior which might be fixed in the future.
- build: {}
- host: {}
+ build:
+ - {{ compiler('c') }} # [not win]
+ - {{ compiler('cxx') }} # [not win]
+ - clang # [win]
+ - lld # [win]
+ - pkg-config
+ - cmake >=3.10
+ - make
+ host:
+ - brotli
+ - libhwy
+ # - lcms2
+ - giflib
+ # Cannot be replaced with `jpeg`
+ # since jpeg_mem_* api is different
+ - libjpeg-turbo
+ - openexr
+ - libpng
+ - zlib # by libpng
outputs:
- name: libjxl
@@ -35,12 +46,7 @@ outputs:
run_exports:
- {{ pin_subpackage('libjxl', min_pin='x.x', max_pin='x.x') }}
ignore_run_exports:
- - libpng
- - giflib
- - openexr
- - libzlib
- libbrotlicommon
- - libjpeg-turbo
requirements:
build:
- {{ compiler('c') }} # [not win]
@@ -53,14 +59,6 @@ outputs:
host:
- brotli
- libhwy
- # - lcms2
- - giflib
- # Cannot be replaced with `jpeg`
- # since jpeg_mem_* api is different
- - libjpeg-turbo
- - openexr
- - libpng
- - zlib # by libpng
script: install.sh # [not win]
script: install.bat # [win]
test:
@@ -80,7 +78,6 @@ outputs:
ignore_run_exports:
- libbrotlicommon
- libbrotlidec
- - libzlib
requirements:
build:
- {{ compiler('c') }} # [not win]
@@ -97,12 +94,8 @@ outputs:
- libjpeg-turbo
- openexr
- libpng
- - zlib
- {{ pin_subpackage('libjxl', exact=True) }}
run:
- - libjpeg-turbo
- - openexr
- - libpng
- {{ pin_subpackage('libjxl', exact=True) }}
script: install.sh # [not win]
script: install.bat # [win]
