diff options
author | Nick White <git@njw.name> | 2023-02-13 13:51:28 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2023-02-13 13:51:28 +0000 |
commit | 03977b5651cc4ae60b854f772e006f73f7a0b311 (patch) | |
tree | e655bd648da0869590122b21a79bc7d470752aec | |
parent | b512e968efcdf453928777fcfe7fd937acb59f3d (diff) |
rescribe: enable wayland in flatpak now fyne has good support
-rw-r--r-- | cmd/rescribe/xyz.rescribe.rescribe.yml | 6 |
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 |