mirror of
https://github.com/RetroDECK/io.github.lime3ds.Lime3DS.git
synced 2024-11-21 23:05:37 +00:00
163 lines
6.4 KiB
JSON
163 lines
6.4 KiB
JSON
{
|
|
"app-id": "io.github.lime3ds.Lime3DS",
|
|
"runtime": "org.kde.Platform",
|
|
"runtime-version": "6.7",
|
|
"sdk": "org.kde.Sdk",
|
|
"sdk-extensions": [
|
|
"org.freedesktop.Sdk.Extension.llvm18"
|
|
],
|
|
"command": "lime3ds-launcher",
|
|
"rename-desktop-file": "lime3ds.desktop",
|
|
"rename-mime-file": "lime.xml",
|
|
"rename-icon": "lime",
|
|
"rename-mime-icons": [
|
|
"lime"
|
|
],
|
|
"copy-icon": true,
|
|
"build-options": {
|
|
"append-path": "/usr/lib/sdk/llvm18/bin",
|
|
"prepend-ld-library-path": "/usr/lib/sdk/llvm18/lib",
|
|
"cflags": "-Wno-unused-command-line-argument",
|
|
"cxxflags": "-Wno-unused-command-line-argument"
|
|
},
|
|
"finish-args": [
|
|
"--device=all",
|
|
"--socket=wayland",
|
|
"--socket=fallback-x11",
|
|
"--socket=pulseaudio",
|
|
"--share=network",
|
|
"--share=ipc",
|
|
"--filesystem=host:ro",
|
|
"--filesystem=xdg-run/app/com.discordapp.Discord:ro",
|
|
"--filesystem=xdg-desktop:create",
|
|
"--filesystem=xdg-data/applications:create"
|
|
],
|
|
"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",
|
|
"url": "https://github.com/KhronosGroup/glslang/archive/14.3.0.tar.gz",
|
|
"sha256": "be6339048e20280938d9cb399fcdd06e04f8654d43e170e8cce5a56c9a754284",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"stable-only": true,
|
|
"project-id": 205796,
|
|
"url-template": "https://github.com/KhronosGroup/glslang/archive/$version.tar.gz"
|
|
}
|
|
},
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/vulkan-sdk-1.3.290.0.tar.gz",
|
|
"sha256": "8f8b487e20e062c3abfbc86c4541faf767588d167b395ec94f2a7f996ef40efe",
|
|
"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/vulkan-sdk-$version.tar.gz"
|
|
}
|
|
},
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-1.3.290.0.tar.gz",
|
|
"sha256": "1b9ff8a33e07814671dee61fe246c67ccbcfc9be6581f229e251784499700e24",
|
|
"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/vulkan-sdk-$version.tar.gz"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
"-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/lime3ds.desktop",
|
|
"desktop-file-edit --set-key StartupWMClass --set-value lime3ds --set-key Exec --set-value lime3ds-launcher /app/share/applications/lime3ds.desktop",
|
|
"install -Dm644 ../dist/lime.svg /app/share/icons/hicolor/scalable/apps/lime.svg",
|
|
"install -Dm644 ../dist/icon.png /app/share/icons/hicolor/512x512/apps/lime.png"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/Lime3DS/Lime3DS/releases/download/2118/lime3ds-unified-source-2118.tar.xz",
|
|
"sha256": "44fa6d1eaa7c756dc8725c201eb637a0e3faffac011e182dc5cdf2e193c383dd"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "io.github.lime3ds.Lime3DS.metainfo.xml"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "lime3ds-launcher.sh"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|