From 03977b5651cc4ae60b854f772e006f73f7a0b311 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 13 Feb 2023 13:51:28 +0000 Subject: rescribe: enable wayland in flatpak now fyne has good support --- cmd/rescribe/xyz.rescribe.rescribe.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd') 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 -- cgit v1.2.1-24-ge1ad