Flatpak: YAML style
This commit is contained in:
parent
0ba1464157
commit
95e14dd5bc
1 changed files with 42 additions and 42 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue