Skip to content

Commit

Permalink
Linux and flatpak fix
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolix29 committed Dec 2, 2024
1 parent 5ef34b1 commit e66509a
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ jobs:
run: cmake --fresh -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel3

- name: Package and Upload Linux(ubuntu64) SDL artifact
run: |
Expand Down
60 changes: 60 additions & 0 deletions net.shadps4.shadPS4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# 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=Release
- -DENABLE_QT_GUI=ON
- -DENABLE_UPDATER=OFF
- -DCMAKE_C_COMPILER=clang
- -DCMAKE_CXX_COMPILER=clang++
sources:
- type: dir
path: .

0 comments on commit e66509a

Please sign in to comment.