<commit_before>{% set name = "hpp-gui" %}
{% set version = "4.10.1" %}

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

source:
  url: https://github.com/humanoid-path-planner/{{ name }}/releases/download/v{{ version }}/{{ name }}-{{ version }}.tar.gz
  sha256: 677d3bd69e98c0a158a2525d36baf2c0e022968bf6e3a92f3e690d5eb0689393
  patches:
    - patches/qcontext_fix.patch

build:
  number: 0
  skip: true  # [win]
  run_exports:
    - {{ pin_subpackage(name|lower, max_pin='x.x') }}

requirements:
  build:
    - {{ compiler('cxx') }}
    - cmake
    - make
    - pkg-config
    - doxygen
    - {{ cdt('mesa-libgl-devel') }}      # [linux]
    - {{ cdt('mesa-dri-drivers') }}      # [linux]
    - {{ cdt('libselinux-devel') }}      # [linux]
    - {{ cdt('libxdamage-devel') }}      # [linux]
    - {{ cdt('libx11-devel') }}          # [linux]
    - {{ cdt('libxfixes') }}             # [linux]
    - {{ cdt('libxxf86vm') }}            # [linux]
    - {{ cdt('libxext') }}               # [linux]
  host:
    - qt
    - boost
    - boost-cpp
    - tinyxml
    - hpp-fcl
    - hpp-util
    - hpp-statistics
    - hpp-pinocchio
    - hpp-constraints
    - hpp-core
    - hpp-template-corba
    - hpp-corbaserver
    - hpp-manipulation-corba
    - openscenegraph
    - openscenegraph-osgqt
    - gepetto-viewer
    - gepetto-viewer-corba
    - omniorb
    - omniorbpy
    - python
  run:
    - boost
    - boost-cpp
    - tinyxml
    - omniorb
    - omniorbpy
    - python

test:
  requires:
    - pkg-config
  commands:
    - pkg-config --modversion {{ name }}
    - test -f $PREFIX/lib/gepetto-gui-plugins/hppwidgetsplugin${SHLIB_EXT}  # [unix]

about:
  home: https://github.com/humanoid-path-planner/{{ name }}
  license: LGPL-3.0-or-later
  license_file: COPYING
  summary: '{{ name }} subpackage of Humanoid Path Planner suite'
  description: |
    HPP (Humanoid Path Planner) is a collection of software packages implementing
    path planning functionalities for a humanoid robot. The core functionalities are well
    suited to solve classical path planning problems. It can be extended to path planning
    for other types of robots like digital actors for instance.
  doc_url: https://gepettoweb.laas.fr/hpp/hpp-doc/doxygen-html/index.html
  dev_url: https://github.com/humanoid-path-planner/{{ name }}

extra:
  recipe-maintainers:
    - ymontmarin<commit_msg>Fix test to .so file as it is a plugin file<commit_after>{% set name = "hpp-gui" %}
{% set version = "4.10.1" %}

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

source:
  url: https://github.com/humanoid-path-planner/{{ name }}/releases/download/v{{ version }}/{{ name }}-{{ version }}.tar.gz
  sha256: 677d3bd69e98c0a158a2525d36baf2c0e022968bf6e3a92f3e690d5eb0689393
  patches:
    - patches/qcontext_fix.patch

build:
  number: 0
  skip: true  # [win]
  run_exports:
    - {{ pin_subpackage(name|lower, max_pin='x.x') }}

requirements:
  build:
    - {{ compiler('cxx') }}
    - cmake
    - make
    - pkg-config
    - doxygen
    - {{ cdt('mesa-libgl-devel') }}      # [linux]
    - {{ cdt('mesa-dri-drivers') }}      # [linux]
    - {{ cdt('libselinux-devel') }}      # [linux]
    - {{ cdt('libxdamage-devel') }}      # [linux]
    - {{ cdt('libx11-devel') }}          # [linux]
    - {{ cdt('libxfixes') }}             # [linux]
    - {{ cdt('libxxf86vm') }}            # [linux]
    - {{ cdt('libxext') }}               # [linux]
  host:
    - qt
    - boost
    - boost-cpp
    - tinyxml
    - hpp-fcl
    - hpp-util
    - hpp-statistics
    - hpp-pinocchio
    - hpp-constraints
    - hpp-core
    - hpp-template-corba
    - hpp-corbaserver
    - hpp-manipulation-corba
    - openscenegraph
    - openscenegraph-osgqt
    - gepetto-viewer
    - gepetto-viewer-corba
    - omniorb
    - omniorbpy
    - python
  run:
    - boost
    - boost-cpp
    - tinyxml
    - omniorb
    - omniorbpy
    - python

test:
  requires:
    - pkg-config
  commands:
    - pkg-config --modversion {{ name }}
    - test -f $PREFIX/lib/gepetto-gui-plugins/hppwidgetsplugin.so  # [unix]

about:
  home: https://github.com/humanoid-path-planner/{{ name }}
  license: LGPL-3.0-or-later
  license_file: COPYING
  summary: '{{ name }} subpackage of Humanoid Path Planner suite'
  description: |
    HPP (Humanoid Path Planner) is a collection of software packages implementing
    path planning functionalities for a humanoid robot. The core functionalities are well
    suited to solve classical path planning problems. It can be extended to path planning
    for other types of robots like digital actors for instance.
  doc_url: https://gepettoweb.laas.fr/hpp/hpp-doc/doxygen-html/index.html
  dev_url: https://github.com/humanoid-path-planner/{{ name }}

extra:
  recipe-maintainers:
    - ymontmarin
{'fraction_non_alphanumeric': 0.14405535751729923, 'fraction_numerical': 0.023485007339064792, 'mean_word_length': 2.3473684210526318, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1276902', 'n_tokens_mistral': 1836, 'n_tokens_neox': 1743, 'n_words': 345}