# This file created by conda-build 25.5.0
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Thu Jul 10 14:53:51 2025
# ------------------------------------------------

package:
  name: libwebp-base
  version: 1.6.0
source:
  url: http://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0.tar.gz
  sha256: e4ab7009bf0629fd11982d4c2aa83964cf244cffba7347ecd39019a9e38c4564
build:
  number: '0'
  run_exports:
    - libwebp-base >=1.6.0,<2.0a0
  string: hd42ef1d_0
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.44 h4bf12b8_1
    - binutils_linux-64 2.44 h4852527_1
    - bzip2 1.0.8 h4bc722e_7
    - c-ares 1.34.5 hb9d3cd8_0
    - ca-certificates 2025.7.9 hbd8a1cb_0
    - cmake 4.0.3 h74e3db0_0
    - gcc_impl_linux-64 14.3.0 hd9e9e21_3
    - gcc_linux-64 14.3.0 h1382650_11
    - kernel-headers_linux-64 3.10.0 he073ed8_18
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.21.3 h659f571_0
    - ld_impl_linux-64 2.44 h1423503_1
    - libcurl 8.14.1 h332b0f4_0
    - libedit 3.1.20250104 pl5321h7949ede_0
    - libev 4.33 hd590300_2
    - libexpat 2.7.0 h5888daf_0
    - libgcc 15.1.0 h767d61c_3
    - libgcc-devel_linux-64 14.3.0 h85bb3a7_103
    - libgcc-ng 15.1.0 h69a702a_3
    - libgomp 15.1.0 h767d61c_3
    - liblzma 5.8.1 hb9d3cd8_2
    - libnghttp2 1.64.0 h161d5f1_0
    - libsanitizer 14.3.0 hd08acf3_3
    - libssh2 1.11.1 hcf80075_0
    - libstdcxx 15.1.0 h8f9b012_3
    - libstdcxx-ng 15.1.0 h4852527_3
    - libuv 1.51.0 hb9d3cd8_0
    - libzlib 1.3.1 hb9d3cd8_2
    - ncurses 6.5 h2d0b736_3
    - ninja 1.13.0 h7aa8ee6_0
    - openssl 3.5.1 h7b32b05_0
    - rhash 1.4.6 hb9d3cd8_1
    - sysroot_linux-64 2.17 h0157908_18
    - tzdata 2025b h78e105d_0
    - zstd 1.5.7 hb8e6e7a_2
  run_constrained:
    - libwebp 1.6.0
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - libgcc 15.1.0 h767d61c_3
    - libgomp 15.1.0 h767d61c_3
  run:
    - __glibc >=2.17,<3.0.a0
    - libgcc >=14
test:
  commands:
    - test -f $PREFIX/lib/libwebp.so
    - test ! -f $PREFIX/lib/libwebp.a
    - test $PREFIX/pkgconfig/libwebp.pc
    - test $PREFIX/share/cmake/WebP/WebPConfig.cmake
    - test -f $PREFIX/lib/libwebpdemux.so
    - test ! -f $PREFIX/lib/libwebpdemux.a
    - test $PREFIX/pkgconfig/libwebpdemux.pc
    - test $PREFIX/share/cmake/WebP/WebPConfig.cmake
    - test -f $PREFIX/lib/libwebpmux.so
    - test ! -f $PREFIX/lib/libwebpmux.a
    - test $PREFIX/pkgconfig/libwebpmux.pc
    - test $PREFIX/share/cmake/WebP/WebPConfig.cmake
    - test -f $PREFIX/lib/libwebpdecoder.so
    - test ! -f $PREFIX/lib/libwebpdecoder.a
    - test $PREFIX/pkgconfig/libwebpdecoder.pc
    - test $PREFIX/share/cmake/WebP/WebPConfig.cmake
    - test -f $PREFIX/lib/libsharpyuv.so
    - test ! -f $PREFIX/lib/libsharpyuv.a
    - test $PREFIX/pkgconfig/libsharpyuv.pc
    - test $PREFIX/share/cmake/WebP/WebPConfig.cmake
    - test -f $PREFIX/include/webp/decode.h || (echo "decode.h not found" && exit
      1)
    - test -f $PREFIX/include/webp/demux.h || (echo "demux.h not found" && exit 1)
    - test -f $PREFIX/include/webp/encode.h || (echo "encode.h not found" && exit
      1)
    - test -f $PREFIX/include/webp/mux_types.h || (echo "mux_types.h not found" &&
      exit 1)
    - test -f $PREFIX/include/webp/mux.h || (echo "mux.h not found" && exit 1)
    - test -f $PREFIX/include/webp/types.h || (echo "types.h not found" && exit 1)
    - test ! -f $PREFIX/bin/cwebp
    - test ! -f $PREFIX/bin/dwebp
    - test ! -f $PREFIX/bin/gif2webp
    - test ! -f $PREFIX/bin/img2webp
    - test ! -f $PREFIX/bin/webpinfo
    - test ! -f $PREFIX/bin/webpmux
about:
  home: https://developers.google.com/speed/webp
  license: BSD-3-Clause
  license_file: COPYING
  summary: WebP image library
  description: 'WebP is a method of lossy and lossless compression that can be used
    on a large variety of photographic, translucent and graphical images found on
    the web. The degree of lossy compression is adjustable so a user can choose the
    trade-off between file size and image quality. libwebp-base provides the headers
    and shared libraries. For cwebp and dwep, binaries install libwebp.

    '
  doc_url: https://developers.google.com/speed/webp/docs/using
  dev_url: https://chromium.googlesource.com/webm/libwebp
extra:
  recipe-maintainers:
    - carterbox
    - dschreij
    - ocefpaf
  final: true
  copy_test_source_files: true
  flow_run_id: azure_20250710.2.1
  remote_url: https://github.com/conda-forge/libwebp-base-feedstock
  sha: bd3c814c4539eed009839c59af290063c4eae940
