isle-portable/flatpak/pizza.isle.Isle.json
2025-06-23 18:01:02 -05:00

69 lines
2.0 KiB
JSON

{
"id": "pizza.isle.Isle",
"runtime": "org.kde.Platform",
"sdk": "org.kde.Sdk",
"runtime-version": "6.8",
"command": "isle",
"finish-args": [
"--share=ipc",
"--socket=wayland",
"--socket=fallback-x11",
"--socket=pulseaudio",
"--device=dri",
"--device=input",
"--filesystem=/run/media/:ro",
"--filesystem=/media/:ro",
"--filesystem=/mnt/:ro"
],
"modules": [
{
"name": "isle",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
"-DISLE_DEBUG=OFF"
],
"sources": [
{
"type": "git",
"url": "https://github.com/isledecomp/isle-portable.git",
"branch": "master"
}
],
"build-options": {
"build-args": [
"--share=network"
]
}
},
{
"name": "desktop-assets",
"buildsystem": "simple",
"sources": [
{
"type": "file",
"dest-filename": "pizza.isle.Isle.svg",
"path": "desktop/isle_icon.svg"
},
{
"type": "file",
"path": "desktop/pizza.isle.Isle.desktop"
},
{
"type": "file",
"path": "desktop/pizza.isle.Isle.metainfo.xml"
}
],
"build-commands": [
"install -Dm0644 pizza.isle.Isle.svg -t ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/",
"install -Dm0644 pizza.isle.Isle.desktop -t ${FLATPAK_DEST}/share/applications/",
"install -Dm0644 pizza.isle.Isle.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo/"
]
}
]
}