{% set version = "2.3.3" %} {% set sha256 = "dd3f1f0bb016edcc0b2d082e8229c822ad1d02223511997c80461481759b1ed2" %} package: name: libgd version: {{ version }} source: url: https://github.com/libgd/libgd/releases/download/gd-{{version}}/libgd-{{ version }}.tar.gz sha256: {{ sha256 }} patches: # see: https://github.com/libgd/libgd/issues/367 - patches/linux-fontconfig-basic.patch build: number: 1 run_exports: # https://abi-laboratory.pro/?view=timeline&l=libgd - {{ pin_subpackage('libgd', max_pin='x.x') }} # 5/19/2021: When packaging libgd the error was for icu and expat "run-exports library package # in requirements/run but it is not used" ignore_run_exports: - icu - expat - jpeg # [win] requirements: build: - {{ compiler('c') }} - automake # [not win] - libtool # [not win] - gettext # [not win] - pkg-config - make # [not win] - patch # [unix] - m2-patch # [win] - cmake # [win] - ninja-base # [win] host: - expat - fontconfig # [not win] - freetype - icu - jpeg - libiconv # [osx] - libpng - libtiff - libwebp-base # [not win] run: - expat - fontconfig # [not win] - freetype - icu - jpeg - libiconv # [osx] - libpng - libtiff test: commands: - test -f $PREFIX/lib/libgd.a # [linux] - test -f $PREFIX/lib/libgd${SHLIB_EXT} # [not win] - if not exist %PREFIX%\\Library\\bin\\libgd.dll exit 1 # [win] - if not exist %PREFIX%\\Library\\lib\\libgd.lib exit 1 # [win] about: home: https://libgd.github.io/ summary: Library for the dynamic creation of images. description: | GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. It is lite weight and fits usages like web development, embemdedded, or any other usages you may need. It supports transparency, blending, images transformations and various filters. Its design allows the additions of custom features in a very friendly manner. license: GD license_family: BSD license_file: COPYING dev_url: https://github.com/libgd/libgd doc_url: https://libgd.github.io/pages/docs.html extra: recipe-maintainers: - croth1 - ChrisBarker-NOAA - ocefpaf