# This file created by conda-build 24.1.2
# ------------------------------------------------

package:
  name: libprotobuf
  version: 4.25.3
source:
  - patches:
      - patches/0001-use-consistent-cmake-location.patch
      - patches/0002-set-static-lib-extension-on-windows.patch
      - patches/0003-always-look-for-shared-abseil-builds.patch
      - patches/0004-Export-functions-in-google-compiler-java-names.patch
      - patches/0005-do-not-install-vendored-gmock.patch
      - patches/0006-Fix-getting-env-variables-on-windows.patch
      - patches/0007-Workaround-false-positive-warning-in-MSVC.-Fixes-htt.patch
      - patches/0008-fix-pkg-config-metadata-for-shared-abseil-on-windows.patch
    sha256: d19643d265b978383352b3143f04c0641eea75a75235c111cc01a1350173180e
    url: https://github.com/protocolbuffers/protobuf/archive/refs/tags/v25.3.tar.gz
build:
  ignore_run_exports_from:
    - gtest
    - jsoncpp
  number: 0
  run_exports:
    - libprotobuf >=4.25.3,<4.25.4.0a0
  string: he621ea3_0
requirements:
  build:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - _sysroot_linux-64_curr_repodata_hack 3 haa98f57_10
    - binutils_impl_linux-64 2.38 h2a08ee3_1
    - binutils_linux-64 2.38.0 hc2dff05_0
    - bzip2 1.0.8 h5eee18b_6
    - c-ares 1.19.1 h5eee18b_0
    - ca-certificates 2024.3.11 h06a4308_0
    - cmake 3.26.4 h96355d8_0
    - expat 2.6.2 h6a678d5_0
    - gcc_impl_linux-64 11.2.0 h1234567_1
    - gcc_linux-64 11.2.0 h5c386dc_0
    - gxx_impl_linux-64 11.2.0 h1234567_1
    - gxx_linux-64 11.2.0 hc2dff05_0
    - kernel-headers_linux-64 3.10.0 h57e8cba_10
    - krb5 1.20.1 h143b758_1
    - ld_impl_linux-64 2.38 h1181459_1
    - libcurl 8.7.1 h251f7ec_0
    - libedit 3.1.20230828 h5eee18b_0
    - libev 4.33 h7f8727e_1
    - libgcc-devel_linux-64 11.2.0 h1234567_1
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libnghttp2 1.57.0 h2d74bed_0
    - libssh2 1.11.0 h251f7ec_0
    - libstdcxx-devel_linux-64 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
    - libuv 1.44.2 h5eee18b_0
    - lz4-c 1.9.4 h6a678d5_1
    - ncurses 6.4 h6a678d5_0
    - ninja-base 1.10.2 hd09550d_5
    - openssl 3.0.13 h7f8727e_2
    - rhash 1.4.3 hdbd6064_0
    - sysroot_linux-64 2.17 h57e8cba_10
    - xz 5.4.6 h5eee18b_1
    - zlib 1.2.13 h5eee18b_1
    - zstd 1.5.5 hc292b87_2
  host:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - gtest 1.14.0 hdb19cb5_1
    - jsoncpp 1.9.4 hdb19cb5_3
    - libabseil 20240116.2 cxx17_h6a678d5_0
    - libabseil-tests 20240116.2 cxx17_h6a678d5_0
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
    - zlib 1.2.13 h5eee18b_1
  run:
    - libabseil =*=cxx17*
    - libabseil >=20240116.2,<20240116.3.0a0
    - libgcc-ng >=11.2.0
    - libstdcxx-ng >=11.2.0
    - zlib >=1.2.13,<1.3.0a0
test:
  commands:
    - test -f ${PREFIX}/lib/libprotoc.so
    - test ! -f ${PREFIX}/lib/libprotoc.a
    - test -f ${PREFIX}/lib/libprotobuf.so
    - test ! -f ${PREFIX}/lib/libprotobuf.a
    - test -f ${PREFIX}/lib/libprotobuf-lite.so
    - test ! -f ${PREFIX}/lib/libprotobuf-lite.a
    - test -f ${PREFIX}/lib/cmake/protobuf/protobuf-config.cmake
    - pkg-config --print-errors --exact-version "25.3.0" protobuf
    - pkg-config --print-errors --exact-version "25.3.0" protobuf-lite
    - protoc --help
    - cd cmake_test
    - cmake -GNinja $CMAKE_ARGS .
    - cmake --build .
  files:
    - cmake_test/
  requires:
    - cmake
    - gxx_linux-64 11.2.0.*
    - ninja-base
    - pkg-config
about:
  description: 'Protocol buffers are Google''s language-neutral,

    platform-neutral, extensible mechanism for serializing structured data-

    think XML, but smaller, faster, and simpler.

    '
  dev_url: https://github.com/protocolbuffers/protobuf
  doc_url: https://developers.google.com/protocol-buffers/
  home: https://developers.google.com/protocol-buffers/
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE
  summary: Protocol Buffers - Google's data interchange format. C++ Libraries and
    protoc, the protobuf compiler.
extra:
  copy_test_source_files: true
  feedstock-name: libprotobuf
  final: true
  flow_run_id: 8cdabba8-15ae-4378-9c98-7337d5363e82
  recipe-maintainers:
    - JohanMabille
    - dopplershift
    - h-vetinari
    - hajapy
    - jakirkham
    - jjerphan
    - ocefpaf
    - wesm
    - xhochy
    - xylar
  remote_url: git@github.com:AnacondaRecipes/libprotobuf-feedstock.git
  sha: f0b67d973e3f5dc435481ff2f88d983651cdecf9
