For quite some time, ScummVM is available in the Snap store thanks to
the Snapcrafters community. A while back I started to contribute to the
package and we made great progress there - the ScummVM snap is now
(almost) on par with our other releases.
However, this snapcraft.yaml file is now more or less obsolete since it
lacks basically all improvements we made so far.
The long term goal is to become the official maintainers of the ScummVM
snap - we are almost there, just a few minor issues are remaining.
I'm dropping this snapcraft.yaml file since it's heavily outdated.
Please follow
- https://github.com/snapcrafters/scummvm/
for now.
As soon as the Snap is really stable, I'll merge snapcrafters/scummvm
back into this repository, so development can continue here.
This is a workaround for the blurry display we get on retina screen
when building with SDK 10.14 or above. Unsetting the SDK version
in the executable is sufficient to avoid the issue. See bug
similar change in LibreOffice.
The workaround can only be used with Xcode 11 or above. When using
configure it automatically detects if the workaround can be used.
The workaround is disabled by default in create_project and needs
to be enabled manually (uncomment the MACOSX_NO_SDKVERSION define
at the top of the xcode.cpp file).
With the project including both iOS and macOS targets, using an
absolute path ensures it is incorrect for one of those. Since it was
using /usr/local/lib/ all the paths had to be changed in Xcode to
build the iOS target.
Also as the paths where we expect the libraries to be (/usr/local/lib
on macOS and lib under the build directory for iOS) are added to the
search path in the Xcode project, we do not actually need to use
absolute path). Also this make it easier to use a different path for
libraries (e.g. if using MacPort or brew) as we only need to change
the search path setting in the Xcode project and not the
path for each library).