Enable turning on the Signal support using package manager mflags argument
Description: Signal support cannot be turned on using package manager (e.g. by passing mflags). Related discussion
How to reproduce it:
Running yay -S nchat --mflags="-DHAS_SIGNAL=ON" (or equivalent) doesn't pass correctly the arguments to the make script, ergo running this command does not turn on signal.
Environment:
- Version: 5.15.26
- OS / distro: Endeavour (Arch Linux)
Log: N/A
Building from source with Signal is supported with NCHAT_CMAKEARGS="-DHAS_SIGNAL=ON" ./make.sh build, see doc/SIGNAL.md https://github.com/d99kris/nchat/blob/master/doc/SIGNAL.md - but whether --mflags reaches that is up to the AUR PKGBUILD, which I don't maintain, so it needs to be raised with the package maintainer.
The binaries I publish in the nchat releases are built with -DHAS_SIGNAL=ON - so a package wrapping those (e.g. nchat-bin) is the quicker route.
Closing this issue since there's nothing to change on the nchat side.