File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,19 @@ class Pyside < Formula
6868 depends_on "qtshadertools"
6969 end
7070
71- on_system :linux , macos : :sonoma_or_newer do
71+ on_sonoma :or_newer do
7272 depends_on "qtwebengine"
7373 depends_on "qtwebview"
7474 end
7575
7676 on_linux do
7777 depends_on "mesa"
78+
79+ # TODO: Add dependencies on all Linux when `qtwebengine` is bottled on arm64 Linux
80+ on_intel do
81+ depends_on "qtwebengine"
82+ depends_on "qtwebview"
83+ end
7884 end
7985
8086 # Fix .../sources/pyside6/qtexampleicons/module.c:4:10: fatal error: 'Python.h' file not found
@@ -129,7 +135,7 @@ def install
129135 Widgets
130136 Xml
131137 ]
132- modules << "WebEngineCore" if OS . linux? || MacOS . version > :ventura
138+ modules << "WebEngineCore" if ( OS . linux? && Hardware :: CPU . intel? ) || ( OS . mac? && MacOS . version >= :sonoma )
133139 modules . each { |mod | system python3 , "-c" , "import PySide6.Qt#{ mod } " }
134140
135141 pyincludes = shell_output ( "#{ python3 } -config --includes" ) . chomp . split
You can’t perform that action at this time.
0 commit comments