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

package:
  name: libprotobuf
  version: 4.24.4
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
    sha256: 616bb3536ac1fff3fb1a141450fa28b875e985712170ea7f1bfe5e5fc41e2cd8
    url: https://github.com/protocolbuffers/protobuf/archive/refs/tags/v24.4.tar.gz
build:
  ignore_run_exports_from:
    - gtest
    - jsoncpp
  number: 0
  run_exports:
    - libprotobuf >=4.24.4,<4.24.5.0a0
  string: hf27288f_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
    - c-ares 1.19.1 hd590300_0
    - ca-certificates 2023.7.22 hbcca054_0
    - cmake 3.27.6 hcfe8598_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
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.21.2 h659d440_0
    - ld_impl_linux-64 2.40 h41732ed_0
    - libcurl 8.3.0 hca28451_0
    - libedit 3.1.20191231 he28a2e2_2
    - libev 4.33 h516909a_1
    - libexpat 2.5.0 hcb278e6_1
    - libgcc-devel_linux-64 12.3.0 h8bca6fd_2
    - libgcc-ng 13.2.0 h807b86a_2
    - libgomp 13.2.0 h807b86a_2
    - libnghttp2 1.52.0 h61bc06f_0
    - libsanitizer 12.3.0 h0f45ef3_2
    - libssh2 1.11.0 h0841786_0
    - libstdcxx-devel_linux-64 12.3.0 h8bca6fd_2
    - libstdcxx-ng 13.2.0 h7e041cc_2
    - libuv 1.46.0 hd590300_0
    - libzlib 1.2.13 hd590300_5
    - ncurses 6.4 hcb278e6_0
    - ninja 1.11.1 h924138e_0
    - openssl 3.1.3 hd590300_0
    - rhash 1.4.4 hd590300_0
    - sysroot_linux-64 2.12 he073ed8_16
    - xz 5.2.6 h166bdaf_0
    - zstd 1.5.5 hfc55251_0
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - gtest 1.14.0 h00ab1b0_1
    - jsoncpp 1.9.5 h4bd325d_1
    - libabseil 20230802.1 cxx17_h59595ed_0
    - libabseil-tests 20230802.1 cxx17_h59595ed_0
    - libgcc-ng 13.2.0 h807b86a_2
    - libgomp 13.2.0 h807b86a_2
    - libstdcxx-ng 13.2.0 h7e041cc_2
    - libzlib 1.2.13 hd590300_5
    - zlib 1.2.13 hd590300_5
  run:
    - libabseil =*=cxx17*
    - libabseil >=20230802.1,<20230803.0a0
    - libgcc-ng >=12
    - libstdcxx-ng >=12
    - libzlib >=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
    - test -f ${PREFIX}/lib/pkgconfig/protobuf.pc
    - test -f ${PREFIX}/lib/pkgconfig/protobuf-lite.pc
    - protoc --help
    - cd cmake_test
    - cmake -GNinja $CMAKE_ARGS .
    - cmake --build .
  files:
    - cmake_test/
  requires:
    - cmake
    - gxx_linux-64 12.*
    - ninja
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_source_url: https://github.com/protocolbuffers/protobuf/releases
  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
  recipe-maintainers:
    - dopplershift
    - h-vetinari
    - hajapy
    - jakirkham
    - ocefpaf
    - wesm
    - xhochy
    - xylar
