113 lines
4.7 KiB
JSON
113 lines
4.7 KiB
JSON
{
|
|
"app-id" : "com.github.unrud.RemoteTouchpad",
|
|
"runtime" : "org.freedesktop.Platform",
|
|
"runtime-version" : "1.6",
|
|
"sdk" : "org.freedesktop.Sdk",
|
|
"command" : "remote-touchpad",
|
|
"rename-appdata-file" : "remote-touchpad.appdata.xml",
|
|
"rename-desktop-file" : "remote-touchpad.desktop",
|
|
"rename-icon" : "remote-touchpad",
|
|
"finish-args" : [
|
|
"--socket=x11",
|
|
"--share=network"
|
|
],
|
|
"build-options" : {
|
|
"append-path" : "/app/share/go/bin",
|
|
"env" : {
|
|
}
|
|
},
|
|
"modules" : [
|
|
{
|
|
"name" : "go-compiler",
|
|
"sources" : [
|
|
{
|
|
"only-arches" : [
|
|
"i386"
|
|
],
|
|
"type" : "archive",
|
|
"strip-components" : 0,
|
|
"url" : "https://dl.google.com/go/go1.10.3.linux-386.tar.gz",
|
|
"sha256" : "3d5fe1932c904a01acb13dae07a5835bffafef38bef9e5a05450c52948ebdeb4"
|
|
},
|
|
{
|
|
"only-arches" : [
|
|
"x86_64"
|
|
],
|
|
"type" : "archive",
|
|
"strip-components" : 0,
|
|
"url" : "https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz",
|
|
"sha256" : "fa1b0e45d3b647c252f51f5e1204aba049cde4af177ef9f2181f43004f901035"
|
|
},
|
|
{
|
|
"only-arches" : [
|
|
"arm"
|
|
],
|
|
"type" : "archive",
|
|
"strip-components" : 0,
|
|
"url" : "https://dl.google.com/go/go1.10.3.linux-armv6l.tar.gz",
|
|
"sha256" : "d3df3fa3d153e81041af24f31a82f86a21cb7b92c1b5552fb621bad0320f06b6"
|
|
},
|
|
{
|
|
"only-arches" : [
|
|
"aarch64"
|
|
],
|
|
"type" : "archive",
|
|
"strip-components" : 0,
|
|
"url" : "https://dl.google.com/go/go1.10.3.linux-arm64.tar.gz",
|
|
"sha256" : "355128a05b456c9e68792143801ad18e0431510a53857f640f7b30ba92624ed2"
|
|
}
|
|
],
|
|
"buildsystem" : "simple",
|
|
"build-commands" : [
|
|
"mkdir -p /app/share",
|
|
"cp -r go /app/share"
|
|
],
|
|
"build-options" : {
|
|
"no-debuginfo" : true
|
|
},
|
|
"cleanup" : [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"name" : "remote-desktop",
|
|
"sources" : [
|
|
{
|
|
"type" : "git",
|
|
"url" : "https://github.com/golang/net",
|
|
"commit" : "afe8f62b1d6bbd81f31868121a50b06d8188e1f9",
|
|
"dest" : "src/golang.org/x/net"
|
|
},
|
|
{
|
|
"type" : "git",
|
|
"url" : "https://github.com/skip2/go-qrcode",
|
|
"commit" : "cf5f9fa2f0d847edb8e038db7ed975e239095e1a",
|
|
"dest" : "src/github.com/skip2/go-qrcode"
|
|
},
|
|
{
|
|
"type" : "git",
|
|
"url" : "https://github.com/elazarl/go-bindata-assetfs",
|
|
"commit" : "38087fe4dafb822e541b3f7955075cc1c30bd294",
|
|
"dest" : "src/github.com/elazarl/go-bindata-assetfs"
|
|
},
|
|
{
|
|
"type" : "git",
|
|
"path" : "..",
|
|
"branch" : "master",
|
|
"dest" : "src/github.com/unrud/remote-touchpad"
|
|
}
|
|
],
|
|
"buildsystem" : "simple",
|
|
"build-commands" : [
|
|
"env GOPATH=\"$(pwd)\" go build github.com/unrud/remote-touchpad",
|
|
"install -Dm0755 -t /app/bin remote-touchpad",
|
|
"install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml",
|
|
"install -Dm0644 -t /app/share/applications src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.desktop",
|
|
"install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_64.png /app/share/icons/hicolor/64x64/apps/remote-touchpad.png",
|
|
"install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_128.png /app/share/icons/hicolor/128x128/apps/remote-touchpad.png",
|
|
"install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_256.png /app/share/icons/hicolor/256x256/apps/remote-touchpad.png",
|
|
"install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_512.png /app/share/icons/hicolor/512x512/apps/remote-touchpad.png"
|
|
]
|
|
}
|
|
]
|
|
}
|