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

feat: add Apple silicon build #571

Merged
merged 6 commits into from
May 13, 2024
Merged

Conversation

gnattu
Copy link
Member

@gnattu gnattu commented Mar 6, 2024

This modified the build script to make it build with homebrew's qt5

GitHub's macOS 14 runner is Apple Silicon exclusive, so use that to build the image.

If the artifact is directly downloaded without code signing, the user will have to code sign it. An adhoc sign would be enough:

codesign --force --deep -s - Jellyfin\ Media\ Player.app/

Fixes #99

@gnattu gnattu mentioned this pull request Mar 6, 2024
@@ -13,6 +14,9 @@ def main(argv=tuple(sys.argv[1:])):

bundle_path = Path(arguments.bundle[0])
framework_path = bundle_path / 'Contents' / 'Frameworks'
rpath_str = '/usr/local/lib'
if platform.machine() == 'arm64':
rpath_str = '/opt/homebrew/lib'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use brew --prefix to get homebrew install prefix ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was initially written for use cases when homebrew is not required(as the old Intel install script does not use homebrew's qt). Probably we can do this for now as the Intel build has to use homebrew's qt as well for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support m1 macs
3 participants