Commit Graph

383 Commits

Author SHA1 Message Date
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
cdbdb58e07.
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 d1e195c298.
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
Orgad Shaneh
eef5a816e6
BUILD: Deduplicate install targets (#2998) 2021-05-07 15:10:37 +03:00
Cameron Cawley
c38e3bdc2a AUDIO: Support building with FluidLite 2021-04-25 20:39:55 +03:00
Cameron Cawley
56e2107dc3 RASPBERRYPI: Remove outdated packaging rules 2021-04-13 19:56:55 +01:00
Le Philousophe
224729ebde BUILD: Add GIF to Apple specific build code 2021-04-11 10:34:57 +02:00
Le Philousophe
51e174f202 ALL: Mark link commands as make recursive
With this make gives access to its jobserver for linker which will use
it when linking with -flto=jobserver
2021-01-17 21:53:15 +01:00
Le Philousophe
72c464bf11 ALL: Use LD instead of CXX when linking
It will be more coherent.
LD is defined to CXX in configure script so it shouldn't change
behaviour.
2021-01-17 21:53:15 +01:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Thierry Crozat
aa8ff8b551 BUILD: Fix missing SDL in link for macOS bundle target
When SDL_net is not available, or is explicitely disabled, it
was missing the SDL library in the link command for scummvm-static
target used when building a bundle.
2020-11-02 19:03:34 +00:00
Paweł Kołodziejski
32ae55122d PORTS: Rename linux-generic to dist-generic target 2020-11-01 16:09:05 +01:00
Paweł Kołodziejski
02bffb0abb PORTS: Added special generic Linux target for simple archive distribution. 2020-11-01 15:43:30 +01:00
Le Philousophe
f3e00fb6a4 IPHONE: Link with Security framework when using curl
That lets static curl libraries make use of DarwinSSL instead of OpenSSL
2020-11-01 10:11:06 +01:00
Le Philousophe
7c92081aa0 IPHONE: Don't link with SDL if it's unavailable
SDL_Net can be compiled without the need of SDL so avoid linking with
it.
Define WITHOUT_SDL as it's done (for nothing) in create_project
2020-11-01 10:11:06 +01:00
Lothar Serra Mari
f37ff8cc3a BUILD: Fix filename for libGLEW in the macOS target 2020-10-27 10:21:38 +01:00