Skip to content

Building Flatpak

Martin edited this page Sep 2, 2026 · 14 revisions

For end users you can install the built Flatpak from Flathub by using flatpak install com.github.taiko2k.tauonmb

The Flatpak manifest lives at https://github.com/flathub/com.github.taiko2k.tauonmb.

You can build from source by setting up the prerequsities:

git clone git@github.com:flathub/com.github.taiko2k.tauonmb.git
cd com.github.taiko2k.tauonmb.git
git submodule init
git submodule update
flatpak install -y org.gnome.Sdk/x86_64/50
flatpak install -y org.freedesktop.Sdk.Extension.rust-stable/x86_64/25.08

and then using:

flatpak-builder --force-clean --user --install build-dir com.github.taiko2k.tauonmb.json

Or alternatively:

flatpak-builder --force-clean --repo=repo build com.github.taiko2k.tauonmb.json; flatpak build-bundle repo com.github.taiko2k.tauonmb.flatpak com.github.taiko2k.tauonmb

Note that you may need to install the relevant SDK's in addition to the runtimes.

Maintenance scratchpad

⚠️ wip

Using scripts from https://github.com/flatpak/flatpak-builder-tools

Bumping up the submodules symlink

TODO, this is needed to update some deps.

Generating librespot sources:

Get Cargo.lock from librespot repo

./flatpak-cargo-generator.py Cargo.lock

Generating python sources:

flatpak-pip-generator \
	pybind11 pillow \
	dbus-python \
	mutagen \
	PySDL3 \
	Send2Trash \
	requests \
	beautifulsoup4 \
	PlexAPI \
	musicbrainzngs \
	pypresence \
	setproctitle \
	unidecode \
	pulsectl \
	natsort \
	tekore \
	websocket-client \
	pychromecast \
	opencc-python-reimplemented \
	colored_traceback \
	jxlpy \
	tidalapi

pylast and some other things are built separately because TODO

Clone this wiki locally