Review feedback; upgrade runtime to 6.8

This commit is contained in:
Florian Piesche 2024-11-08 08:48:25 +00:00 committed by Jarred Wilson
parent c8e71ac303
commit cb8bc5252c

View file

@ -1,6 +1,6 @@
app-id: net.shadps4.shadps4 app-id: net.shadps4.shadps4
runtime: org.kde.Platform runtime: org.kde.Platform
runtime-version: '6.7' runtime-version: '6.8'
sdk: org.kde.Sdk sdk: org.kde.Sdk
command: shadps4 command: shadps4
@ -19,14 +19,15 @@ finish-args:
- --socket=fallback-x11 - --socket=fallback-x11
# Audio # Audio
- --socket=pulseaudio - --socket=pulseaudio
# Discord rich presence?
- --talk-name=org.kde.StatusNotifierWatcher - --talk-name=org.kde.StatusNotifierWatcher
# Netplay? Does shadps4 even support that? # Reading the game list is very slow through the XDG portal
# More filesystem overrides may need to be added by users
# depending on where they store their games but these
# are reasonable defaults for direct access.
- --share=network - --share=network
# I don't think we need filesystem access, do we? - --filesystem=home
# - --filesystem=home - --filesystem=/media
# - --filesystem=/media - --filesystem=/run/media
# - --filesystem=/run/media
sdk-extensions: sdk-extensions:
- org.freedesktop.Sdk.Extension.llvm18 - org.freedesktop.Sdk.Extension.llvm18
@ -63,48 +64,22 @@ modules:
cleanup: cleanup:
- '*' - '*'
# TODO: libfmt is included as a submodule in externals - do we need to build it separately? - name: libfmt
# - name: libfmt buildsystem: cmake-ninja
# buildsystem: cmake-ninja
# config-opts:
# - -DFMT_TEST=OFF
# sources:
# - type: archive
# url: https://api.github.com/repos/fmtlib/fmt/zipball/11.0.2
# dest-filename: fmtlib.zip
# sha256: 441b654cfeca7dab0b457e8c327b150f4af3fbf908f55d2adb0d2a27fcfcfa41
# x-checker-data:
# type: json
# url: https://api.github.com/repos/fmtlib/fmt/releases/latest
# version-query: .tag_name
# url-query: .zipball_url
# cleanup:
# - '*'
# TODO: Original manifest by deadmeu included libevdev. Do we need this?
# TODO: shadps4 seems to build fine without it, even though it's listed as a requirement
# TODO: in https://github.com/shadps4-emu/shadPS4/blob/main/documents/building-linux.md
- name: evdev
buildsystem: meson
config-opts: config-opts:
- -Dtools=disabled - -DFMT_TEST=OFF
- -Dtests=disabled
- -Ddocumentation=disabled
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /lib/*.la
- /share/man
sources: sources:
- type: archive - type: archive
url: https://www.freedesktop.org/software/libevdev/libevdev-1.13.3.tar.xz url: https://api.github.com/repos/fmtlib/fmt/zipball/11.0.2
sha256: abf1aace86208eebdd5d3550ffded4c8d73bb405b796d51c389c9d0604cbcfbf dest-filename: fmtlib.zip
sha256: 441b654cfeca7dab0b457e8c327b150f4af3fbf908f55d2adb0d2a27fcfcfa41
x-checker-data: x-checker-data:
type: anitya type: json
project-id: 20540 url: https://api.github.com/repos/fmtlib/fmt/releases/latest
stable-only: true version-query: .tag_name
url-template: https://www.freedesktop.org/software/libevdev/libevdev-$version.tar.xz url-query: .zipball_url
cleanup:
- '*'
- name: shadps4 - name: shadps4
buildsystem: cmake-ninja buildsystem: cmake-ninja