Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Add Flatpak manifest for Demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
david-swift committed Apr 18, 2024
1 parent 8fa3e4d commit 795410d
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions io.github.AparokshaUI.Demo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"app-id": "io.github.AparokshaUI.Demo",
"runtime": "org.gnome.Platform",
"runtime-version": "46",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.swift5"
],
"command": "Demo",
"finish-args": [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland"
],
"build-options": {
"append-path": "/usr/lib/sdk/swift5/bin",
"prepend-ld-library-path": "/usr/lib/sdk/swift5/lib"
},
"cleanup": [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"/share/vala",
"*.la",
"*.a"
],
"modules": [
{
"name": "Demo",
"builddir": true,
"buildsystem": "simple",
"sources": [
{
"type": "dir",
"path": "."
}
],
"build-commands": [
"swift build -c release --static-swift-stdlib",
"install -Dm755 .build/release/Demo /app/bin/Demo"
]
}
]
}

0 comments on commit 795410d

Please sign in to comment.