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

ffmpeg 3.3.3 #16205

Closed
wants to merge 1 commit into from
Closed

ffmpeg 3.3.3 #16205

wants to merge 1 commit into from

Conversation

zmwangx
Copy link
Contributor

@zmwangx zmwangx commented Jul 29, 2017

Created with brew bump-formula-pr.


@zmwangx
Copy link
Contributor Author

zmwangx commented Jul 29, 2017

3.3.3 still uses yasm as the default x86 assembler.

@fxcoudert
Copy link
Member

@BrewTestBot test this please

@fxcoudert
Copy link
Member

Why does the CI say macOS El Capitan or newer is required?

@zmwangx
Copy link
Contributor Author

zmwangx commented Jul 29, 2017

? Got a link?

@ilovezfs
Copy link
Contributor

@zmwangx
Copy link
Contributor Author

zmwangx commented Jul 29, 2017

I only see two MinMOSR's in core, nordugrid-arc and phantomjs, and they don't appear to be related to ffmpeg.

@fxcoudert
Copy link
Member

@ilovezfs I don't see which deps would do that

@ilovezfs
Copy link
Contributor

zimg

@fxcoudert
Copy link
Member

That's an optional dependency, why should the CI care?

@ilovezfs
Copy link
Contributor

because ffmpeg.stable.recursive_requirements makes no distinction

@zmwangx
Copy link
Contributor Author

zmwangx commented Jul 29, 2017

But losing the bottles because of some optional dependency is not great.

@ilovezfs
Copy link
Contributor

irb(main):002:0> Formula["ffmpeg"].stable.recursive_requirements.map(&:inspect)
=> ["#<GitRequirement: \"git\" [:build]>", "#<MinimumMacOSRequirement: \"minimummacos\" [:lion]>", "#<MinimumMacOSRequirement: \"minimummacos\" [:el_capitan]>", "#<JavaRequirement: \"java\" [] version=\"1.8+\">"]

@ilovezfs
Copy link
Contributor

@zmwangx I didn't say it was good.

@ilovezfs
Copy link
Contributor

📹

@zmwangx zmwangx deleted the ffmpeg-3.3.3 branch July 29, 2017 21:44
@ilovezfs
Copy link
Contributor

diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb
index 0d2b48a..c91d949 100644
--- a/Library/Homebrew/software_spec.rb
+++ b/Library/Homebrew/software_spec.rb
@@ -164,6 +164,7 @@ class SoftwareSpec
     deps_f = []
     recursive_dependencies = deps.map do |dep|
       begin
+        next if dep.optional?
         deps_f << dep.to_formula
         dep
       rescue TapFormulaUnavailableError
@@ -173,6 +174,7 @@ class SoftwareSpec
     end.compact.uniq
     deps_f.compact.each do |f|
       f.recursive_dependencies.each do |dep|
+        next if dep.optional?
         recursive_dependencies << dep unless recursive_dependencies.include?(dep)
       end
     end

I think is what we want, though I'm not sure if we should filter build too.

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants