HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/pkgs/jpeg-9e-h827c3e9_3/info/recipe/meta.yaml.template
{% set version = "9e" %}

package:
  name: jpeg
  version: {{ version }}

source:
  url: https://www.ijg.org/files/jpegsrc.v{{ version }}.tar.gz
  sha256: 4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d
  patches:                  # [win]
    - CMakeLists.txt.patch  # [win]

build:
  number: 3
  run_exports:
    # compatible within major version numbers
    # https://abi-laboratory.pro/tracker/timeline/libjpeg/
    - {{ pin_subpackage('jpeg') }}

requirements:
  build:
    - cmake         # [win]
    - {{ compiler('c') }}
    - libtool       # [unix]
    - make          # [unix]
    - m2-patch      # [win]
test:
  files:
    - testorig.jpg
  commands:
    - djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
    - if not exist %PREFIX%/Library/lib/pkgconfig/libjpeg.pc exit 1  # [win]
    - if not exist %PREFIX%/Library/bin/libjpeg.dll exit 1  # [win]
    - if not exist %PREFIX%/Library/lib/libjpeg.lib exit 1  # [win]
    - if not exist %PREFIX%/Library/lib/jpeg.lib exit 1  # [win]
    - if not exist %PREFIX%/Library/lib/jpeg-static.lib exit 1  # [win]
    - if not exist %PREFIX%/Library/include/jpeglib.h exit 1  # [win]
    - test -f ${PREFIX}/lib/pkgconfig/libjpeg.pc  # [unix]
    - test -f ${PREFIX}/lib/libjpeg.so  # [linux]
    - test -f ${PREFIX}/lib/libjpeg.so.9  # [linux]
    - test -f ${PREFIX}/lib/libjpeg.so.9.5.0  # [linux]
    - test -f ${PREFIX}/lib/libjpeg.9.dylib  # [osx]
    - test -f ${PREFIX}/lib/libjpeg.dylib  # [osx]
    - test -f ${PREFIX}/include/jpeglib.h  # [unix]

about:
  home: https://www.ijg.org/
  license: IJG
  license_file: README
  license_family: Other
  summary: read/write jpeg COM, EXIF, IPTC medata
  description: |
    This software library is the basis for the processing of images in the
    ubiquitous JPEG format and is used worldwide in a countless number of
    applications of software vendors and in the photographic industry under
    a fee-free license with open source code.
  doc_url: https://www.ijg.org/files/
  dev_url: https://www.ijg.org/files/
    
extra:    
  recipe-maintainers:
    - gillins
    - jakirkham
    - msarahan
    - katietz