Skip to content

Commit ebf11dd

Browse files
authored
Merge branch 'stenzek:master' into master
2 parents 58d17c3 + c004286 commit ebf11dd

File tree

315 files changed

+38983
-31918
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

315 files changed

+38983
-31918
lines changed

.github/workflows/flathub-publish.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/linux-appimage-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
linux-appimage-build:
99
name: "${{ matrix.name }}"
1010
runs-on: ubuntu-22.04
11-
timeout-minutes: 120
11+
timeout-minutes: 240
1212
strategy:
1313
matrix:
1414
include:

.github/workflows/linux-cross-appimage-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
container:
1717
image: ghcr.io/duckstation/cross-build-${{ matrix.arch }}:latest
1818

19-
timeout-minutes: 120
19+
timeout-minutes: 240
2020
steps:
2121
- uses: actions/checkout@v5
2222
with:

.github/workflows/linux-flatpak-build.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

.github/workflows/macos-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
macos-build:
99
name: "Universal"
1010
runs-on: macos-15
11-
timeout-minutes: 120
11+
timeout-minutes: 240
1212
steps:
1313
- uses: actions/checkout@v5
1414
with:
@@ -60,7 +60,7 @@ jobs:
6060
run: |
6161
mkdir build
6262
cd build
63-
export MACOSX_DEPLOYMENT_TARGET=11.0
63+
export MACOSX_DEPLOYMENT_TARGET=13.0
6464
cmake -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DCMAKE_BUILD_TYPE=Release -DENABLE_OPENGL=OFF -DCMAKE_PREFIX_PATH="$HOME/deps" -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -G Ninja ..
6565
cmake --build . --parallel
6666
mv bin/DuckStation.app .

.github/workflows/main.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,13 @@ jobs:
2828
linux-cross-appimage:
2929
name: 🐧 Linux Cross-Compiled AppImage
3030
uses: "./.github/workflows/linux-cross-appimage-build.yml"
31-
linux-flatpak:
32-
name: 📦 Linux Flatpak
33-
needs: [linux-appimage, linux-cross-appimage]
34-
uses: "./.github/workflows/linux-flatpak-build.yml"
3531
macos:
3632
name: 🍎 MacOS
3733
uses: "./.github/workflows/macos-build.yml"
3834

3935
create-release:
4036
name: 📤 Create Release
41-
needs: [windows, linux-appimage, linux-cross-appimage, linux-flatpak, macos]
37+
needs: [windows, linux-appimage, linux-cross-appimage, macos]
4238
runs-on: ubuntu-22.04
4339
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
4440
steps:
@@ -71,8 +67,6 @@ jobs:
7167
./artifacts/linux-arm64-appimage/DuckStation-Mini-arm64.AppImage
7268
./artifacts/linux-armhf-appimage/DuckStation-armhf.AppImage
7369
./artifacts/linux-armhf-appimage/DuckStation-Mini-armhf.AppImage
74-
./artifacts/linux-flatpak-x86_64/duckstation-x86_64.flatpak
75-
./artifacts/linux-flatpak-aarch64/duckstation-aarch64.flatpak
7670
./artifacts/macos/duckstation-mac-release.zip
7771
7872
- name: Create Rolling Release
@@ -96,6 +90,4 @@ jobs:
9690
./artifacts/linux-arm64-appimage/DuckStation-Mini-arm64.AppImage
9791
./artifacts/linux-armhf-appimage/DuckStation-armhf.AppImage
9892
./artifacts/linux-armhf-appimage/DuckStation-Mini-armhf.AppImage
99-
./artifacts/linux-flatpak-x86_64/duckstation-x86_64.flatpak
100-
./artifacts/linux-flatpak-aarch64/duckstation-aarch64.flatpak
10193
./artifacts/macos/duckstation-mac-release.zip

.github/workflows/windows-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
windows-build:
99
name: "${{ matrix.name }}"
1010
runs-on: windows-2022
11-
timeout-minutes: 120
11+
timeout-minutes: 240
1212
strategy:
1313
matrix:
1414
include:

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ endif()
9494

9595
# Rewrite paths in macros to be relative to the source directory.
9696
# Helpful for reproducible builds.
97-
if(COMPILER_CLANG OR COMPILER_CLANG_CL OR COMPILER_GCC)
97+
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release" AND NOT CMAKE_GENERATOR MATCHES "Xcode" AND
98+
(COMPILER_CLANG OR COMPILER_CLANG_CL OR COMPILER_GCC))
9899
file(RELATIVE_PATH source_dir_remap "${CMAKE_BINARY_DIR}" "${CMAKE_SOURCE_DIR}")
99100
string(REGEX REPLACE "\/+$" "" source_dir_remap "${source_dir_remap}")
100101
set(source_dir_remap_str "\"${CMAKE_SOURCE_DIR}\"=\"${source_dir_remap}\"")

CMakeModules/DuckStationDependencies.cmake

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
3030
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY)
3131

3232
# Bundled dependencies.
33-
find_package(SDL3 3.2.24 REQUIRED)
33+
find_package(SDL3 3.2.26 REQUIRED)
3434
find_package(zstd 1.5.7 REQUIRED)
3535
find_package(WebP REQUIRED) # v1.4.0, spews an error on Linux because no pkg-config.
3636
find_package(PNG 1.6.50 REQUIRED)
@@ -66,7 +66,10 @@ set(CMAKE_FIND_ROOT_PATH ${FIND_ROOT_PATH_BACKUP})
6666

6767
# Qt has transitive dependencies on system libs, so do it afterwards.
6868
if(BUILD_QT_FRONTEND)
69-
find_package(Qt6 6.9.3 COMPONENTS Core Gui Widgets LinguistTools REQUIRED)
69+
# All our builds include Qt, so this is not a problem.
70+
set(QT_NO_PRIVATE_MODULE_WARNING ON)
71+
72+
find_package(Qt6 6.10.0 COMPONENTS Core Gui GuiPrivate Widgets LinguistTools REQUIRED)
7073

7174
# Have to verify it down here, don't want users using unpatched Qt.
7275
if(NOT Qt6_DIR MATCHES "^${CMAKE_PREFIX_PATH}")
@@ -98,7 +101,7 @@ if(NOT WIN32)
98101
endif()
99102

100103
if(NOT WIN32)
101-
find_package(FFMPEG 7.0.0 COMPONENTS avcodec avformat avutil swresample swscale)
104+
find_package(FFMPEG 8.0.0 COMPONENTS avcodec avformat avutil swresample swscale)
102105
if(NOT FFMPEG_FOUND)
103106
message(WARNING "FFmpeg not found, using bundled headers.")
104107
endif()

README.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Other features include:
3333
- Motion adaptive deinterlacing.
3434
- Adaptive downsampling filter.
3535
- Screen rotation for vertical or "TATE" shmup games.
36-
- Post processing shader chains (GLSL and Reshade FX).
36+
- Post processing shader chains (GLSL, Reshade FX and Slang Presets).
3737
- Border overlays/bezels displayed around game content.
3838
- "Fast boot" for skipping BIOS splash/intro.
3939
- Save state support, with runahead and rewind.
@@ -94,7 +94,7 @@ Once downloaded and extracted, you can launch the emulator with `duckstation-qt-
9494

9595
### Linux
9696

97-
DuckStation is provided for x86_64/ARM32/ARM64 Linux in AppImage (recommended) and Flatpak (not recommended) formats.
97+
DuckStation is provided for x86_64/ARM32/ARM64 Linux in AppImage formats.
9898

9999
#### AppImage
100100

@@ -103,21 +103,7 @@ The AppImages require a distribution equivalent to Ubuntu 22.04 or newer to run.
103103
- Go to https://github.com/stenzek/duckstation/releases/tag/latest, and download `duckstation-x64.AppImage`.
104104
- Run `chmod a+x` on the downloaded AppImage -- following this step, the AppImage can be run like a typical executable.
105105

106-
#### Flatpak
107-
108-
Due to various Flatpak limitations and Flathub randomly breaking regularly, **the Flatpak package is not recommended**. **We recommend that you use the AppImage instead.**
109-
110-
- Go to https://github.com/stenzek/duckstation/releases/tag/latest, and download `duckstation-x64.flatpak`.
111-
- Run `flatpak install ./duckstation-x64.flatpak`.
112-
113-
or, if you have FlatHub set up:
114-
- Run `flatpak install org.duckstation.DuckStation`.
115-
116-
Use `flatpak run org.duckstation.DuckStation` to start, or select `DuckStation` in the launcher of your desktop environment. Follow the Setup Wizard to get started.
117-
118-
**As of 2025/07/26, with the aforementioned issues and a lack of interest from users, the Flatpak package is deprecated. Future updates are not guaranteed.**
119-
120-
To migrate your data from the Flatpak package to the AppImage, you can run the following command:
106+
If you were previously using the Flatpak package, to migrate your data from the Flatpak to the AppImage, you can run the following command:
121107
```bash
122108
mv ~/.var/app/org.duckstation.DuckStation/config/duckstation ~/.local/share
123109
```
@@ -128,7 +114,7 @@ You will need to re-add your game directories after switching to the AppImage.
128114

129115
Universal macOS builds are provided for both x86_64 (Intel) and ARM64 (Apple Silicon).
130116

131-
macOS Big Sur (11.0) is required, as this is also the minimum requirement for Qt.
117+
macOS Ventura (13.0) is required, as this is also the minimum requirement for Qt.
132118

133119
To download:
134120
- Go to https://github.com/stenzek/duckstation/releases/tag/latest, and download `duckstation-mac-release.zip`.

0 commit comments

Comments
 (0)