summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/rescribe/xyz.rescribe.rescribe.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/rescribe/xyz.rescribe.rescribe.yml b/cmd/rescribe/xyz.rescribe.rescribe.yml
index 17db7c8..575b0fe 100644
--- a/cmd/rescribe/xyz.rescribe.rescribe.yml
+++ b/cmd/rescribe/xyz.rescribe.rescribe.yml
@@ -6,9 +6,9 @@ sdk-extensions: org.freedesktop.Sdk.Extension.golang
build-options:
append-path: /usr/lib/sdk/golang/bin
finish-args:
- - --socket=x11
+ - --socket=fallback-x11
- --share=ipc # needed for X11
- #- --socket=wayland # wayland is not stable on fyne yet, when it is add this and the wayland tag to 'go build'
+ - --socket=wayland
- --device=dri # OpenGL
- --share=network # Used for google book downloading
- --filesystem=home
@@ -17,7 +17,7 @@ modules:
- name: rescribe
buildsystem: simple
build-commands:
- - cd cmd/rescribe && go build .
+ - cd cmd/rescribe && go build -tags wayland .
- install -Dm00755 cmd/rescribe/rescribe $FLATPAK_DEST/bin/rescribe-bin
- install -Dm00644 cmd/rescribe/icon.256.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/xyz.rescribe.rescribe.png
- install -Dm00644 cmd/rescribe/xyz.rescribe.rescribe.desktop $FLATPAK_DEST/share/applications/xyz.rescribe.rescribe.desktop