396 Commits

Author SHA1 Message Date
Donovan Watteau
821dcd0a99 BUILD: MACOSX: Add sonivox library support to macOS bundles
libsonivox-static.a is what upstream uses by default.
2024-06-21 08:23:26 +02:00
Eugene Sandulenko
b1605807f5
BUILD: Added missing License files to makefiles 2024-05-22 21:59:00 +02:00
polyesterswing
15a9c63565 AUDIO: Add libopenmpt support 2024-02-21 18:45:25 +01:00
Thierry Crozat
44ad305cbe MACOS: Remove Sparkle XPC Services when creating the app bundle
The XPC Services are only needed for sandboxed app. Sandboxing the
ScummVM App will be required if we submit it to the Mac App Store,
but since the Mac App Store handles app updates we have no reason
to use Sparkle for that version. So assume we will only use Sparkle
in non-sandboxed applications.

If we find that we need to keep the XPC Services, we will need to
update how the bundle is signed. With the current commands this
results in a corrupted bundle that cannot be open.
See https://sparkle-project.org/documentation/sandboxing/#code-signing
2024-01-15 23:07:31 +00:00
Thierry Crozat
56030e81d7 MACOSX: Fix bundle ID for generated bundle and dock plugin 2023-12-14 16:56:48 +01:00
Thierry Crozat
95a060e4fe AUDIO: Add a basic soundfont for fluidsynth
The soundfont was already included in the Libretro port. It is
now included in all platforms.
2023-12-03 16:17:32 +00:00
Eugene Sandulenko
90bd56e409
BUILD: Added fonts-cjk.dat to selected platforms
So far, it was added to all modern desktops, Android, iOS and Switch
2023-11-20 20:59:17 +01:00
Lars Sundström
b876e2342d PORTS: DISTS: Add ios7 on-screen icon assets
When building the iOS port of ScummVM using configure instead of
Xcode, the on-screen icons were not copied to the generated bundle.
Assets not being application icons or launch images are compiled to
an Assets.car file by Xcode and put in the root directory of the
application bundle.

Generate a Assets.car containg the on-screen icons by running the
following command in the dists/ios7 directory:
xcrun actool ./Images.xcassets --compile build --platform iphoneos \
--minimum-deployment-target 7.0 --app-icon AppIcon \
--output-partial-info-plist partial.plist \
--launch-image LaunchImage

The Assets.car seems to be a proprietary Apple’s archive that first
appeared in iOS 7.

This commit adds a compiled Assets.car contating the assets to the
ios7 dists, just as in the tvos dist. The Assets.car file is then
copied to the root directory of the app bundle in the ports.mk file
when running "make ios7bundle"
2023-11-11 22:59:24 +01:00
Lars Sundström
94d859f790 DISTS: IOS7: Add ios-help.zip
Add zip file containing images for the help section for the iOS
port.
2023-10-11 23:14:37 +02:00
Miro Kropacek
dcab5d3369 CONFIGURE: Add support for m68k-atari-mintelf
This is basically the same as m68k-atari-mint host os but with a
different compiler/file format.
2023-09-24 17:48:54 +02:00
Walter Agazzi
d117a48aaf DISTS: Keep Catharon license original naming 2023-09-03 22:27:43 +02:00
Walter Agazzi
ab6b7b0360 DISTS: Add Catharon license and include in builds 2023-09-03 22:27:43 +02:00
Lars Sundström
fb4f7d6de2 IOS7: Remove old IOS7 graphic handling
Delete the old graphic handling in the IOS7 backend which is not
used anymore after implementing iOSGraphicsManager.

The Accelerate framework is not used anymore. The OpenGLGraphics
manager handles the different color formats.
2023-07-03 21:50:32 +02:00
Le Philousophe
c3578ca22d DISTS: Add support for go-appimage
This allows us to build fully static AppImage
This needs appimagetool-780 or later
2023-06-01 20:39:17 +02:00
Le Philousophe
4955800221 DISTS: Move icon file to match metainfo id
This follows new conventions
2023-06-01 20:39:17 +02:00
Le Philousophe
287b228af0 POSIX: Add AppImage support
And add a target to generate the image
2023-06-01 20:39:17 +02:00
Le Philousophe
f683b9b916 DISTS: Fix AppData id and update it to latest specification
AppData id should really be a rDNS but its filename and desktop
filename must match this id.
This commit makes everything match.
The provides directive must not mention its own desktop file but
launchable should.
2023-06-01 20:39:17 +02:00
Le Philousophe
078a0febc6 PORTS: Make sure target is up to date before installing
And update phony rules.
2023-06-01 20:39:17 +02:00
Thierry Crozat
32013e9809 PORTS: Rename iphone target to scummvm-static-ios 2023-05-31 20:04:29 +01:00
Thierry Crozat
0eca37a262 BACKENDS: Remove old iPhone backend
This backend was no longer maintained and have had no release
and no daily builds for several years.
2023-05-31 19:31:19 +01:00
SupSuper
e396d34320 CREATE_PROJECT: Remove deprecated --use-canonical-lib-names
It's always the default
2023-04-29 13:16:08 +02:00
dwa
ad42ff82d3
BUILD: MACOS: Fix/simplify the xattr check for older OSX
Just reuse the MACOSX_LEOPARD_OR_BELOW define, since TextEdit isn't able
to make anything out of this attribute on Leopard or below anyway.

Fixes a GNU make mistake of mine in commit
cdbdb58e07cc2235cd24ce2d6e8ea515938fdd93.
2023-04-12 15:59:26 +02:00
Donovan Watteau
c350e3db45 BUILD: Add libmikmod to Apple specific build code 2023-04-11 13:23:03 +02:00
Miro Kropacek
eec6139f55 PORTS: Remove target executable before copy
This speeds up the install process considerably when the executable is
non-stripped (huge).
2023-04-08 20:27:44 +02:00
Eugene Sandulenko
ba2b5665d7
DEVTOOLS: Added a script to automate some pre-release checks 2023-03-15 22:47:21 +01:00
Le Philousophe
21b4a8f9ec TVOS: IOS: Add libvpx to build 2023-03-13 23:25:13 +01:00
Donovan Watteau
cdbdb58e07 MACOS: BUILD: Don't depend on xattr on older OSX
The API was there but not the tool (which appeared in Leopard), and
even if you give it a replacement, Finder/TextEdit won't use the extra
encoding metadata that's used there, so it's useless on older OSX.
2023-03-07 13:52:18 +01:00
Eugene Sandulenko
10dda78ecc
DISTS: Include MKV license in distribution packages 2023-03-05 21:47:13 +01:00
Miro Kropacek
4892d0b48b CONFIGURE: Adjustments for ATARI
- add NDEBUG for smaller file size and better performance when building
  with --enable-release

- add exe extensions for both ATARI and FreeMiNT

- use "dist-generic" instead of the clunky ./configure paths

Build as:

./configure --backend=atari --host=m68k-atari-mint --enable-release --disable-mt32emu --disable-lua --disable-nuked-opl --disable-16bit --disable-scalers --disable-translation --disable-eventrecorder --disable-tts --disable-bink --opengl-mode=none --enable-verbose-build && make -j 16 && rm -rf dist-generic; make dist-generic
2023-03-04 23:38:42 +01:00
Lars Sundström
0d03655605 CREATE_PROJECT: Add Accelerate framework to iOS and tvOS
Add Apple Accelerate framework to iOS and tvOS targets. The framework
utilizes NEON extensions on the ARM chip to accelerate calculations.
This will come to use when processing texture data.
2023-02-09 22:52:11 +01:00
Le Philousophe
dec343730e IOS7: Add AppleTV support to configure 2023-01-29 21:13:52 +00:00
Le Philousophe
aeca824339 CONFIGURE: Enable Retrowave if it is available and fix it 2023-01-02 09:47:04 +01:00
Lars Sundström
4133cf4b9f IOS7: Add GameController capability
Add the GameController framework to the project and enable support for
controller user interaction in the Info.plist file. This allows for
Game Controller compatible devices to notify the application when
connected.

Add GameController framework to configure and ports.mk if not using
Xcode to build the target.
2022-08-08 21:08:56 +01:00
Thierry Crozat
4ce8636640 MACOSX: Build ARM version of Dock plugin when building ARM version of ScummVM 2022-06-05 15:08:44 +01:00
Donovan Watteau
402fba49a8 BUILD: Work around limited sed -i'' on older macOS
On older macOS releases, this would leave `-e` suffixed files, and
there is no easy way to have a portable sed -i'' syntax.

Just force a creating a suffixed backup and immediately delete it.
2022-06-02 19:17:19 +01:00
Donovan Watteau
1a9d251a68 MACOS: Don't run codesign on the bundle when running on Leopard or below
codesign didn't exist on Tiger, and didn't have a --deep option on
Leopard.

Moreover, it was rarely used on these older systems, and previous
releases of ScummVM on Mac PowerPC weren't signed either.
2022-06-02 19:17:19 +01:00
Donovan Watteau
dedabbcfa1 BUILD: Use $(PRE_OBJS_FLAGS) in scummvm-static macos target
Otherwise, making a macOS bundle with plugins wouldn't load any of
these plugins (i.e. -all_load is required).
2022-05-22 23:42:45 +01:00
Donovan Watteau
09959e34c5 MACOSX: Make it possible to embed plugins when making a macOS bundle 2022-05-22 23:42:45 +01:00
Paweł Kołodziejski
a7edd90b6f
IOS: Install engines shader files into app bundle 2022-03-06 23:02:30 +01:00
Thunderforge
fd129ebc0c JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments
Apple's desktop operating system was formerly called "Mac OS X" and "OS X", but since 2016 it has been called "macOS" (starting with version 10.12).

Changing across all comments and documentation to use this current terminology, except in cases where the historical versions are explicitly referenced. No code changes are made; we should consider changing those in future PRs.
2022-01-29 14:15:05 +01:00
Cameron Cawley
21b0d6ded1 BACKENDS: Replace GLEW with GLAD, part of PR #3463 2021-12-30 14:53:48 +01:00
Le Philousophe
f1c5891524 PORTS: Install plugins in dist-generic target 2021-11-21 21:00:51 +01:00
Thierry Crozat
96979f06ba BUILD: Do not use CpMac in osxsnap make target
The documentation for CpMac indicates that since  Mac OS X 10.4
we can use cp instead, and thet CpMac will be deprecated. It looks
like it was finally removed in Xcode 13 as this is no longer
installed as part of the Xcode command line tools.

Also make sure links are preserved when using cp in the bundle make
target. The -P option is the default on macOS and the various Linux
I checked, but this may not be the case on all systems.
2021-10-11 19:41:18 +01:00
Thierry Crozat
4e503fad1c Revert "BUILD: Add $(DIST_FILES_DOCS) to targets using it"
This reverts commit d1e195c298355ff00097de0a3589621b18a92764.
2021-09-04 20:01:32 +02:00
Le Philousophe
d1e195c298 BUILD: Add $(DIST_FILES_DOCS) to targets using it
This makes sure all docs are present before copying them
2021-08-28 11:27:06 +02:00
Thierry Crozat
b33746e37f IOS7: Fix building with Xcode
This partially revert commit 0ff00cca2a and should hopefully
fix bug #12647.

The issue is that the executable name in the Info.plist did not
match the name of the executable generated by Xcode (ScummVM vs
scummvm). I changed it back to $(EXECUTABLE_NAME), which is
automatically replaced by Xcode, and added a sed command to the
make target to replace it with the actual executable name (as
we did with the $(PRODUCT_BUNDLE_IDENTIFIER) already).

An alternative would be to hardcode the name to "scummvm" in the
Info.plist and change the iphonebundle and ios7bundle target to
also use all lower case scummvm when copying the executable.
2021-08-12 21:27:30 +01:00
Orgad Shaneh
13973889a5 DEVTOOLS: Fix output of ideprojects
\t appears literally instead of as a tab.
2021-08-07 12:01:05 +03:00
Orgad Shaneh
5fc24d5ab0 DEVTOOLS: Add also engines/detection_table.h for dist 2021-08-07 12:01:05 +03:00
Orgad Shaneh
e4a9ad000b MAKEFILE: Fix shadow build of ideprojects 2021-08-02 19:12:49 +02:00
Le Philousophe
0ff00cca2a MACOS/IPHONE: Sign whole bundle
Add signing to MacOS for arm64 builds
2021-05-29 17:25:22 +02:00