mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
NB: the Vimix.json flatpak for Flathub is in the dedicated Flathub branch for submission to repo. The local flatpak/.Vimix.json is for testing locally building flatpak with latest code.
87 lines
1.9 KiB
Plaintext
87 lines
1.9 KiB
Plaintext
** Prepare and install flatpak
|
|
|
|
~$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
|
~$ flatpak install org.gnome.Sdk/x86_64
|
|
~$ flatpak install org.gnome.Platform
|
|
|
|
** build vimix flatpak
|
|
|
|
~$ cd vimix/flatpak
|
|
~$ flatpak-builder --user --install --force-clean build io.github.brunoherbelin.Vimix.json
|
|
|
|
NB: might need to run this to enable local git clone during build
|
|
~$ git config --global --add protocol.file.allow always
|
|
|
|
|
|
run vimix flatpak
|
|
|
|
~$ flatpak run io.github.brunoherbelin.Vimix
|
|
|
|
|
|
uninstall vimix
|
|
|
|
~$ flatpak uninstall vimix
|
|
|
|
|
|
** Change io.github.brunoherbelin.Vimix.json
|
|
|
|
"finish-args": [
|
|
"--socket=wayland",
|
|
"--socket=fallback-x11",
|
|
"--share=ipc",
|
|
"--share=network",
|
|
"--device=shm",
|
|
"--device=all",
|
|
"--device=dri",
|
|
"--filesystem=host",
|
|
"--filesystem=/tmp",
|
|
"--talk-name=org.gtk.vfs.*",
|
|
"--env=FREI0R_PATH=/app/lib/frei0r-1"
|
|
],
|
|
|
|
"cleanup": [
|
|
"/include",
|
|
"/share/gdb",
|
|
"/share/info",
|
|
"/share/man",
|
|
"/lib/debug"
|
|
],
|
|
|
|
compile vimix with code from local folder (debug)
|
|
|
|
{
|
|
"name": "vimix",
|
|
"buildsystem": "cmake",
|
|
"config-opts": [
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type":"dir",
|
|
"path": "/home/bhbn/Development/vimix",
|
|
}
|
|
]
|
|
}
|
|
|
|
for packaging
|
|
|
|
{
|
|
"name": "vimix",
|
|
"buildsystem": "cmake",
|
|
"config-opts": [
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/brunoherbelin/vimix.git",
|
|
"tag": "0.7.2"
|
|
}
|
|
]
|
|
}
|
|
|
|
|
|
** Declare flatpak on flathub :
|
|
|
|
https://github.com/brunoherbelin/flathub
|