diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-04-23 10:56:00 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-04-23 12:50:00 +0200 |
commit | 2db364b4b10592a7c9a0389a525d0570d84ef825 (patch) | |
tree | 21e539ca751e71ef9826a4ba6ca602c57e8e8abf /python/servo/package_commands.py | |
parent | 9acb9cc5cf21d14709355a3c75af7202e9301bd5 (diff) | |
download | servo-2db364b4b10592a7c9a0389a525d0570d84ef825.tar.gz servo-2db364b4b10592a7c9a0389a525d0570d84ef825.zip |
Build on Mac with the dummy media stack
This is a temporary fix for broken GStreamer homebrew packages.
Fixes 29653.
Diffstat (limited to 'python/servo/package_commands.py')
-rw-r--r-- | python/servo/package_commands.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py index c5b9fb69726..4f19c8dea19 100644 --- a/python/servo/package_commands.py +++ b/python/servo/package_commands.py @@ -342,7 +342,9 @@ class PackageCommands(CommandBase): change_prefs(dir_to_resources, "macosx") print("Finding dylibs and relinking") - copy_dependencies(path.join(content_dir, 'servo'), content_dir) + # TODO(mrobinson): GStreamer dependencies don't need to be packaged + # with servo until the media backend is re-enabled. + # copy_dependencies(path.join(content_dir, 'servo'), content_dir) print("Adding version to Credits.rtf") version_command = [binary_path, '--version'] @@ -403,7 +405,9 @@ class PackageCommands(CommandBase): # Note that in the context of Homebrew, libexec is reserved for private use by the formula # and therefore is not symlinked into HOMEBREW_PREFIX. os.makedirs(path.join(dir_to_brew, 'libexec')) - copy_dependencies(path.join(dir_to_brew, 'bin', 'servo'), path.join(dir_to_brew, 'libexec')) + # TODO(mrobinson): GStreamer dependencies don't need to be packaged + # with servo until the media backend is re-enabled. + # copy_dependencies(path.join(dir_to_brew, 'bin', 'servo'), path.join(dir_to_brew, 'libexec')) archive_deterministically(dir_to_brew, tar_path, prepend_path='servo/') delete(dir_to_brew) print("Packaged Servo into " + tar_path) |