summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2023-02-13 13:51:28 +0000
committerNick White <git@njw.name>2023-02-13 13:51:28 +0000
commit03977b5651cc4ae60b854f772e006f73f7a0b311 (patch)
treee655bd648da0869590122b21a79bc7d470752aec /cmd
parentb512e968efcdf453928777fcfe7fd937acb59f3d (diff)
rescribe: enable wayland in flatpak now fyne has good support
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