Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align recipe style with gz-math one to fix autotick-bot #32

Merged
merged 2 commits into from
Aug 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
{% set component_name = "fuel-tools" %}
{% set cmake_name = "fuel_tools" %}
{% set repo_name = "gz-" + component_name %}
{% set version = "9_9.0.3" %}
{% set version_package = version.split('_')[1] %}
{% set major_version = version_package.split('.')[0] %}
{% set version = "9.0.3" %}
{% set major_version = version.split('.')[0] %}
{% set name = repo_name + major_version %}
{% set component_version = component_name + major_version %}
{% set cmake_version = cmake_name + major_version %}
{% set cxx_name = "lib" + name %}

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

source:
- url: https://github.com/gazebosim/{{ repo_name }}/archive/{{ repo_name }}{{ version }}.tar.gz
- url: https://github.com/gazebosim/{{ repo_name }}/archive/{{ repo_name }}{{ major_version }}_{{ version }}.tar.gz
sha256: fba6798efd7db5a6ac824113123effd19e9907cd479d5d1b1314bb3dd4c6f705

build:
number: 0
number: 1

outputs:
- name: {{ cxx_name }}
Expand All @@ -31,6 +30,7 @@ outputs:
build:
- {{ compiler('cxx') }}
- {{ compiler('c') }}
- {{ stdlib('c') }}
- cmake
- ninja
- pkgconfig
Expand Down