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
Linux - MPV is missing Wayland dependency #169315
Comments
Please add the Wayland dependency as currently no video is displayed when playing on Fedora 40. |
Can you open a PR to update the formula? |
@carlocab I am unfamiliar with mpv, I just quoted from the developers of mpv in the above report. Also I am not much familiar with the homebrew and ruby. I was hoping that the person who created the mpv formula could update it. I am also not sure if just adding that dependency would solve the problem. Also i saw that Wayland package is already installed with homebrew on Linux (not by mpv formula but by some other formula). |
The formula was added almost 10 years ago in 2d56414, and the author has not contributed to Homebrew/core since then. Formulae in homebrew/core are maintained by the community, so there isn't really anyone better to try to fix this problem than you! I am happy to try to help you with this, though.
Yes, you are correct. However, can you try to apply this patch and rebuild diff --git a/Formula/m/mpv.rb b/Formula/m/mpv.rb
index ec274dcc262..f6a8c2af7dd 100644
--- a/Formula/m/mpv.rb
+++ b/Formula/m/mpv.rb
@@ -34,6 +34,9 @@ class Mpv < Formula
on_linux do
depends_on "alsa-lib"
+ depends_on "wayland"
+ depends_on "wayland-protocols"
+ depends_on "libxkbcommon"
end
def install To do this, copy the patch above into, say,
Hopefully this should fix your issue. You can Let me know if it helps so we can fix the formula. I don't have a Linux machine to test this, so I am unable to try it myself. |
@carlocab getting following Log, which states that
Log
|
Try looking for the log somewhere inside The whole |
Logs: https://0x0.st/XHgn.zip |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputOutput of
brew doctor
Verification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Use mpv on Linux
Description of issue
This issue was reported at MPV repository but developers closed it as the scope of it lies with Homebrew.
Please check: mpv-player/mpv#13893
Diagnosis
Missing Wayland dependency on Linux!
What happened (include all command output)?
What did you expect to happen?
There is no video output!
MPV Log file
https://0x0.st/X-DK.txt
Step-by-step reproduction instructions (by running
brew
commands)Installation of MPV with BREW (output)
https://0x0.st/X-DZ.txt
The text was updated successfully, but these errors were encountered: