Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85648751
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/packaging/GNU-Linux/flatpak/README.md b/packaging/GNU-Linux/flatpak/README.md
index 7a71935..08f2761 100644
--- a/packaging/GNU-Linux/flatpak/README.md
+++ b/packaging/GNU-Linux/flatpak/README.md
@@ -1,52 +1,52 @@
# Building flatpak for kazv
All blocks are run from the repository root unless specified.
Setup the environment:
```
cd packaging/GNU-Linux/flatpak
python -m venv venv
. ./venv/bin/activate
-pip3 install aiohttp toml
+pip3 install aiohttp tomlkit
wget -O./venv/bin/flatpak-cargo-generator https://raw.githubusercontent.com/flatpak/flatpak-builder-tools/master/cargo/flatpak-cargo-generator.py
chmod +x ./venv/bin/flatpak-cargo-generator
cd ../../..
```
Setup flatpak:
```
flatpak remote-add --user --if-not-exists flathub 'https://flathub.org/repo/flathub.flatpakrepo'
```
Fetch cargo sources (if you run into problems building vodozemac-bindings, run `git pull` in the `vodozemac-bindings` directory and rerun `flatpak-cargo-generator` command):
```
cd packaging/GNU-Linux/flatpak
. ./venv/bin/activate
git clone https://lily-is.land/kazv/vodozemac-bindings.git
flatpak-cargo-generator vodozemac-bindings/Cargo.lock -o cargo-sources.json
cd ../../..
```
Build:
```
cd packaging/GNU-Linux/flatpak
flatpak-builder --jobs=NJOBS --user --install-deps-from=flathub --force-clean --ccache --repo=repo flatpak-build moe.kazv.mxc.kazv.yaml
flatpak build-bundle repo kazv.flatpak --runtime-repo='https://flathub.org/repo/flathub.flatpakrepo' moe.kazv.mxc.kazv
```
Replace `NJOBS` with the number of parallel jobs you want to run.
Install:
```
cd packaging/GNU-Linux/flatpak
flatpak install --user --bundle ./kazv.flatpak
```
# See also
[Upstream documentation about building a flatpak](https://docs.flatpak.org/en/latest/hosting-a-repository.html)
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Aug 28, 6:52 PM (18 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1736598
Default Alt Text
(1 KB)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment