search health

This commit is contained in:
Priec
2026-09-02 14:51:00 +02:00
parent 3fc21bcca3
commit acef57c63b
9 changed files with 371 additions and 8 deletions

View File

@@ -12,13 +12,20 @@ binary are downloaded by `flatpak-builder` as checksum-pinned sources.
## Build
Install `flatpak` and `flatpak-builder` through the host package manager, then
run from the repository root:
Install `flatpak`, `flatpak-builder`, and `appstreamcli` through the host package
manager, then run from the repository root:
```sh
packaging/flatpak/build.sh
```
On NixOS, all three tools can be provided without changing the system
configuration:
```sh
nix shell nixpkgs#flatpak nixpkgs#flatpak-builder nixpkgs#appstream
```
The script configures the per-user Flathub remote when necessary, installs the
GNOME SDK and SDK extensions through `flatpak-builder`, retains its reusable
cache below `${XDG_CACHE_HOME:-$HOME/.cache}/komp-ac-flatpak-builder`, and

View File

@@ -20,7 +20,7 @@ if [[ "$(uname -m)" != x86_64 ]]; then
echo "The Flatpak production build currently supports x86_64 only" >&2
exit 1
fi
for command in flatpak flatpak-builder; do
for command in flatpak flatpak-builder appstreamcli; do
if ! command -v "$command" >/dev/null 2>&1; then
echo "$command is required to build the Flatpak" >&2
exit 1