From 95e14dd5bcde31a5c83095f5a51b130503a58da7 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sat, 4 May 2019 22:26:50 +0200 Subject: [PATCH] Flatpak: YAML style --- flatpak/com.github.unrud.RemoteTouchpad.yaml | 84 ++++++++++---------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/flatpak/com.github.unrud.RemoteTouchpad.yaml b/flatpak/com.github.unrud.RemoteTouchpad.yaml index 3d368e9..d708b92 100644 --- a/flatpak/com.github.unrud.RemoteTouchpad.yaml +++ b/flatpak/com.github.unrud.RemoteTouchpad.yaml @@ -4,47 +4,47 @@ runtime-version: '18.08' sdk: org.freedesktop.Sdk command: remote-touchpad sdk-extensions: -- org.freedesktop.Sdk.Extension.golang + - org.freedesktop.Sdk.Extension.golang finish-args: -- --socket=x11 -- --socket=fallback-x11 -- --share=network + - --socket=x11 + - --socket=fallback-x11 + - --share=network modules: -- name: remote-touchpad - sources: - - type: git - url: https://github.com/golang/net - commit: f4e77d36d62c17c2336347bb2670ddbd02d092b7 - dest: src/golang.org/x/net - - type: git - url: https://github.com/skip2/go-qrcode - commit: dc11ecdae0a9889dc81a343585516404e8dc6ead - 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 - url: https://salsa.debian.org/go-team/packages/golang-dbus.git - commit: 79d96b151df08809558c825f8a75188826e8e228 - dest: src/salsa.debian.org/go-team/packages/golang-dbus.git - - type: git - path: .. - branch: master - dest: src/github.com/unrud/remote-touchpad - buildsystem: simple - build-commands: - - . /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/com.github.unrud.RemoteTouchpad.appdata.xml - - install -Dm0644 -t /app/share/applications src/github.com/unrud/remote-touchpad/desktop/com.github.unrud.RemoteTouchpad.desktop - - install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_64.png - /app/share/icons/hicolor/64x64/apps/com.github.unrud.RemoteTouchpad.png - - install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_128.png - /app/share/icons/hicolor/128x128/apps/com.github.unrud.RemoteTouchpad.png - - install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_256.png - /app/share/icons/hicolor/256x256/apps/com.github.unrud.RemoteTouchpad.png - - install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_512.png - /app/share/icons/hicolor/512x512/apps/com.github.unrud.RemoteTouchpad.png + - name: remote-touchpad + sources: + - type: git + url: https://github.com/golang/net + commit: f4e77d36d62c17c2336347bb2670ddbd02d092b7 + dest: src/golang.org/x/net + - type: git + url: https://github.com/skip2/go-qrcode + commit: dc11ecdae0a9889dc81a343585516404e8dc6ead + 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 + url: https://salsa.debian.org/go-team/packages/golang-dbus.git + commit: 79d96b151df08809558c825f8a75188826e8e228 + dest: src/salsa.debian.org/go-team/packages/golang-dbus.git + - type: git + path: .. + branch: master + dest: src/github.com/unrud/remote-touchpad + buildsystem: simple + build-commands: + - . /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/com.github.unrud.RemoteTouchpad.appdata.xml + - install -Dm0644 -t /app/share/applications src/github.com/unrud/remote-touchpad/desktop/com.github.unrud.RemoteTouchpad.desktop + - install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_64.png + /app/share/icons/hicolor/64x64/apps/com.github.unrud.RemoteTouchpad.png + - install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_128.png + /app/share/icons/hicolor/128x128/apps/com.github.unrud.RemoteTouchpad.png + - install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_256.png + /app/share/icons/hicolor/256x256/apps/com.github.unrud.RemoteTouchpad.png + - install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_512.png + /app/share/icons/hicolor/512x512/apps/com.github.unrud.RemoteTouchpad.png