2021-02-16 02:17:43 +00:00
|
|
|
{
|
|
|
|
"app-id": "org.yuzu_emu.yuzu",
|
|
|
|
"runtime": "org.kde.Platform",
|
2023-10-21 19:10:26 +00:00
|
|
|
"runtime-version": "5.15-23.08",
|
2021-02-16 02:17:43 +00:00
|
|
|
"sdk": "org.kde.Sdk",
|
2023-10-17 04:03:30 +00:00
|
|
|
"base": "io.qt.qtwebengine.BaseApp",
|
|
|
|
"base-version": "5.15-23.08",
|
2021-12-12 06:22:22 +00:00
|
|
|
"command": "yuzu-launcher",
|
2021-02-16 02:17:43 +00:00
|
|
|
"finish-args": [
|
|
|
|
"--device=all",
|
2023-10-09 05:40:41 +00:00
|
|
|
"--socket=fallback-x11",
|
2023-06-16 14:26:31 +00:00
|
|
|
"--socket=wayland",
|
2021-02-16 02:17:43 +00:00
|
|
|
"--socket=pulseaudio",
|
|
|
|
"--share=network",
|
2022-02-23 07:17:32 +00:00
|
|
|
"--share=ipc",
|
2022-11-26 19:00:33 +00:00
|
|
|
"--filesystem=xdg-run/app/com.discordapp.Discord:ro",
|
2022-02-23 08:32:32 +00:00
|
|
|
"--filesystem=home:ro",
|
2022-07-15 04:44:56 +00:00
|
|
|
"--filesystem=/run/media:ro",
|
2023-10-17 04:03:30 +00:00
|
|
|
"--talk-name=org.freedesktop.login1.Manager",
|
|
|
|
"--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess"
|
2021-02-16 02:17:43 +00:00
|
|
|
],
|
|
|
|
"cleanup": [
|
|
|
|
"/include",
|
2023-10-17 03:59:21 +00:00
|
|
|
"/bin/glslang",
|
2021-03-01 22:41:23 +00:00
|
|
|
"/bin/glslangValidator",
|
|
|
|
"/bin/zip*",
|
|
|
|
"/bin/zstd*",
|
2023-10-15 13:36:59 +00:00
|
|
|
"/bin/spirv-*",
|
|
|
|
"/bin/sdl2-config",
|
2023-10-17 03:59:21 +00:00
|
|
|
"/lib/pkgconfig",
|
|
|
|
"/lib/cmake",
|
2021-02-16 02:17:43 +00:00
|
|
|
"/share/doc",
|
|
|
|
"/share/man",
|
|
|
|
"/src",
|
|
|
|
"*.a",
|
|
|
|
"*.la"
|
|
|
|
],
|
2023-10-17 04:03:30 +00:00
|
|
|
"cleanup-commands": [
|
|
|
|
"/app/cleanup-BaseApp.sh"
|
|
|
|
],
|
2021-02-16 02:17:43 +00:00
|
|
|
"modules": [
|
|
|
|
"shared-modules/libusb/libusb.json",
|
|
|
|
{
|
|
|
|
"name": "libzip",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"config-opts": [
|
2022-05-24 06:50:19 +00:00
|
|
|
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON",
|
2021-02-16 02:17:43 +00:00
|
|
|
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2023-08-23 12:01:47 +00:00
|
|
|
"url": "https://github.com/nih-at/libzip/archive/v1.10.1.tar.gz",
|
|
|
|
"sha256": "d56d857d1c3ad4a7f3a4c01a51c6a6e5530e35ab93503f62276e8ba2b306186a",
|
2021-02-16 02:17:43 +00:00
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"project-id": 10649,
|
|
|
|
"url-template": "https://github.com/nih-at/libzip/archive/v$version.tar.gz"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "zstd",
|
2022-08-28 00:46:11 +00:00
|
|
|
"buildsystem": "meson",
|
|
|
|
"subdir": "build/meson",
|
|
|
|
"config-opts": [
|
|
|
|
"-Dbin_programs=false",
|
|
|
|
"-Dbin_contrib=false"
|
2021-02-16 02:17:43 +00:00
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2023-04-05 11:58:51 +00:00
|
|
|
"url": "https://github.com/facebook/zstd/releases/download/v1.5.5/zstd-1.5.5.tar.gz",
|
|
|
|
"sha256": "9c4396cc829cfae319a6e2615202e82aad41372073482fce286fac78646d3ee4",
|
2021-02-16 02:17:43 +00:00
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"project-id": 12083,
|
2022-12-15 04:44:31 +00:00
|
|
|
"stable-only": true,
|
2021-02-16 02:17:43 +00:00
|
|
|
"url-template": "https://github.com/facebook/zstd/releases/download/v$version/zstd-$version.tar.gz"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "fmt",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"config-opts": [
|
2022-05-24 06:50:19 +00:00
|
|
|
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON",
|
2021-02-16 02:17:43 +00:00
|
|
|
"-DFMT_TEST=OFF"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2024-01-04 20:52:50 +00:00
|
|
|
"url": "https://github.com/fmtlib/fmt/releases/download/10.2.1/fmt-10.2.1.zip",
|
|
|
|
"sha256": "312151a2d13c8327f5c9c586ac6cf7cddc1658e8f53edae0ec56509c8fa516c9",
|
2021-02-16 02:17:43 +00:00
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"project-id": 11526,
|
2022-07-11 00:07:21 +00:00
|
|
|
"versions": {
|
2023-10-17 04:08:29 +00:00
|
|
|
"<": "11.0.0"
|
2022-07-11 00:07:21 +00:00
|
|
|
},
|
2021-02-16 02:17:43 +00:00
|
|
|
"url-template": "https://github.com/fmtlib/fmt/releases/download/$version/fmt-$version.zip"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "glslang",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"config-opts": [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2023-12-23 01:51:52 +00:00
|
|
|
"url": "https://github.com/KhronosGroup/glslang/archive/14.0.0.tar.gz",
|
|
|
|
"sha256": "80bbb916a23e94ea9cbfb1acb5d1a44a7e0c9613bcf5b5947c03f2273bdc92b0",
|
2021-06-09 03:25:26 +00:00
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"stable-only": true,
|
|
|
|
"project-id": 205796,
|
|
|
|
"url-template": "https://github.com/KhronosGroup/glslang/archive/$version.tar.gz"
|
|
|
|
}
|
2023-10-15 13:36:59 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "archive",
|
|
|
|
"url": "https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/sdk-1.3.261.1.tar.gz",
|
|
|
|
"sha256": "ead95c626ad482882a141d1aa0ce47b9453871f72c42c0b28d39c82f60a52008",
|
|
|
|
"dest": "External/spirv-tools",
|
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"stable-only": true,
|
|
|
|
"project-id": 334920,
|
|
|
|
"url-template": "https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/sdk-$version.tar.gz"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "archive",
|
|
|
|
"url": "https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/sdk-1.3.261.1.tar.gz",
|
|
|
|
"sha256": "32b4c6ae6a2fa9b56c2c17233c8056da47e331f76e117729925825ea3e77a739",
|
|
|
|
"dest": "External/spirv-tools/external/spirv-headers",
|
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"stable-only": true,
|
|
|
|
"project-id": 334920,
|
|
|
|
"url-template": "https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/sdk-$version.tar.gz"
|
|
|
|
}
|
2021-02-16 02:17:43 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "catch2",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"config-opts": [
|
2021-11-27 00:48:34 +00:00
|
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
2022-05-24 02:30:11 +00:00
|
|
|
"-DCATCH_INSTALL_EXTRAS=ON",
|
2021-11-27 00:48:34 +00:00
|
|
|
"-DCATCH_BUILD_TESTING=OFF"
|
2021-02-16 02:17:43 +00:00
|
|
|
],
|
|
|
|
"builddir": true,
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2024-01-18 00:02:20 +00:00
|
|
|
"url": "https://github.com/catchorg/Catch2/archive/v3.5.2.tar.gz",
|
|
|
|
"sha256": "269543a49eb76f40b3f93ff231d4c24c27a7e16c90e47d2e45bcc564de470c6e",
|
2021-02-16 02:17:43 +00:00
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
2021-06-09 03:25:26 +00:00
|
|
|
"stable-only": true,
|
2022-06-19 13:00:04 +00:00
|
|
|
"versions": {
|
2023-01-27 02:57:00 +00:00
|
|
|
"<": "4.0.0"
|
2022-06-19 13:00:04 +00:00
|
|
|
},
|
2021-02-16 02:17:43 +00:00
|
|
|
"project-id": 7680,
|
|
|
|
"url-template": "https://github.com/catchorg/Catch2/archive/v$version.tar.gz"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "nlohmann-json",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"config-opts": [
|
2021-11-27 00:48:34 +00:00
|
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
2022-05-24 06:50:19 +00:00
|
|
|
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON",
|
2021-11-27 00:48:34 +00:00
|
|
|
"-DJSON_BuildTests=OFF"
|
2021-02-16 02:17:43 +00:00
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2023-11-29 05:09:45 +00:00
|
|
|
"url": "https://github.com/nlohmann/json/archive/v3.11.3.tar.gz",
|
|
|
|
"sha256": "0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406",
|
2021-02-16 02:17:43 +00:00
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
2022-05-05 17:06:59 +00:00
|
|
|
"project-id": 11152,
|
2021-02-16 02:17:43 +00:00
|
|
|
"url-template": "https://github.com/nlohmann/json/archive/v$version.tar.gz"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "boost",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
|
|
|
"./bootstrap.sh --with-libraries=context,container,system,headers",
|
|
|
|
"./b2 -j $FLATPAK_BUILDER_N_JOBS install --prefix=/app"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2023-12-15 00:00:18 +00:00
|
|
|
"url": "https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.tar.bz2",
|
|
|
|
"sha256": "cc4b893acf645c9d4b698e9a0f08ca8846aa5d6c68275c14c3e7949c24109454",
|
2021-06-09 03:25:26 +00:00
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"project-id": 6845,
|
2023-04-27 13:01:01 +00:00
|
|
|
"url-template": "https://boostorg.jfrog.io/artifactory/main/release/$version/source/boost_${version0}_${version1}_${version2}.tar.bz2"
|
2021-06-09 03:25:26 +00:00
|
|
|
}
|
2021-02-16 02:17:43 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-12-04 02:10:29 +00:00
|
|
|
{
|
|
|
|
"name": "nv-codec-headers",
|
2021-12-13 14:05:16 +00:00
|
|
|
"make-install-args": [
|
|
|
|
"PREFIX=/app"
|
|
|
|
],
|
2021-12-04 02:10:29 +00:00
|
|
|
"no-autogen": true,
|
2021-12-13 14:05:16 +00:00
|
|
|
"cleanup": [
|
|
|
|
"*"
|
|
|
|
],
|
2021-12-04 02:10:29 +00:00
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
2021-12-13 14:05:16 +00:00
|
|
|
"url": "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git",
|
2023-10-09 02:10:39 +00:00
|
|
|
"tag": "n12.1.14.0",
|
|
|
|
"commit": "1889e62e2d35ff7aa9baca2bceb14f053785e6f1",
|
2021-12-13 14:05:16 +00:00
|
|
|
"x-checker-data": {
|
|
|
|
"type": "git",
|
|
|
|
"tag-pattern": "^n([\\d.]+)$"
|
|
|
|
}
|
2021-12-04 02:10:29 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2024-01-28 18:56:39 +00:00
|
|
|
{
|
|
|
|
"name": "gamemode",
|
|
|
|
"buildsystem": "meson",
|
|
|
|
"config-opts": [
|
|
|
|
"-Dwith-sd-bus-provider=no-daemon",
|
|
|
|
"-Dwith-examples=false"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
|
|
|
"url": "https://github.com/FeralInteractive/gamemode/releases/download/1.8.1/gamemode-1.8.1.tar.xz",
|
|
|
|
"sha256": "cdb117d05d65dbd03c0bd2104df874a1f878db8f23cc4d55bfa44e832482269e",
|
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"project-id": 17418,
|
|
|
|
"stable-only": true,
|
|
|
|
"url-template": "https://github.com/FeralInteractive/gamemode/releases/download/$version/gamemode-$version.tar.xz"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-02-16 02:17:43 +00:00
|
|
|
{
|
|
|
|
"name": "yuzu",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"builddir": true,
|
|
|
|
"config-opts": [
|
|
|
|
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
|
2022-03-03 01:03:56 +00:00
|
|
|
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON",
|
2021-02-16 02:17:43 +00:00
|
|
|
"-DENABLE_QT_TRANSLATION=ON",
|
|
|
|
"-DYUZU_ENABLE_COMPATIBILITY_REPORTING=ON",
|
2022-12-29 01:56:32 +00:00
|
|
|
"-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=OFF",
|
2023-10-17 04:03:30 +00:00
|
|
|
"-DYUZU_USE_QT_WEB_ENGINE=ON",
|
2021-12-04 02:10:29 +00:00
|
|
|
"-DYUZU_USE_BUNDLED_FFMPEG=ON",
|
2024-02-18 15:00:18 +00:00
|
|
|
"-DDISPLAY_VERSION=1718",
|
|
|
|
"-DBUILD_TAG=mainline-1718",
|
2021-02-16 02:17:43 +00:00
|
|
|
"-DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline"
|
|
|
|
],
|
2021-06-09 06:23:14 +00:00
|
|
|
"build-options": {
|
|
|
|
"env": {
|
|
|
|
"TITLEBARFORMATIDLE": "yuzu {}",
|
2022-10-30 03:18:45 +00:00
|
|
|
"TITLEBARFORMATRUNNING": "yuzu {} | {}"
|
2022-12-07 00:35:32 +00:00
|
|
|
},
|
|
|
|
"arch": {
|
|
|
|
"aarch64": {
|
|
|
|
"config-opts": [
|
|
|
|
"-DENABLE_OPENGL=OFF"
|
|
|
|
]
|
|
|
|
}
|
2021-06-09 06:23:14 +00:00
|
|
|
}
|
|
|
|
},
|
2021-02-16 02:17:43 +00:00
|
|
|
"cleanup": [
|
2021-06-09 03:25:26 +00:00
|
|
|
"/share/man",
|
|
|
|
"/share/pixmaps"
|
2021-02-16 02:17:43 +00:00
|
|
|
],
|
|
|
|
"post-install": [
|
2021-12-12 06:22:22 +00:00
|
|
|
"install -Dm755 ../yuzu-launcher.sh /app/bin/yuzu-launcher",
|
2024-02-16 13:40:37 +00:00
|
|
|
"install -Dm644 ../org.yuzu_emu.yuzu.metainfo.xml /app/share/metainfo/org.yuzu_emu.yuzu.metainfo.xml",
|
2022-07-05 03:35:20 +00:00
|
|
|
"install -Dm644 ../org.yuzu_emu.yuzu.svg /app/share/icons/hicolor/scalable/apps/org.yuzu_emu.yuzu.svg",
|
2024-02-16 13:40:37 +00:00
|
|
|
"desktop-file-edit --set-key StartupWMClass --set-value yuzu --set-key Exec --set-value yuzu-launcher /app/share/applications/org.yuzu_emu.yuzu.desktop",
|
|
|
|
"rm -rf /app/share/appdata"
|
2021-02-16 02:17:43 +00:00
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/yuzu-emu/yuzu-mainline.git",
|
2024-02-18 15:00:18 +00:00
|
|
|
"tag": "mainline-0-1718",
|
|
|
|
"commit": "8766303f9bfd3e515d619d0ed2534fa904c9a82c",
|
2021-02-16 02:17:43 +00:00
|
|
|
"disable-shallow-clone": true,
|
|
|
|
"x-checker-data": {
|
|
|
|
"type": "git",
|
|
|
|
"tag-pattern": "^(mainline-0-\\d+)$"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "org.yuzu_emu.yuzu.metainfo.xml"
|
|
|
|
},
|
2022-07-05 03:35:20 +00:00
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "org.yuzu_emu.yuzu.svg"
|
|
|
|
},
|
2021-12-12 06:22:22 +00:00
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "yuzu-launcher.sh"
|
|
|
|
},
|
2021-02-16 02:17:43 +00:00
|
|
|
{
|
|
|
|
"type": "file",
|
2022-08-02 01:02:35 +00:00
|
|
|
"path": "compatibility_list.json",
|
|
|
|
"dest": "dist/compatibility_list"
|
2021-02-16 02:17:43 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2022-05-04 03:38:07 +00:00
|
|
|
}
|