add support for Flatpak's RemoteDesktop portal

This commit is contained in:
Unrud 2018-07-31 20:19:12 +02:00
parent c1509ac8fa
commit 71d7cd42b9
6 changed files with 309 additions and 3 deletions

View file

@ -36,6 +36,12 @@
"commit" : "38087fe4dafb822e541b3f7955075cc1c30bd294",
"dest" : "src/github.com/elazarl/go-bindata-assetfs"
},
{
"type" : "git",
"url" : "https://anonscm.debian.org/git/pkg-go/packages/golang-dbus.git",
"commit" : "79d96b151df08809558c825f8a75188826e8e228",
"dest" : "src/anonscm.debian.org/git/pkg-go/packages/golang-dbus.git"
},
{
"type" : "git",
"path" : "..",
@ -45,7 +51,7 @@
],
"buildsystem" : "simple",
"build-commands" : [
". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build -tags x11 github.com/unrud/remote-touchpad",
". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build -tags 'portal x11' github.com/unrud/remote-touchpad",
"install -Dm0755 -t /app/bin remote-touchpad",
"install -Dm0755 -t /app/bin src/github.com/unrud/remote-touchpad/desktop/remote-touchpad-wait-on-error",
"install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml",