# This file created by conda-build 24.11.2
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Tue Dec 10 00:30:55 2024
# ------------------------------------------------

package:
  name: cairo
  version: 1.18.2
source:
  patches:
    - meson-darwin-versions.patch
  sha256: a62b9bb42425e844cc3d6ddde043ff39dbabedd1542eba57a2eb79f85889d45a
  url: http://cairographics.org/releases/cairo-1.18.2.tar.xz
build:
  number: '1'
  run_exports:
    - cairo >=1.18.2,<2.0a0
  string: h3394656_1
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.43 h4bf12b8_2
    - binutils_linux-64 2.43 h4852527_2
    - bzip2 1.0.8 h4bc722e_7
    - ca-certificates 2024.8.30 hbcca054_0
    - gcc_impl_linux-64 13.3.0 hfea6d02_1
    - gcc_linux-64 13.3.0 hc28eda2_7
    - gxx_impl_linux-64 13.3.0 hdbfa832_1
    - gxx_linux-64 13.3.0 h6834431_7
    - kernel-headers_linux-64 3.10.0 he073ed8_18
    - ld_impl_linux-64 2.43 h712a8e2_2
    - libexpat 2.6.4 h5888daf_0
    - libffi 3.4.2 h7f98852_5
    - libgcc 14.2.0 h77fa898_1
    - libgcc-devel_linux-64 13.3.0 h84ea5a7_101
    - libgcc-ng 14.2.0 h69a702a_1
    - libgomp 14.2.0 h77fa898_1
    - liblzma 5.6.3 hb9d3cd8_1
    - liblzma-devel 5.6.3 hb9d3cd8_1
    - libmpdec 4.0.0 h4bc722e_0
    - libsanitizer 13.3.0 heb74ff8_1
    - libsqlite 3.47.2 hee588c1_0
    - libstdcxx 14.2.0 hc0a3c3a_1
    - libstdcxx-devel_linux-64 13.3.0 h84ea5a7_101
    - libstdcxx-ng 14.2.0 h4852527_1
    - libuuid 2.38.1 h0b41bf4_0
    - libzlib 1.3.1 hb9d3cd8_2
    - meson 1.6.0 pyhd8ed1ab_1
    - ncurses 6.5 he02047a_1
    - ninja 1.12.1 h297d8ca_0
    - openssl 3.4.0 hb9d3cd8_0
    - pkg-config 0.29.2 h4bc722e_1009
    - python 3.13.1 ha99a958_102_cp313
    - python_abi 3.13 5_cp313
    - readline 8.2 h8228510_1
    - setuptools 75.6.0 pyhff2d567_1
    - sysroot_linux-64 2.17 h4a8ded7_18
    - tk 8.6.13 noxft_h4845f30_101
    - tzdata 2024b hc8b5060_0
    - xz 5.6.3 hbcc6ac9_1
    - xz-gpl-tools 5.6.3 hbcc6ac9_1
    - xz-tools 5.6.3 hb9d3cd8_1
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - bzip2 1.0.8 h4bc722e_7
    - ca-certificates 2024.8.30 hbcca054_0
    - expat 2.6.4 h5888daf_0
    - fontconfig 2.15.0 h7e30c49_1
    - freetype 2.12.1 h267a509_2
    - glib 2.82.2 h44428e9_0
    - glib-tools 2.82.2 h4833e2c_0
    - icu 75.1 he02047a_0
    - ld_impl_linux-64 2.43 h712a8e2_2
    - libexpat 2.6.4 h5888daf_0
    - libffi 3.4.2 h7f98852_5
    - libgcc 14.2.0 h77fa898_1
    - libgcc-ng 14.2.0 h69a702a_1
    - libglib 2.82.2 h2ff4ddf_0
    - libgomp 14.2.0 h77fa898_1
    - libiconv 1.17 hd590300_2
    - liblzma 5.6.3 hb9d3cd8_1
    - libmpdec 4.0.0 h4bc722e_0
    - libpng 1.6.44 hadc24fc_0
    - libsqlite 3.47.2 hee588c1_0
    - libstdcxx 14.2.0 hc0a3c3a_1
    - libstdcxx-ng 14.2.0 h4852527_1
    - libuuid 2.38.1 h0b41bf4_0
    - libxcb 1.17.0 h8a09558_0
    - libzlib 1.3.1 hb9d3cd8_2
    - ncurses 6.5 he02047a_1
    - openssl 3.4.0 hb9d3cd8_0
    - packaging 24.2 pyhd8ed1ab_2
    - pcre2 10.44 hba22ea6_2
    - pixman 0.44.2 h29eaf8c_0
    - pthread-stubs 0.4 hb9d3cd8_1002
    - python 3.13.1 ha99a958_102_cp313
    - python_abi 3.13 5_cp313
    - readline 8.2 h8228510_1
    - tk 8.6.13 noxft_h4845f30_101
    - tzdata 2024b hc8b5060_0
    - xorg-libice 1.1.1 hb9d3cd8_1
    - xorg-libsm 1.2.4 he73a12e_1
    - xorg-libx11 1.8.10 h4f16b4b_1
    - xorg-libxau 1.0.11 hb9d3cd8_1
    - xorg-libxdmcp 1.1.5 hb9d3cd8_0
    - xorg-libxext 1.3.6 hb9d3cd8_0
    - xorg-libxrender 0.9.11 hb9d3cd8_2
    - xorg-xorgproto 2024.1 hb9d3cd8_1
    - zlib 1.3.1 hb9d3cd8_2
  run:
    - __glibc >=2.17,<3.0.a0
    - fontconfig >=2.15.0,<3.0a0
    - fonts-conda-ecosystem
    - freetype >=2.12.1,<3.0a0
    - icu >=75.1,<76.0a0
    - libexpat >=2.6.4,<3.0a0
    - libgcc >=13
    - libglib >=2.82.2,<3.0a0
    - libpng >=1.6.44,<1.7.0a0
    - libstdcxx >=13
    - libxcb >=1.17.0,<2.0a0
    - libzlib >=1.3.1,<2.0a0
    - pixman >=0.44.2,<1.0a0
    - xorg-libice >=1.1.1,<2.0a0
    - xorg-libsm >=1.2.4,<2.0a0
    - xorg-libx11 >=1.8.10,<2.0a0
    - xorg-libxext >=1.3.6,<2.0a0
    - xorg-libxrender >=0.9.11,<0.10.0a0
test:
  commands:
    - cairo-trace --help
    - test -f $PREFIX/lib/libcairo.a
    - test -f $PREFIX/lib/libcairo.so
    - test -f $PREFIX/lib/libcairo-gobject.a
    - test -f $PREFIX/lib/libcairo-gobject.so
    - test -f $PREFIX/lib/libcairo-script-interpreter.a
    - test -f $PREFIX/lib/libcairo-script-interpreter.so
    - test -f $PREFIX/lib/pkgconfig/cairo-xlib.pc
    - test -f $PREFIX/include/cairo/cairo.h
    - grep -q "CAIRO_HAS_FC_FONT 1" $PREFIX/include/cairo/cairo-features.h
    - export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
    - pkg-config --cflags cairo
    - pkg-config --cflags cairo-fc
    - pkg-config --cflags cairo-gobject
  requires:
    - expat
    - glib
    - pkg-config
    - xorg-xorgproto
    - zlib
about:
  dev_url: https://gitlab.freedesktop.org/cairo/cairo
  doc_url: https://www.cairographics.org/documentation/
  home: http://cairographics.org/
  license: LGPL-2.1-only or MPL-1.1
  license_file:
    - COPYING
    - COPYING-LGPL-2.1
    - COPYING-MPL-1.1
  summary: Cairo is a 2D graphics library with support for multiple output devices.
extra:
  copy_test_source_files: true
  final: true
  flow_run_id: azure_20241209.10.1
  recipe-maintainers:
    - ccordoba12
    - jakirkham
    - ocefpaf
    - pkgw
    - tschoonj
  remote_url: https://github.com/conda-forge/cairo-feedstock
  sha: 1b0c5a8adbee5daca73a11afaabf080922dfeec7
