# This file created by conda-build 3.21.4
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Sun Jun  6 22:27:03 2021
# ------------------------------------------------

package:
  name: librsvg
  version: 2.50.7
source:
  fn: librsvg-2.50.7.tar.xz
  patches:
    - add_rust_lto.patch
  sha256: fffb61b08cd5282aaae147a02b305166a7426fad22a8b9427708f0f2fc426ebc
  url: https://download.gnome.org/sources/librsvg/2.50/librsvg-2.50.7.tar.xz
build:
  number: '0'
  run_exports:
    - librsvg >=2.50.7,<3.0a0
  string: hc3c00ef_0
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 1_gnu
    - binutils_impl_linux-64 2.35.1 h193b22a_2
    - binutils_linux-64 2.35 h67ddf6f_30
    - ca-certificates 2021.5.30 ha878542_0
    - cairo 1.16.0 h6cf1ce9_1008
    - fontconfig 2.13.1 hba837de_1005
    - freetype 2.10.4 h0708190_1
    - gcc_impl_linux-64 9.3.0 h70c0ae5_19
    - gcc_linux-64 9.3.0 hf25ea35_30
    - gettext 0.19.8.1 h0b5b191_1005
    - gnuconfig 2020.11.07 hd8ed1ab_0
    - gobject-introspection 1.68.0 py39hcb793ab_1
    - icu 68.1 h58526e2_0
    - kernel-headers_linux-64 2.6.32 h77966d4_13
    - ld_impl_linux-64 2.35.1 hea4e1c9_2
    - libffi 3.3 h58526e2_2
    - libgcc-devel_linux-64 9.3.0 h7864c58_19
    - libgcc-ng 9.3.0 h2828fa1_19
    - libglib 2.68.2 h3e27bee_2
    - libgomp 9.3.0 h2828fa1_19
    - libiconv 1.16 h516909a_0
    - libpng 1.6.37 h21135ba_2
    - libstdcxx-ng 9.3.0 h6de172a_19
    - libuuid 2.32.1 h7f98852_1000
    - libxcb 1.13 h7f98852_1003
    - libxml2 2.9.12 h72842e0_0
    - make 4.3 hd18ef5c_1
    - ncurses 6.2 h58526e2_4
    - openssl 1.1.1k h7f98852_0
    - pcre 8.44 he1b5a44_0
    - pixman 0.40.0 h36c2ea0_0
    - pkg-config 0.29.2 h36c2ea0_1008
    - pthread-stubs 0.4 h36c2ea0_1001
    - python 3.9.4 hffdb5ce_0_cpython
    - python_abi 3.9 1_cp39
    - readline 8.1 h46c0cb4_0
    - rust 1.51.0 h3bf0571_0
    - rust-std-x86_64-unknown-linux-gnu 1.51.0 hc1431ca_0
    - rust_linux-64 1.51.0 h5f47512_1
    - sqlite 3.35.5 h74cdb3f_0
    - sysroot_linux-64 2.12 h77966d4_13
    - tk 8.6.10 h21135ba_1
    - tzdata 2021a he74cb21_0
    - xorg-kbproto 1.0.7 h7f98852_1002
    - xorg-libice 1.0.10 h7f98852_0
    - xorg-libsm 1.2.3 hd9c2040_1000
    - xorg-libx11 1.7.1 h7f98852_0
    - xorg-libxau 1.0.9 h7f98852_0
    - xorg-libxdmcp 1.1.3 h7f98852_0
    - xorg-libxext 1.3.4 h7f98852_1
    - xorg-libxrender 0.9.10 h7f98852_1003
    - xorg-renderproto 0.11.1 h7f98852_1002
    - xorg-xextproto 7.3.0 h7f98852_1002
    - xorg-xproto 7.0.31 h7f98852_1007
    - xz 5.2.5 h516909a_1
    - zlib 1.2.11 h516909a_1010
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 1_gnu
    - ca-certificates 2021.5.30 ha878542_0
    - cairo 1.16.0 h6cf1ce9_1008
    - font-ttf-dejavu-sans-mono 2.37 hab24e00_0
    - font-ttf-inconsolata 3.000 h77eed37_0
    - font-ttf-source-code-pro 2.038 h77eed37_0
    - font-ttf-ubuntu 0.83 hab24e00_0
    - fontconfig 2.13.1 hba837de_1005
    - fonts-conda-ecosystem 1 0
    - fonts-conda-forge 1 0
    - freetype 2.10.4 h0708190_1
    - fribidi 1.0.10 h36c2ea0_0
    - gdk-pixbuf 2.42.6 h04a7f16_0
    - gettext 0.19.8.1 h0b5b191_1005
    - glib 2.68.2 h9c3ff4c_2
    - glib-tools 2.68.2 h9c3ff4c_2
    - graphite2 1.3.13 h58526e2_1001
    - harfbuzz 2.8.1 h83ec7ef_0
    - icu 68.1 h58526e2_0
    - jbig 2.1 h7f98852_2003
    - jpeg 9d h36c2ea0_0
    - ld_impl_linux-64 2.35.1 hea4e1c9_2
    - lerc 2.2.1 h9c3ff4c_0
    - libdeflate 1.7 h7f98852_5
    - libffi 3.3 h58526e2_2
    - libgcc-ng 9.3.0 h2828fa1_19
    - libglib 2.68.2 h3e27bee_2
    - libgomp 9.3.0 h2828fa1_19
    - libiconv 1.16 h516909a_0
    - libpng 1.6.37 h21135ba_2
    - libstdcxx-ng 9.3.0 h6de172a_19
    - libtiff 4.3.0 hf544144_1
    - libuuid 2.32.1 h7f98852_1000
    - libwebp-base 1.2.0 h7f98852_2
    - libxcb 1.13 h7f98852_1003
    - libxml2 2.9.12 h72842e0_0
    - lz4-c 1.9.3 h9c3ff4c_0
    - ncurses 6.2 h58526e2_4
    - openssl 1.1.1k h7f98852_0
    - pango 1.48.5 hb8ff022_0
    - pcre 8.44 he1b5a44_0
    - pixman 0.40.0 h36c2ea0_0
    - pthread-stubs 0.4 h36c2ea0_1001
    - python 3.9.4 hffdb5ce_0_cpython
    - readline 8.1 h46c0cb4_0
    - sqlite 3.35.5 h74cdb3f_0
    - tk 8.6.10 h21135ba_1
    - tzdata 2021a he74cb21_0
    - xorg-kbproto 1.0.7 h7f98852_1002
    - xorg-libice 1.0.10 h7f98852_0
    - xorg-libsm 1.2.3 hd9c2040_1000
    - xorg-libx11 1.7.1 h7f98852_0
    - xorg-libxau 1.0.9 h7f98852_0
    - xorg-libxdmcp 1.1.3 h7f98852_0
    - xorg-libxext 1.3.4 h7f98852_1
    - xorg-libxrender 0.9.10 h7f98852_1003
    - xorg-renderproto 0.11.1 h7f98852_1002
    - xorg-xextproto 7.3.0 h7f98852_1002
    - xorg-xproto 7.0.31 h7f98852_1007
    - xz 5.2.5 h516909a_1
    - zlib 1.2.11 h516909a_1010
    - zstd 1.5.0 ha95c52a_0
  run:
    - cairo >=1.16.0,<1.17.0a0
    - gdk-pixbuf >=2.42.6,<3.0a0
    - gettext >=0.19.8.1,<1.0a0
    - libgcc-ng >=9.3.0
    - libglib >=2.68.2,<3.0a0
    - libxml2 >=2.9.12,<2.10.0a0
    - pango >=1.48.5,<1.49.0a0
test:
  commands:
    - rsvg-convert --version
    - test -f $PREFIX/lib/librsvg-2${SHLIB_EXT}
    - test ! -f $PREFIX/lib/librsvg-2.a
    - test -f `pkg-config --variable=libdir --dont-define-prefix librsvg-2.0`/librsvg-2${SHLIB_EXT}
    - test -f $PREFIX/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
    - test ! -f $PREFIX/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a
    - test -f $PREFIX/include/librsvg-2.0/librsvg/librsvg-features.h
    - test -f $PREFIX/include/librsvg-2.0/librsvg/rsvg-cairo.h
    - test -f $PREFIX/include/librsvg-2.0/librsvg/rsvg.h
    - test -f $PREFIX/lib/girepository-1.0/Rsvg-2.0.typelib
  requires:
    - pkg-config
about:
  home: https://wiki.gnome.org/Projects/LibRsvg
  license: LGPL-2.1-or-later
  license_file: COPYING.LIB
  summary: librsvg is a library to render SVG files using cairo.
extra:
  copy_test_source_files: true
  final: true
  recipe-maintainers:
    - pkgw
    - tschoonj
