mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Build on Mac with the dummy media stack
This is a temporary fix for broken GStreamer homebrew packages. Fixes 29653.
This commit is contained in:
parent
9acb9cc5cf
commit
2db364b4b1
2 changed files with 7 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue