<commit_before>{% set name = "soxr" %}
{% set version = "0.1.3" %}

package:
  name: {{ name }}
  version: {{ version }}

source:
  url: https://downloads.sourceforge.net/project/{{ name }}/{{ name }}-{{ version }}-Source.tar.xz
  sha256: b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889

build:
  number: 0
  ignore_run_exports:
    - libstdc++

requirements:
  build:
    - cmake
    - {{ compiler('cxx') }}
    - {{ compiler('c') }}
    - make
    - llvm-openmp  # [osx]
    - libgomp  # [linux]

test:
  commands:
    - test -f ${PREFIX}/include/soxr.h  # [unix]
    - test -f ${PREFIX}/lib/libsoxr.so  # [linux]
    - test -f ${PREFIX}/lib/libsoxr.dylib  # [osx]
    - if not exist %PREFIX%\\Library\\include\\soxr.h exit 1  # [win]
    - if not exist %PREFIX%\\Library\\lib\\soxr.lib exit 1  # [win]
    - if not exist %PREFIX%\\Library\\bin\\soxr.dll exit 1  # [win]

about:
  home: https://sourceforge.net/projects/soxr/
  license: LGPL-2.1-or-later
  license_file: LICENCE
  summary: 'The SoX Resampler library'
  description: |
    High quality, one-dimensional sample-rate conversion library

  doc_url: https://sourceforge.net/p/soxr/wiki/Home/
  dev_url: https://sourceforge.net/projects/soxr/

extra:<commit_msg>ignore libstdcxx instd of libstdc++<commit_after>{% set name = "soxr" %}
{% set version = "0.1.3" %}

package:
  name: {{ name }}
  version: {{ version }}

source:
  url: https://downloads.sourceforge.net/project/{{ name }}/{{ name }}-{{ version }}-Source.tar.xz
  sha256: b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889

build:
  number: 0
  ignore_run_exports:
    - libstdcxx-ng

requirements:
  build:
    - cmake
    - {{ compiler('cxx') }}
    - {{ compiler('c') }}
    - make
    - llvm-openmp  # [osx]
    - libgomp  # [linux]

test:
  commands:
    - test -f ${PREFIX}/include/soxr.h  # [unix]
    - test -f ${PREFIX}/lib/libsoxr.so  # [linux]
    - test -f ${PREFIX}/lib/libsoxr.dylib  # [osx]
    - if not exist %PREFIX%\\Library\\include\\soxr.h exit 1  # [win]
    - if not exist %PREFIX%\\Library\\lib\\soxr.lib exit 1  # [win]
    - if not exist %PREFIX%\\Library\\bin\\soxr.dll exit 1  # [win]

about:
  home: https://sourceforge.net/projects/soxr/
  license: LGPL-2.1-or-later
  license_file: LICENCE
  summary: 'The SoX Resampler library'
  description: |
    High quality, one-dimensional sample-rate conversion library

  doc_url: https://sourceforge.net/p/soxr/wiki/Home/
  dev_url: https://sourceforge.net/projects/soxr/

extra:
{'fraction_non_alphanumeric': 0.16779593463531287, 'fraction_numerical': 0.045436428856117976, 'mean_word_length': 2.8975155279503104, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3182128', 'n_tokens_mistral': 1072, 'n_tokens_neox': 987, 'n_words': 193}