-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
mpv 0.30 #45854
mpv 0.30 #45854
Conversation
|
I don't know why the @BrewTestBot suggest I get error message as https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/50536/version=catalina/testReport/junit/brew-test-bot/catalina/install___build_bottle_mpv/
I check the code from mpv https://github.com/mpv-player/mpv/blame/master/wscript#L416 , and I don't think mpv actually looking for the one @BrewTestBot or is there any workaround to skip this warning or fix it? Thanks |
Looks like we have removed it per this PR, #44282? |
yes, I believe but now, the |
Formula/mpv.rb
Outdated
depends_on "pkg-config" => :build | ||
depends_on "python" => :build | ||
|
||
depends_on "ffmpeg" => "4.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
depends_on "ffmpeg" => "4.0" | |
depends_on "ffmpeg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't accept pinned versions of dependencies. Dependencies are “latest version”, always.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix in 589c060
Formula/mpv.rb
Outdated
|
||
depends_on "ffmpeg" => "4.0" | ||
depends_on "jpeg" | ||
# uses_from_macos "libarchive" does not work |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove that comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix in 589c060
depends_on "libarchive" | ||
depends_on "libass" | ||
depends_on "little-cms2" | ||
depends_on "lua@5.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't build with latest lua version (5.3)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately, mpv does not support lua 5.3 at this point mpv-player/mpv#5205
@Homebrew/core opinion on this? |
Seeing how bad the experience packaging mpv has been I'm inclined to say it should just be in a tap somewhere. |
Formula/mpv.rb
Outdated
system "python3", "waf", "install" | ||
|
||
system "python3", "TOOLS/osxbundle.py", "build/mpv" | ||
prefix.install "build/mpv.app" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't install a .app
for Homebrew/homebrew-core, thanks. That's what homebrew/cask
is for.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank @MikeMcQuaid , it seems that install as a .app
was an option, then it became default behavior in this commit 1fdd9b1 do you want me to add the with-bundle
option back?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No option, simply do not install the app. People who want the app can install from cask
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deleted in 0c7e9af
Once the |
OK, we're good to go. Please squash all changes into a single commit ( |
Thanks so much again for your contribution! Without people like you submitting PRs we couldn't run this project. You rock, @jnozsc! |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?