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

package:
  name: libgrpc
  version: 1.62.2
source:
  patches:
    - patches/0001-windows-ssl-lib-names.patch
    - patches/0002-fix-win-setup-cmds.patch
    - patches/0003-Link-against-grpc.patch
    - patches/0004-force-protoc-executable.patch
    - patches/0005-switch-to-C-17-for-grpcio.patch
    - patches/0006-fix-abseil-setup.patch
    - patches/0007-mark-linkage-of-c-ares-re2-zlib-as-private.patch
    - patches/0008-link-grpc-_unsecure-to-grpc.patch
    - patches/0009-fix-missing-DLL-exports-in-vendored-upb.patch
    - patches/0010-for-main-targets-set-_DLL_EXPORTS-when-building-and-.patch
  sha256: e5d5e0dd96fe9452fe24cc8c827381dca484c54d171fb512a198025fec81a3c8
  url: https://github.com/grpc/grpc/archive/v1.62.2.tar.gz
build:
  number: 0
  run_exports:
    - libgrpc >=1.62.2,<1.63.0a0
  string: h2d74bed_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
    - c-ares 1.19.1 h5eee18b_0
    - ca-certificates 2024.3.11 h06a4308_0
    - libabseil 20240116.2 cxx17_h6a678d5_0
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libprotobuf 4.25.3 he621ea3_0
    - libstdcxx-ng 11.2.0 h1234567_1
    - openssl 3.0.13 h7f8727e_2
    - re2 2022.04.01 h295c915_0
    - zlib 1.2.13 h5eee18b_1
  run:
    - c-ares >=1.19.1,<2.0a0
    - libabseil =*=cxx17*
    - libabseil >=20240116.2,<20240116.3.0a0
    - libgcc-ng >=11.2.0
    - libprotobuf >=4.25.3,<4.25.4.0a0
    - libstdcxx-ng >=11.2.0
    - openssl >=3.0.13,<4.0a0
    - re2 >=2022.4.1,<2022.4.2.0a0
    - zlib >=1.2.13,<1.3.0a0
  run_constrained:
    - grpc-cpp =1.62.2
test:
  commands:
    - test -f $PREFIX/lib/libgpr.so
    - test ! -f $PREFIX/lib/libgpr.a
    - test -f $PREFIX/lib/libgrpc.so
    - test ! -f $PREFIX/lib/libgrpc.a
    - test -f $PREFIX/lib/libgrpc_unsecure.so
    - test ! -f $PREFIX/lib/libgrpc_unsecure.a
    - test -f $PREFIX/lib/libgrpc++.so
    - test ! -f $PREFIX/lib/libgrpc++.a
    - test -f $PREFIX/lib/libgrpc++_unsecure.so
    - test ! -f $PREFIX/lib/libgrpc++_unsecure.a
    - test -f $PREFIX/lib/libaddress_sorting.so
    - test ! -f $PREFIX/lib/libaddress_sorting.a
    - test -f $PREFIX/bin/grpc_cpp_plugin
    - test -f $PREFIX/bin/grpc_csharp_plugin
    - test -f $PREFIX/bin/grpc_node_plugin
    - test -f $PREFIX/bin/grpc_objective_c_plugin
    - test -f $PREFIX/bin/grpc_php_plugin
    - test -f $PREFIX/bin/grpc_python_plugin
    - test -f $PREFIX/bin/grpc_ruby_plugin
    - pkg-config --print-errors --exact-version "39.0.0" gpr
    - pkg-config --print-errors --exact-version "39.0.0" grpc
    - pkg-config --print-errors --exact-version "39.0.0" grpc_unsecure
    - pkg-config --print-errors --exact-version "1.62.2" grpc++
    - pkg-config --print-errors --exact-version "1.62.2" grpc++_unsecure
    - ./test_grpc.sh
    - cd cmake_test
    - cmake -GNinja -DCMAKE_CXX_STANDARD=17 $CMAKE_ARGS .
    - cmake --build .
  files:
    - cmake_test/
    - hello.proto
    - test_grpc.bat
    - test_grpc.sh
  requires:
    - cmake
    - gcc_linux-64 11.2.0.*
    - gxx_linux-64 11.2.0.*
    - ninja-base
    - pkg-config
  source_files:
    - examples/
about:
  description: 'gRPC is a modern, open source, high-performance remote procedure call

    (RPC) framework that can run anywhere. gRPC enables client and server

    applications to communicate transparently, and simplifies the building

    of connected systems.


    This package contains the gRPC C++ libraries and header files, as well

    as the code generation plugins.

    '
  dev_url: https://github.com/grpc/grpc
  doc_url: https://grpc.io/docs/
  home: https://grpc.io/
  license: Apache-2.0
  license_family: APACHE
  license_file: LICENSE
  summary: gRPC - A high-performance, open-source universal RPC framework
extra:
  copy_test_source_files: true
  feedstock-name: grpc-cpp
  final: true
  flow_run_id: f5ebf7da-41cd-4529-a549-007e9beb681a
  recipe-maintainers:
    - JohanMabille
    - h-vetinari
    - jjerphan
    - mariusvniekerk
    - pitrou
    - wesm
    - xhochy
  remote_url: git@github.com:AnacondaRecipes/grpc-cpp-feedstock.git
  sha: 39c649b8fa9ecf2dc8f2c39c28fba56c4ee1503f
