Flatpak: Vendored dependencies
Fixes build with newer Go versions
This commit is contained in:
parent
d00c3dab85
commit
b95ffd4c1d
2 changed files with 30 additions and 27 deletions
|
|
@ -12,51 +12,40 @@ finish-args:
|
||||||
modules:
|
modules:
|
||||||
- name: remote-touchpad
|
- name: remote-touchpad
|
||||||
sources:
|
sources:
|
||||||
# List dependencies: go mod download -json | jq -r '.Path+" "+.Version'
|
# Vendor dependencies: go mod vendor -v
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/elazarl/go-bindata-assetfs
|
url: https://github.com/elazarl/go-bindata-assetfs
|
||||||
tag: v1.0.1
|
tag: v1.0.1
|
||||||
commit: 234c15e7648ff35458026de92b34c637bae5e6f7
|
commit: 234c15e7648ff35458026de92b34c637bae5e6f7
|
||||||
dest: src/github.com/elazarl/go-bindata-assetfs
|
dest: vendor/github.com/elazarl/go-bindata-assetfs
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/godbus/dbus
|
url: https://github.com/godbus/dbus
|
||||||
tag: v5.0.3
|
tag: v5.0.4
|
||||||
commit: 37bf87eef99d69c4f1d3528bd66e3a87dc201472
|
commit: c88335c0b1d28a30e7fc76d526a06154b85e5d97
|
||||||
dest: src/github.com/godbus/dbus/v5
|
dest: vendor/github.com/godbus/dbus/v5
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/skip2/go-qrcode
|
url: https://github.com/skip2/go-qrcode
|
||||||
commit: da1b6568686e89143e94f980a98bc2dbd5537f13
|
commit: da1b6568686e89143e94f980a98bc2dbd5537f13
|
||||||
dest: src/github.com/skip2/go-qrcode
|
dest: vendor/github.com/skip2/go-qrcode
|
||||||
- type: git
|
|
||||||
url: https://github.com/golang/crypto
|
|
||||||
commit: 75b288015ac94e66e3d6715fb68a9b41bf046ec2
|
|
||||||
dest: src/golang.org/x/crypto
|
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/golang/net
|
url: https://github.com/golang/net
|
||||||
commit: ab34263943818b32f575efc978a3d24e80b04bd7
|
commit: abc453219eb586afb3fc1742e8c685c28b9f7eea
|
||||||
dest: src/golang.org/x/net
|
dest: vendor/golang.org/x/net
|
||||||
- type: git
|
- type: file
|
||||||
url: https://github.com/golang/sys
|
path: modules.txt
|
||||||
commit: 85ca7c5b95cdf1e557abb38a283d1e61a5959c31
|
dest: vendor
|
||||||
dest: src/golang.org/x/sys
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/golang/text
|
|
||||||
tag: v0.3.0
|
|
||||||
commit: f21a4dfb5e38f5895301dc265a8def02365cc3d0
|
|
||||||
dest: src/golang.org/x/text
|
|
||||||
- type: git
|
- type: git
|
||||||
path: ..
|
path: ..
|
||||||
branch: master
|
branch: master
|
||||||
dest: src/github.com/unrud/remote-touchpad
|
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
- . /usr/lib/sdk/golang/enable.sh; env GOPATH="$(pwd)" go build -tags portal,x11 github.com/unrud/remote-touchpad
|
- . /usr/lib/sdk/golang/enable.sh; go build -tags portal,x11
|
||||||
- install -Dm0755 -t /app/bin 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 -Dm0755 -t /app/bin desktop/remote-touchpad-wait-on-error
|
||||||
- install -Dm0644 -t /app/share/metainfo src/github.com/unrud/remote-touchpad/desktop/com.github.unrud.RemoteTouchpad.appdata.xml
|
- install -Dm0644 -t /app/share/metainfo 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 -t /app/share/applications desktop/com.github.unrud.RemoteTouchpad.desktop
|
||||||
- |
|
- |
|
||||||
for s in 64 128 256 512; do
|
for s in 64 128 256 512; do
|
||||||
install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_${s}.png \
|
install -Dm0644 desktop/remote-touchpad_${s}.png \
|
||||||
/app/share/icons/hicolor/${s}x${s}/apps/com.github.unrud.RemoteTouchpad.png || exit 1
|
/app/share/icons/hicolor/${s}x${s}/apps/com.github.unrud.RemoteTouchpad.png || exit 1
|
||||||
done
|
done
|
||||||
|
|
|
||||||
14
flatpak/modules.txt
Normal file
14
flatpak/modules.txt
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
# github.com/elazarl/go-bindata-assetfs v1.0.1
|
||||||
|
## explicit
|
||||||
|
github.com/elazarl/go-bindata-assetfs
|
||||||
|
# github.com/godbus/dbus/v5 v5.0.4
|
||||||
|
## explicit
|
||||||
|
github.com/godbus/dbus/v5
|
||||||
|
# github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
|
||||||
|
## explicit
|
||||||
|
github.com/skip2/go-qrcode
|
||||||
|
github.com/skip2/go-qrcode/bitset
|
||||||
|
github.com/skip2/go-qrcode/reedsolomon
|
||||||
|
# golang.org/x/net v0.0.0-20210525063256-abc453219eb5
|
||||||
|
## explicit
|
||||||
|
golang.org/x/net/websocket
|
||||||
Loading…
Add table
Add a link
Reference in a new issue