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

package:
  name: libprotobuf
  version: 3.20.3
source:
  - patches:
      - patches/0002-use-consistent-cmake-location.patch
      - patches/0003-set-static-lib-extension-on-windows.patch
    sha256: 9c0fd39c7a08dff543c643f0f4baf081988129a411b977a07c46221793605638
    url: https://github.com/protocolbuffers/protobuf/archive/v3.20.3/libprotobuf-v3.20.3.tar.gz
  - folder: third_party/benchmark
    sha256: 5dc92703f811f94e2aa63bdab07ab749f28a094befa6cdfd5fe177f947590a48
    url: https://github.com/google/benchmark/archive/5b7683f49e1e9223cf9927b24f6fd3d6bd82e3f8.tar.gz
  - folder: third_party/googletest
    sha256: 0e2f36e8e403c125fd0ab02171bdb786d3b6b3875b6ccf3b2eb7969be8faecd0
    url: https://github.com/google/googletest/archive/5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081.tar.gz
build:
  number: 0
  run_exports:
    - libprotobuf >=3.20.3,<3.21.0a0
  string: h3eb15da_0
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - autoconf 2.71 pl5321h2b4cb7a_1
    - automake 1.16.5 pl5321ha770c72_0
    - binutils_impl_linux-64 2.39 he00db2b_1
    - binutils_linux-64 2.39 h5fc0e48_12
    - gcc_impl_linux-64 11.3.0 hab1b70f_19
    - gcc_linux-64 11.3.0 he6f903b_12
    - gxx_impl_linux-64 11.3.0 hab1b70f_19
    - gxx_linux-64 11.3.0 hc203a17_12
    - kernel-headers_linux-64 2.6.32 he073ed8_15
    - ld_impl_linux-64 2.39 hcc3a1bd_1
    - libgcc-devel_linux-64 11.3.0 h210ce93_19
    - libgcc-ng 12.2.0 h65d4601_19
    - libgomp 12.2.0 h65d4601_19
    - libnsl 2.0.0 h7f98852_0
    - libsanitizer 11.3.0 h239ccf8_19
    - libstdcxx-devel_linux-64 11.3.0 h210ce93_19
    - libstdcxx-ng 12.2.0 h46fd767_19
    - libtool 2.4.7 h27087fc_0
    - m4 1.4.18 h516909a_1001
    - make 4.3 hd18ef5c_1
    - perl 5.32.1 2_h7f98852_perl5
    - pkg-config 0.29.2 h36c2ea0_1008
    - sysroot_linux-64 2.12 he073ed8_15
    - unzip 6.0 h7f98852_3
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - libgcc-ng 12.2.0 h65d4601_19
    - libgomp 12.2.0 h65d4601_19
    - libstdcxx-ng 12.2.0 h46fd767_19
    - libzlib 1.2.13 h166bdaf_4
    - zlib 1.2.13 h166bdaf_4
  run:
    - 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/pkgconfig/protobuf.pc
    - test -f ${PREFIX}/lib/pkgconfig/protobuf-lite.pc
    - protoc --help
  files:
    - cmake_test/
  requires: null
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
