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

[Feature] Options for depends #5785

Open
brian6932 opened this issue Jan 16, 2024 · 0 comments
Open

[Feature] Options for depends #5785

brian6932 opened this issue Jan 16, 2024 · 0 comments

Comments

@brian6932
Copy link

brian6932 commented Jan 16, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant