2023-09-02 06:54:51 +00:00
|
|
|
{
|
2023-09-30 02:38:21 +00:00
|
|
|
"app-id": "org.duckstation.DuckStation",
|
2023-09-02 06:54:51 +00:00
|
|
|
"runtime": "org.kde.Platform",
|
2024-04-11 11:53:23 +00:00
|
|
|
"runtime-version": "6.7",
|
2023-09-02 06:54:51 +00:00
|
|
|
"sdk": "org.kde.Sdk",
|
|
|
|
"sdk-extensions": [
|
2023-11-30 09:40:48 +00:00
|
|
|
"org.freedesktop.Sdk.Extension.llvm17"
|
2023-09-02 06:54:51 +00:00
|
|
|
],
|
|
|
|
"command": "duckstation-qt",
|
|
|
|
"finish-args": [
|
|
|
|
"--device=all",
|
2023-09-23 03:58:58 +00:00
|
|
|
"--allow=bluetooth",
|
2023-09-02 06:54:51 +00:00
|
|
|
"--share=network",
|
|
|
|
"--share=ipc",
|
2023-10-29 11:16:58 +00:00
|
|
|
"--socket=x11",
|
2023-09-02 06:54:51 +00:00
|
|
|
"--socket=pulseaudio",
|
2023-10-29 11:16:58 +00:00
|
|
|
"--talk-name=org.freedesktop.ScreenSaver",
|
|
|
|
"--env=QT_QPA_PLATFORM=xcb"
|
2023-09-02 06:54:51 +00:00
|
|
|
],
|
|
|
|
"modules": [
|
|
|
|
"modules/20-sdl2.json",
|
|
|
|
"modules/21-libbacktrace.json",
|
2024-04-04 11:11:13 +00:00
|
|
|
"modules/22-shaderc.json",
|
2024-06-14 04:37:33 +00:00
|
|
|
"modules/23-spirv-cross.json",
|
2024-07-02 07:34:12 +00:00
|
|
|
"modules/24-cpuinfo.json",
|
2024-07-04 04:02:31 +00:00
|
|
|
"modules/25-discord-rpc.json",
|
2023-09-02 06:54:51 +00:00
|
|
|
{
|
|
|
|
"name": "duckstation",
|
2023-11-24 11:14:39 +00:00
|
|
|
"buildsystem": "cmake-ninja",
|
2024-04-20 10:26:53 +00:00
|
|
|
"builddir": true,
|
2023-11-24 11:14:39 +00:00
|
|
|
"no-make-install": true,
|
2023-09-02 06:54:51 +00:00
|
|
|
"build-options": {
|
|
|
|
"strip": false,
|
|
|
|
"no-debuginfo": true,
|
2024-04-25 08:15:37 +00:00
|
|
|
"cflags": "",
|
|
|
|
"cflags-override": true,
|
|
|
|
"cxxflags": "",
|
|
|
|
"cxxflags-override": true,
|
2023-09-02 06:54:51 +00:00
|
|
|
"config-opts": [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
|
|
|
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON",
|
|
|
|
"-DBUILD_NOGUI_FRONTEND=OFF",
|
|
|
|
"-DBUILD_QT_FRONTEND=ON",
|
|
|
|
"-DBUILD_TESTS=OFF",
|
2023-11-30 09:40:48 +00:00
|
|
|
"-DCMAKE_C_COMPILER=/usr/lib/sdk/llvm17/bin/clang",
|
|
|
|
"-DCMAKE_CXX_COMPILER=/usr/lib/sdk/llvm17/bin/clang++",
|
2023-09-02 06:54:51 +00:00
|
|
|
"-DCMAKE_EXE_LINKER_FLAGS_INIT=-fuse-ld=lld",
|
|
|
|
"-DCMAKE_MODULE_LINKER_FLAGS_INIT=-fuse-ld=lld",
|
|
|
|
"-DCMAKE_SHARED_LINKER_FLAGS_INIT=-fuse-ld=lld"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "dir",
|
|
|
|
"path": "../.."
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"post-install": [
|
2024-04-20 10:26:53 +00:00
|
|
|
"cp -a bin \"${FLATPAK_DEST}\"",
|
|
|
|
"install -Dm644 \"${FLATPAK_BUILDER_BUILDDIR}/scripts/org.duckstation.DuckStation.png\" \"${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/org.duckstation.DuckStation.png\"",
|
|
|
|
"install -Dm644 \"${FLATPAK_BUILDER_BUILDDIR}/scripts/org.duckstation.DuckStation.desktop\" \"${FLATPAK_DEST}/share/applications/org.duckstation.DuckStation.desktop\"",
|
|
|
|
"install -Dm644 \"${FLATPAK_BUILDER_BUILDDIR}/scripts/flatpak/org.duckstation.DuckStation.metainfo.xml\" \"${FLATPAK_DEST}/share/metainfo/org.duckstation.DuckStation.metainfo.xml\""
|
2023-09-02 06:54:51 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|