-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
meta.yaml
59 lines (52 loc) · 1.91 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{% set name = "libsdformat" %}
{% set version = "9.8.0" %}
package:
name: {{ name }}
version: {{ version }}
source:
- url: https://github.com/osrf/sdformat/archive/sdformat{{ version.split('.')[0] }}_{{ version }}.tar.gz
sha256: 6aabb4e08073d506f27a8e801eb175cca9a1c938e4fbff6b30f0b2ddf52a9b5e
patches:
- sdformat.patch
build:
number: 0
run_exports:
- {{ pin_subpackage(name, max_pin='x') }}
requirements:
build:
- {{ compiler('cxx') }}
- {{ compiler('c') }}
- ninja # [not win]
- ruby # [not win]
- ruby 2.7 # [win]
- cmake
- pkg-config
host:
- libignition-math6
- urdfdom
- tinyxml
- console_bridge
run:
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx and x86_64]
test:
commands:
- test -f ${PREFIX}/include/sdformat-{{ version.split('.')[0] }}.{{ version.split('.')[1] }}/sdf/sdf.hh # [not win]
- test -f ${PREFIX}/lib/libsdformat{{ version.split('.')[0] }}${SHLIB_EXT} # [unix]
- test -f ${PREFIX}/lib/cmake/sdformat{{ version.split('.')[0] }}/sdformat{{ version.split('.')[0] }}-config.cmake # [not win]
- if not exist %LIBRARY_INC%\\sdformat-{{ version.split('.')[0] }}.{{ version.split('.')[1] }}\\sdf\\sdf.hh exit 1 # [win]
- if not exist %LIBRARY_LIB%\\sdformat{{ version.split('.')[0] }}.lib exit 1 # [win]
- if not exist %LIBRARY_BIN%\\sdformat{{ version.split('.')[0] }}.dll exit 1 # [win]
- if not exist %LIBRARY_LIB%\\cmake\\sdformat{{ version.split('.')[0] }}\\sdformat{{ version.split('.')[0] }}-config.cmake exit 1 # [win]
about:
home: http://sdformat.org/
license: Apache-2.0
license_file: LICENSE
summary: |
Simulation Description Format (SDF) parser and description files.
extra:
recipe-maintainers:
- seanyen
- j-rivero
- conda-forge/ros-core
- Tobias-Fischer
- traversaro