Files
regent/meson.options
raucao 5ff4d5d0f0 Add a nightly .Devel build profile and icon
A `-Dprofile=development` build is a separate application identity: the app
id carries a `.Devel` suffix, and the desktop file, AppStream id, icon,
GSettings schema id/path, GResource bundle name, D-Bus name and data
directories all follow, with a `regent-devel` binary so it installs beside
the stable one instead of replacing it. The Rust side switches `APP_ID` on
a cargo `devel` feature (a feature, not an env var, so the shared cargo
target dir cannot return a binary built for the other profile); the
metadata files become `.in` templates configured from `app_id`.

The nightly uses the banded nightly app icon and libadwaita's striped
`devel` header bar. The dev deploy selects it with
`REGENT_PROFILE=development`; the release `--pkg` build stays stable, and a
nightly install leaves the `nostrconnect://` scheme handler to the stable
build.

Two Meson details this depends on: the GResource prefix is fixed by
`resources.gresource.xml` (not the resource id) and is shared by both
profiles, and `gnome.compile_schemas()` scans the source directory, so the
generated schema is compiled by a `glib-compile-schemas` target instead.
2026-11-28 13:44:44 +04:00

11 lines
436 B
Meson

# `default` builds the stable application identity (org.kosmos.raucao.Regent);
# `development` builds the nightly identity (org.kosmos.raucao.Regent.Devel) so
# it can be installed and run beside the stable one. See the profile handling in
# meson.build.
option('profile',
type: 'combo',
choices: ['default', 'development'],
value: 'default',
description: 'Build the stable or the development (nightly) application identity',
)