2024-04-04 17:22:56 +00:00
|
|
|
{
|
|
|
|
"app-id": "io.github.lime3ds.Lime3DS",
|
|
|
|
"runtime": "org.kde.Platform",
|
2024-04-28 19:14:05 +00:00
|
|
|
"runtime-version": "6.7",
|
2024-04-04 17:22:56 +00:00
|
|
|
"sdk": "org.kde.Sdk",
|
|
|
|
"sdk-extensions": [
|
2024-04-19 23:41:50 +00:00
|
|
|
"org.freedesktop.Sdk.Extension.llvm18"
|
2024-04-04 17:22:56 +00:00
|
|
|
],
|
|
|
|
"command": "lime3ds-launcher",
|
|
|
|
"rename-desktop-file": "lime-qt.desktop",
|
2024-04-05 10:06:34 +00:00
|
|
|
"rename-mime-file": "lime.xml",
|
2024-04-04 17:22:56 +00:00
|
|
|
"rename-icon": "lime",
|
2024-04-05 10:06:34 +00:00
|
|
|
"rename-mime-icons": [
|
|
|
|
"lime"
|
|
|
|
],
|
|
|
|
"copy-icon": true,
|
2024-04-04 17:22:56 +00:00
|
|
|
"build-options": {
|
2024-04-19 23:41:50 +00:00
|
|
|
"append-path": "/usr/lib/sdk/llvm18/bin",
|
|
|
|
"prepend-ld-library-path": "/usr/lib/sdk/llvm18/lib",
|
2024-04-04 17:22:56 +00:00
|
|
|
"cflags": "-Wno-unused-command-line-argument",
|
|
|
|
"cxxflags": "-Wno-unused-command-line-argument"
|
|
|
|
},
|
|
|
|
"finish-args": [
|
|
|
|
"--device=all",
|
|
|
|
"--socket=x11",
|
|
|
|
"--socket=pulseaudio",
|
|
|
|
"--share=network",
|
|
|
|
"--share=ipc",
|
|
|
|
"--filesystem=host:ro",
|
|
|
|
"--filesystem=xdg-run/app/com.discordapp.Discord:ro"
|
|
|
|
],
|
|
|
|
"cleanup": [
|
|
|
|
"/include",
|
|
|
|
"/bin/glslangValidator",
|
|
|
|
"/bin/glslang",
|
|
|
|
"/bin/spirv-*",
|
|
|
|
"/bin/sdl2-config",
|
|
|
|
"/lib/pkgconfig",
|
|
|
|
"/lib/cmake",
|
|
|
|
"/share/doc",
|
|
|
|
"/share/man",
|
|
|
|
"/src",
|
|
|
|
"*.a",
|
|
|
|
"*.la"
|
|
|
|
],
|
|
|
|
"modules": [
|
|
|
|
{
|
|
|
|
"name": "glslang",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"config-opts": [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2024-05-11 22:37:26 +00:00
|
|
|
"url": "https://github.com/KhronosGroup/glslang/archive/14.2.0.tar.gz",
|
|
|
|
"sha256": "14a2edbb509cb3e51a9a53e3f5e435dbf5971604b4b833e63e6076e8c0a997b5",
|
2024-04-04 17:22:56 +00:00
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"stable-only": true,
|
|
|
|
"project-id": 205796,
|
|
|
|
"url-template": "https://github.com/KhronosGroup/glslang/archive/$version.tar.gz"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2024-04-08 12:05:51 +00:00
|
|
|
"url": "https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/vulkan-sdk-1.3.280.0.tar.gz",
|
|
|
|
"sha256": "703c772a850fa7fbe57a2f8dc99b4c1422a59fa5ff098a80c8ce12fcdf6a2613",
|
2024-04-04 17:22:56 +00:00
|
|
|
"dest": "External/spirv-tools",
|
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"stable-only": true,
|
|
|
|
"project-id": 334920,
|
2024-04-08 12:05:51 +00:00
|
|
|
"url-template": "https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/vulkan-sdk-$version.tar.gz"
|
2024-04-04 17:22:56 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2024-04-08 12:05:51 +00:00
|
|
|
"url": "https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-1.3.280.0.tar.gz",
|
|
|
|
"sha256": "a00906b6bddaac1e37192eff2704582f82ce2d971f1aacee4d51d9db33b0f772",
|
2024-04-04 17:22:56 +00:00
|
|
|
"dest": "External/spirv-tools/external/spirv-headers",
|
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"stable-only": true,
|
|
|
|
"project-id": 334920,
|
2024-04-08 12:05:51 +00:00
|
|
|
"url-template": "https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-$version.tar.gz"
|
2024-04-04 17:22:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "rapidjson",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"config-opts": [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
|
|
|
"-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF",
|
|
|
|
"-DRAPIDJSON_BUILD_DOC=OFF",
|
|
|
|
"-DRAPIDJSON_BUILD_EXAMPLES=OFF",
|
|
|
|
"-DRAPIDJSON_BUILD_TESTS=OFF",
|
|
|
|
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
|
|
|
"url": "https://github.com/Tencent/rapidjson/archive/v1.1.0.tar.gz",
|
|
|
|
"sha256": "bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e",
|
|
|
|
"x-checker-data": {
|
|
|
|
"type": "anitya",
|
|
|
|
"stable-only": true,
|
|
|
|
"project-id": 7422,
|
|
|
|
"url-template": "https://github.com/Tencent/rapidjson/archive/v$version.tar.gz"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "lime",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"builddir": true,
|
|
|
|
"config-opts": [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
|
|
|
"-DCMAKE_C_COMPILER=clang",
|
|
|
|
"-DCMAKE_CXX_COMPILER=clang++",
|
|
|
|
"-DCMAKE_LINKER=lld",
|
|
|
|
"-DENABLE_QT_TRANSLATION=ON",
|
|
|
|
"-DCITRA_ENABLE_COMPATIBILITY_REPORTING=ON",
|
|
|
|
"-DUSE_DISCORD_PRESENCE=ON",
|
|
|
|
"-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=OFF",
|
|
|
|
"-DUSE_SYSTEM_SDL2=ON"
|
|
|
|
],
|
|
|
|
"cleanup": [
|
|
|
|
"/share/man",
|
|
|
|
"/share/pixmaps"
|
|
|
|
],
|
|
|
|
"post-install": [
|
|
|
|
"install -Dm755 ../lime3ds-launcher.sh /app/bin/lime3ds-launcher",
|
|
|
|
"install -Dm644 ../io.github.lime3ds.Lime3DS.metainfo.xml /app/share/appdata/io.github.lime3ds.Lime3DS.metainfo.xml",
|
|
|
|
"desktop-file-install --dir=/app/share/applications ../dist/lime-qt.desktop",
|
|
|
|
"desktop-file-edit --set-key StartupWMClass --set-value lime-qt --set-key Exec --set-value lime3ds-launcher /app/share/applications/lime-qt.desktop",
|
2024-04-04 18:43:15 +00:00
|
|
|
"install -Dm644 ../dist/lime.svg /app/share/icons/hicolor/scalable/apps/lime.svg",
|
2024-04-05 10:06:34 +00:00
|
|
|
"install -Dm644 ../dist/icon.png /app/share/icons/hicolor/512x512/apps/lime.png"
|
2024-04-04 17:22:56 +00:00
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2024-04-29 15:17:46 +00:00
|
|
|
"url": "https://github.com/Lime3DS/Lime3DS/releases/download/2111/lime3ds-unified-source-20240429-09196d7.tar.xz",
|
|
|
|
"sha256": "dec35cdd66aea96639e6fa8e2121f45f474fbe94923d13edbe51efc98a7ea51e"
|
2024-04-04 17:22:56 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
2024-04-08 16:31:16 +00:00
|
|
|
"path": "io.github.lime3ds.Lime3DS.metainfo.xml"
|
2024-04-04 17:22:56 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "lime3ds-launcher.sh"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|