# This file created by conda-build 3.24.0
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Wed Oct 11 12:40:51 2023
# ------------------------------------------------

package:
  name: cairo
  version: 1.18.0
source:
  patches:
    - meson-darwin-versions.patch
  sha256: 243a0736b978a33dee29f9cca7521733b78a65b5418206fef7bd1c3d4cf10b64
  url: http://cairographics.org/releases/cairo-1.18.0.tar.xz
build:
  number: '0'
  run_exports:
    - cairo >=1.18.0,<2.0a0
  string: h3faef2a_0
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.40 hf600244_0
    - binutils_linux-64 2.40 hbdbef99_2
    - bzip2 1.0.8 h7f98852_4
    - ca-certificates 2023.7.22 hbcca054_0
    - gcc_impl_linux-64 12.3.0 he2b93b0_2
    - gcc_linux-64 12.3.0 h76fc315_2
    - gxx_impl_linux-64 12.3.0 he2b93b0_2
    - gxx_linux-64 12.3.0 h8a814eb_2
    - kernel-headers_linux-64 2.6.32 he073ed8_16
    - ld_impl_linux-64 2.40 h41732ed_0
    - libexpat 2.5.0 hcb278e6_1
    - libffi 3.4.2 h7f98852_5
    - libgcc-devel_linux-64 12.3.0 h8bca6fd_2
    - libgcc-ng 13.2.0 h807b86a_2
    - libgomp 13.2.0 h807b86a_2
    - libnsl 2.0.0 hd590300_1
    - libsanitizer 12.3.0 h0f45ef3_2
    - libsqlite 3.43.2 h2797004_0
    - libstdcxx-devel_linux-64 12.3.0 h8bca6fd_2
    - libstdcxx-ng 13.2.0 h7e041cc_2
    - libuuid 2.38.1 h0b41bf4_0
    - libzlib 1.2.13 hd590300_5
    - meson 1.2.2 pyhd8ed1ab_0
    - ncurses 6.4 hcb278e6_0
    - ninja 1.11.1 h924138e_0
    - openssl 3.1.3 hd590300_0
    - pkg-config 0.29.2 h36c2ea0_1008
    - pthread-stubs 0.4 h36c2ea0_1001
    - python 3.12.0 hab00c5b_0_cpython
    - python_abi 3.12 4_cp312
    - readline 8.2 h8228510_1
    - setuptools 68.2.2 pyhd8ed1ab_0
    - sysroot_linux-64 2.12 he073ed8_16
    - tk 8.6.13 h2797004_0
    - tzdata 2023c h71feb2d_0
    - xcb-proto 1.16.0 py312h98912ed_1
    - xorg-renderproto 0.11.1 h7f98852_1002
    - xorg-xproto 7.0.31 h7f98852_1007
    - xz 5.2.6 h166bdaf_0
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - bzip2 1.0.8 h7f98852_4
    - ca-certificates 2023.7.22 hbcca054_0
    - expat 2.5.0 hcb278e6_1
    - fontconfig 2.14.2 h14ed4e7_0
    - freetype 2.12.1 h267a509_2
    - gettext 0.21.1 h27087fc_0
    - glib 2.78.0 hfc55251_0
    - glib-tools 2.78.0 hfc55251_0
    - icu 73.2 h59595ed_0
    - ld_impl_linux-64 2.40 h41732ed_0
    - libexpat 2.5.0 hcb278e6_1
    - libffi 3.4.2 h7f98852_5
    - libgcc-ng 13.2.0 h807b86a_2
    - libglib 2.78.0 hebfc3b9_0
    - libgomp 13.2.0 h807b86a_2
    - libiconv 1.17 h166bdaf_0
    - libnsl 2.0.0 hd590300_1
    - libpng 1.6.39 h753d276_0
    - libsqlite 3.43.2 h2797004_0
    - libstdcxx-ng 13.2.0 h7e041cc_2
    - libuuid 2.38.1 h0b41bf4_0
    - libxcb 1.15 h0b41bf4_0
    - libzlib 1.2.13 hd590300_5
    - ncurses 6.4 hcb278e6_0
    - openssl 3.1.3 hd590300_0
    - pcre2 10.40 hc3806b6_0
    - pixman 0.42.2 h59595ed_0
    - pthread-stubs 0.4 h36c2ea0_1001
    - python 3.12.0 hab00c5b_0_cpython
    - readline 8.2 h8228510_1
    - tk 8.6.13 h2797004_0
    - tzdata 2023c h71feb2d_0
    - xorg-kbproto 1.0.7 h7f98852_1002
    - xorg-libice 1.1.1 hd590300_0
    - xorg-libsm 1.2.4 h7391055_0
    - xorg-libx11 1.8.6 h8ee46fc_0
    - xorg-libxau 1.0.11 hd590300_0
    - xorg-libxdmcp 1.1.3 h7f98852_0
    - xorg-libxext 1.3.4 h0b41bf4_2
    - xorg-libxrender 0.9.11 hd590300_0
    - xorg-renderproto 0.11.1 h7f98852_1002
    - xorg-xextproto 7.3.0 h0b41bf4_1003
    - xorg-xproto 7.0.31 h7f98852_1007
    - xz 5.2.6 h166bdaf_0
    - zlib 1.2.13 hd590300_5
  run:
    - fontconfig >=2.14.2,<3.0a0
    - fonts-conda-ecosystem
    - freetype >=2.12.1,<3.0a0
    - icu >=73.2,<74.0a0
    - libgcc-ng >=12
    - libglib >=2.78.0,<3.0a0
    - libpng >=1.6.39,<1.7.0a0
    - libstdcxx-ng >=12
    - libxcb >=1.15,<1.16.0a0
    - libzlib >=1.2.13,<1.3.0a0
    - pixman >=0.42.2,<1.0a0
    - xorg-libice >=1.1.1,<2.0a0
    - xorg-libsm >=1.2.4,<2.0a0
    - xorg-libx11 >=1.8.6,<2.0a0
    - xorg-libxext >=1.3.4,<2.0a0
    - xorg-libxrender >=0.9.11,<0.10.0a0
    - zlib
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:
    - glib
    - pkg-config
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
  recipe-maintainers:
    - ccordoba12
    - jakirkham
    - ocefpaf
    - pkgw
    - tschoonj
