Flatpak build config for vemonet/EmojiMart emoji picker.
Clone this repository, and the EmojiMart repository in the same folder:
git clone --recursive https://github.com/flathub/io.github.vemonet.EmojiMart
git clone https://github.com/vemonet/EmojiMart
cd flathub
Create and activate a virtual environment (for python dependencies used to generate sources):
python3 -m venv .venv
source .venv/bin/activate
Install dependencies:
make install
Generate cargo-sources.json
and node-sources.json
:
make sources
Build flatpak:
make flatpak
Try the built flatpak:
flatpak run io.github.vemonet.EmojiMart
Note
To try building the flatpak from a local folder, checkout the io.github.vemonet.EmojiMart.yml
file to uncomment a line
Open a shell inside the flatpak app to debug:
flatpak run --devel --command=sh io.github.vemonet.EmojiMart
In this shell use emoji-mart
to start the app
Clean the cache:
make clean
Lint the repo with flatpak-builder
:
make lint
To update this repository:
- Make the changes in a separate branch, e.g.
dev
- Send a PR to the
main
branch - Checkout the build and response in the PR to see if everything works as expected
Examples tauri to flathub: