55 lines
1.8 KiB
JSON
55 lines
1.8 KiB
JSON
{
|
|
"app-id": "io.github.AparokshaUI.AdwaitaTemplate",
|
|
"runtime": "org.gnome.Platform",
|
|
"runtime-version": "46",
|
|
"sdk": "org.gnome.Sdk",
|
|
"sdk-extensions": [
|
|
"org.freedesktop.Sdk.Extension.swift5"
|
|
],
|
|
"command": "AdwaitaTemplate",
|
|
"finish-args": [
|
|
"--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",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "AdwaitaTemplate",
|
|
"builddir": true,
|
|
"buildsystem": "simple",
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "."
|
|
}
|
|
],
|
|
"build-commands": [
|
|
"./setup-offline.sh",
|
|
"swift build -c release --static-swift-stdlib --skip-update",
|
|
"strip .build/release/AdwaitaTemplate",
|
|
"install -Dm755 .build/release/AdwaitaTemplate /app/bin/AdwaitaTemplate",
|
|
"install -Dm644 data/io.github.AparokshaUI.AdwaitaTemplate.metainfo.xml $DESTDIR/app/share/metainfo/io.github.AparokshaUI.AdwaitaTemplate.metainfo.xml",
|
|
"install -Dm644 data/io.github.AparokshaUI.AdwaitaTemplate.desktop $DESTDIR/app/share/applications/io.github.AparokshaUI.AdwaitaTemplate.desktop",
|
|
"install -Dm644 data/icons/io.github.AparokshaUI.AdwaitaTemplate.svg $DESTDIR/app/share/icons/hicolor/scalable/apps/io.github.AparokshaUI.AdwaitaTemplate.svg",
|
|
"install -Dm644 data/icons/io.github.AparokshaUI.AdwaitaTemplate-symbolic.svg $DESTDIR/app/share/icons/hicolor/symbolic/apps/io.github.AparokshaUI.AdwaitaTemplate-symbolic.svg"
|
|
]
|
|
}
|
|
]
|
|
}
|