forked from shadps4-emu/shadPS4
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add flatpak manifest - add build dirs to gitignore - add flatpak build workflow job - add update support for flatpak package Co-authored-by: Quang Ngô <[email protected]> Co-authored-by: Florian Piesche <[email protected]>
- Loading branch information
1 parent
596f4cd
commit a3c0f0b
Showing
3 changed files
with
95 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -418,3 +418,9 @@ FodyWeavers.xsd | |
# JetBrains | ||
.idea | ||
cmake-build-* | ||
|
||
# flatpak build | ||
builddir | ||
.flatpak-builder | ||
repo | ||
*.flatpak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
id: net.shadps4.shadPS4 | ||
runtime: org.kde.Platform | ||
runtime-version: '6.8' | ||
sdk: org.kde.Sdk | ||
command: shadps4 | ||
separate-locales: false | ||
finish-args: | ||
- --share=network | ||
- --socket=pulseaudio | ||
- --socket=wayland | ||
- --socket=fallback-x11 | ||
- --allow=bluetooth | ||
- --filesystem=home | ||
- --device=dri | ||
- --device=input | ||
- --filesystem=/media | ||
- --filesystem=/run/media | ||
- --talk-name=org.kde.StatusNotifierWatcher | ||
sdk-extensions: | ||
- org.freedesktop.Sdk.Extension.llvm18 | ||
add-extensions: | ||
org.freedesktop.Platform.ffmpeg-full: | ||
directory: lib/ffmpeg | ||
add-ld-path: . | ||
version: '24.08' | ||
autodownload: true | ||
autodelete: false | ||
cleanup-commands: | ||
- mkdir -p ${FLATPAK_DEST}/lib/ffmpeg | ||
modules: | ||
- name: rapidjson | ||
buildsystem: cmake | ||
config-opts: | ||
- -DRAPIDJSON_BUILD_CXX11=OFF | ||
- -DRAPIDJSON_BUILD_TESTS=OFF | ||
sources: | ||
- type: git | ||
url: https://github.com/Tencent/rapidjson.git | ||
commit: 858451e5b7d1c56cf8f6d58f88cf958351837e53 | ||
cleanup: | ||
- '*' | ||
- name: shadPS4 | ||
buildsystem: cmake | ||
builddir: true | ||
build-options: | ||
append-path: /usr/lib/sdk/llvm18/bin | ||
prepend-ld-library-path: /usr/lib/sdk/llvm18/lib | ||
config-opts: | ||
- -DCMAKE_BUILD_TYPE=RelWithDebInfo | ||
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO=ON | ||
- -DENABLE_QT_GUI=ON | ||
- -DENABLE_UPDATER=OFF | ||
- -DCMAKE_C_COMPILER=clang | ||
- -DCMAKE_CXX_COMPILER=clang++ | ||
- -DCMAKE_C_COMPILER_LAUNCHER=ccache | ||
- -DCMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
- -DCMAKE_C_FLAGS_RELWITHDEBINFO=-march=native -O3 -DNDEBUG | ||
- -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-march=native -O3 -DNDEBUG | ||
sources: | ||
- type: dir | ||
path: . |