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

package:
  name: grpc-cpp
  version: 1.48.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-patch-tests-to-use-passed-CXX_STANDARD.patch
    - patches/0006-switch-to-C-17-for-grpcio.patch
    - patches/0007-fix-abseil-setup.patch
  sha256: bdb8e98145469d58c69ab9f2c9e0bd838c2836a99b5760bc0ebf658623768f52
  url: https://github.com/grpc/grpc/archive/v1.48.2.tar.gz
build:
  number: 4
  run_exports:
    - grpc-cpp >=1.48.2,<1.49.0a0
  script_env:
    - LIB_EXT=.so
  string: he1ff14a_4
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 h7b6447c_0
    - c-ares 1.19.1 h5eee18b_0
    - ca-certificates 2023.08.22 h06a4308_0
    - cmake 3.26.4 h96355d8_0
    - expat 2.5.0 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.4.0 h251f7ec_1
    - libedit 3.1.20221030 h5eee18b_0
    - libev 4.33 h7f8727e_1
    - libffi 3.4.4 h6a678d5_0
    - 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
    - libprotobuf 3.20.3 he621ea3_0
    - libssh2 1.10.0 hdbd6064_2
    - libstdcxx-devel_linux-64 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
    - libuuid 1.41.5 h5eee18b_0
    - libuv 1.44.2 h5eee18b_0
    - lz4-c 1.9.4 h6a678d5_0
    - ncurses 6.4 h6a678d5_0
    - ninja 1.10.2 h06a4308_5
    - ninja-base 1.10.2 hd09550d_5
    - openssl 3.0.12 h7f8727e_0
    - patch 2.7.6 h7b6447c_1001
    - pkg-config 0.29.2 h1bed415_8
    - python 3.12.0 h996f2a0_0
    - readline 8.2 h5eee18b_0
    - rhash 1.4.3 hdbd6064_0
    - sqlite 3.41.2 h5eee18b_0
    - sysroot_linux-64 2.17 h57e8cba_10
    - tk 8.6.12 h1ccaba5_0
    - tzdata 2023c h04d1e81_0
    - xz 5.4.5 h5eee18b_0
    - zlib 1.2.13 h5eee18b_0
    - zstd 1.5.5 hc292b87_0
  host:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - abseil-cpp 20230802.0 h6a678d5_2
    - c-ares 1.19.1 h5eee18b_0
    - ca-certificates 2023.08.22 h06a4308_0
    - gtest 1.14.0 hdb19cb5_0
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libprotobuf 3.20.3 he621ea3_0
    - libstdcxx-ng 11.2.0 h1234567_1
    - openssl 3.0.12 h7f8727e_0
    - re2 2022.04.01 h295c915_0
    - zlib 1.2.13 h5eee18b_0
  run:
    - abseil-cpp >=20230802.0,<20230802.1.0a0
    - c-ares >=1.19.1,<2.0a0
    - libgcc-ng >=11.2.0
    - libprotobuf >=3.20.3,<3.20.4.0a0
    - libprotobuf >=3.20.3,<3.21.0a0
    - libstdcxx-ng >=11.2.0
    - openssl 3.*
    - openssl >=3.0.12,<4.0a0
    - re2 >=2022.4.1,<2022.4.2.0a0
    - zlib >=1.2.13,<1.3.0a0
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/lib/libupb.so
    - test ! -f $PREFIX/lib/libupb.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 "26.0.0" gpr
    - pkg-config --print-errors --exact-version "26.0.0" grpc
    - pkg-config --print-errors --exact-version "26.0.0" grpc_unsecure
    - pkg-config --print-errors --exact-version "1.48.2" grpc++
    - pkg-config --print-errors --exact-version "1.48.2" grpc++_unsecure
    - ./test_grpc.sh
  files:
    - test_grpc.bat
    - test_grpc.sh
    - tests/include/*
  requires:
    - cmake
    - gcc_linux-64 11.*
    - gxx_linux-64 11.*
    - ninja
    - pkg-config
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
  final: true
  flow_run_id: 18cdb7ce-db81-457c-98a3-53980176fcf7
  recipe-maintainers:
    - mingwandroid
    - pitrou
    - wesm
    - xhochy
  remote_url: git@github.com:AnacondaRecipes/grpc-cpp-feedstock.git
  sha: d0b17987fc387e38669cd71ffd1617e20e3647cb
