Scoop icon indicating copy to clipboard operation
Scoop copied to clipboard

[Feature] Options for `depends`

Open brian6932 opened this issue 1 year ago • 0 comments

Feature Request

Is your feature request related to a problem? Please describe.

Since currently there's no way to have a package with install flags with something like -nightly or -beta...

Describe the solution you'd like

...it would be nice for depends to work like:

{"depends":["ffmpeg|ffmpeg-nightly","mpv|mpv-git"]}

where packages to the left or right side of the pipe are options, this makes it so that you can keep the schema backwards compatible, while still allowing options. Potentially even something like wildcards could be used.

Describe alternatives you've considered

There's suggest, which isn't bad, but it can't just undo every package that already uses depends.

brian6932 avatar Jan 16 '24 11:01 brian6932