Skip to content

Building Flatpak

Martin edited this page Jan 10, 2025 · 5 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 and install it by cloning that repo and 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 \
	pillow \
	dbus-python \
	pylast \
	mutagen \
	pysdl2 \
	send2trash \
	requests \
	beautifulsoup4 \
	plexapi \
	musicbrainzngs \
	pypresence \
	setproctitle \
	unidecode \
	pulsectl \
	natsort \
	tekore \
	websocket-client \
	pychromecast \
	opencc-python-reimplemented \
	colored_traceback \
	jxlpy \
	tidalapi
Clone this wiki locally