kornelski / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
https://lib.rs/cargo-deb
MIT License
404 stars 48 forks source link

[Feature Request] Option To Disable Variant Naming #86

Closed lexi-the-cute closed 12 months ago

lexi-the-cute commented 1 year ago

I use variants to slightly adjust packages based on their architecture. This is mostly due to the build system I'm using not having the packages I need, so I build them from source and therefor the $auto option does not get the right version of the packages.

I'd like to be able to turn off adjusting package names for a variant. For example, I have a variant named raspberrypios, but I would like to keep my package name as mygame instead of mygame-raspberrypios. This option should be per variant as I do use a variant name for the musl build of my game as I provide the dependencies for the musl build.

kornelski commented 1 year ago

I think it's already supported by using name property in the variant.