meta-rust / cargo-bitbake

cargo extension that can generate BitBake recipes utilizing the classes from meta-rust
Apache License 2.0
81 stars 54 forks source link

gst-plugins-rs: Cannot parse Cargo.toml #74

Open fabioestevam opened 3 months ago

fabioestevam commented 3 months ago

Hi,

I am trying to use "cargo bitbake" to generate a recipe for the gst-plugins-rs 0.12.4 version:

https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/tree/0.12?ref_type=heads

but I am getting the following error:

$ cargo bitbake
error: failed to load manifest for workspace member `/home/fabio/gst-plugins-rs/tutorial`

Caused by:
  failed to parse manifest at `/home/fabio/gst-plugins-rs/tutorial/Cargo.toml`

Caused by:
  invalid type: map, expected SemVer version for key `package.version`

The Cargo.toml that fails to parse is this one:

https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/blob/0.12/tutorial/Cargo.toml?ref_type=heads

Any ideas, please?

fabioestevam commented 3 months ago

Adding @brgl who worked on creating a recipe for gst-plugins-rs 0.8.4: https://patchwork.yoctoproject.org/project/oe-core/patch/20220606132653.60232-5-brgl@bgdev.pl/