mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
allow build mac os x dmg with shaders enabled
This commit is contained in:
parent
aa74f1c610
commit
7fd21d7620
14
ports.mk
14
ports.mk
@ -81,9 +81,16 @@ endif
|
||||
cp $(DIST_FILES_THEMES) $(bundle_name)/Contents/Resources/
|
||||
ifdef DIST_FILES_ENGINEDATA
|
||||
cp $(DIST_FILES_ENGINEDATA) $(bundle_name)/Contents/Resources/
|
||||
endif
|
||||
ifdef USE_OPENGL_SHADERS
|
||||
mkdir -p $(bundle_name)/Contents/Resources/shaders
|
||||
cp $(DIST_FILES_SHADERS) $(bundle_name)/Contents/Resources/shaders/
|
||||
endif
|
||||
$(srcdir)/devtools/credits.pl --rtf > $(bundle_name)/Contents/Resources/Credits.rtf
|
||||
chmod 644 $(bundle_name)/Contents/Resources/*
|
||||
ifdef USE_OPENGL_SHADERS
|
||||
chmod 755 $(bundle_name)/Contents/Resources/shaders
|
||||
endif
|
||||
cp residualvm-static $(bundle_name)/Contents/MacOS/residualvm
|
||||
chmod 755 $(bundle_name)/Contents/MacOS/residualvm
|
||||
$(STRIP) $(bundle_name)/Contents/MacOS/residualvm
|
||||
@ -115,7 +122,7 @@ ifneq ($(BACKEND), iphone)
|
||||
# Static libaries, used for the residualvm-static and iphone targets
|
||||
OSX_STATIC_LIBS := `$(STATICLIBPATH)/bin/sdl-config --static-libs`
|
||||
ifdef USE_FREETYPE2
|
||||
OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libfreetype.a $(STATICLIBPATH)/lib/libbz2.a
|
||||
OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libfreetype.a $(STATICLIBPATH)/lib/libbz2.a $(STATICLIBPATH)/lib/libpng.a
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -172,6 +179,11 @@ ifdef USE_SPARKLE
|
||||
OSX_STATIC_LIBS += -framework Sparkle -F$(STATICLIBPATH)
|
||||
endif
|
||||
|
||||
# ResidualVM specific:
|
||||
ifdef USE_OPENGL_SHADERS
|
||||
OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libglew.a
|
||||
endif
|
||||
|
||||
ifdef USE_TERMCONV
|
||||
OSX_ICONV ?= -liconv
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user