Skip to content

Commit

Permalink
MACOS: Make it possible to embed plugins when making a macOS bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
dwatteau committed May 6, 2022
1 parent 95c8ae0 commit e5952c0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ports.mk
Expand Up @@ -158,6 +158,9 @@ endif
cp $(bundle_name)/Contents/Resources/COPYING.FREEFONT $(bundle_name)/Contents/Resources/COPYING-FREEFONT
cp $(bundle_name)/Contents/Resources/COPYING.OFL $(bundle_name)/Contents/Resources/COPYING-OFL
cp $(bundle_name)/Contents/Resources/COPYING.BSD $(bundle_name)/Contents/Resources/COPYING-BSD
ifdef DYNAMIC_MODULES
cp $(PLUGINS) $(bundle_name)/Contents/Resources/
endif
chmod 644 $(bundle_name)/Contents/Resources/*
ifneq ($(DIST_FILES_SHADERS),)
chmod 755 $(bundle_name)/Contents/Resources/shaders
Expand All @@ -172,9 +175,9 @@ endif
codesign -s - --deep --force $(bundle_name)

ifdef USE_DOCKTILEPLUGIN
bundle: scummvm-static scummvm.docktileplugin bundle-pack
bundle: scummvm-static plugins scummvm.docktileplugin bundle-pack
else
bundle: scummvm-static bundle-pack
bundle: scummvm-static plugins bundle-pack
endif

iphonebundle: iphone
Expand Down

0 comments on commit e5952c0

Please sign in to comment.