From ab7a84c40fa598f2cf52e58887c856906c19ee8e Mon Sep 17 00:00:00 2001 From: Bruno Herbelin Date: Thu, 9 Jan 2025 14:34:50 +0100 Subject: [PATCH] Packaging Flatpak for Wayland --- docs/notes.txt | 4 ++++ flatpak/io.github.brunoherbelin.Vimix.json | 11 +++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/notes.txt b/docs/notes.txt index 4fa66c4..b9d0a35 100644 --- a/docs/notes.txt +++ b/docs/notes.txt @@ -16,6 +16,10 @@ Publishing new a release - Test the flatpack for Beta https://github.com/brunoherbelin/vimix/tree/master/flatpak - Test the snap for Beta + $ snap remove vimix + $ snapcraft (from vimix base dir) + $ snap install ./vimix_0.X.Y_amd64.snap --dangerous + $ snap connections vimix - Merge Beta into origin/master - push origin/master diff --git a/flatpak/io.github.brunoherbelin.Vimix.json b/flatpak/io.github.brunoherbelin.Vimix.json index a5920de..36e52ea 100644 --- a/flatpak/io.github.brunoherbelin.Vimix.json +++ b/flatpak/io.github.brunoherbelin.Vimix.json @@ -7,7 +7,8 @@ "rename-desktop-file": "vimix.desktop", "rename-icon": "vimix", "finish-args": [ - "--socket=x11", + "--socket=wayland", + "--socket=fallback-x11", "--socket=pulseaudio", "--share=ipc", "--share=network", @@ -17,7 +18,9 @@ "--filesystem=host", "--filesystem=/tmp", "--talk-name=org.gtk.vfs.*", - "--env=FREI0R_PATH=/app/lib/frei0r-1" + "--env=FREI0R_PATH=/app/lib/frei0r-1", + "--env=__NV_PRIME_RENDER_OFFLOAD=1", + "--env=__GLX_VENDOR_LIBRARY_NAME=nvidia" ], "cleanup": [ "/include", @@ -173,8 +176,8 @@ ], "sources": [ { - "type":"git", - "branch":"beta", + "type": "git", + "branch": "beta", "url": "https://github.com/brunoherbelin/vimix.git" } ]