tce-load -wil compiletc meson libomemo-c-dev glib2-dev curl-dev sqlite3-dev libstrophe-dev cmake libxml2-dev git autoconf automake libtool-dev libgcrypt-dev

https://profanity-im.github.io/tarballs/profanity-0.18.2.tar.xz

cd profanity-0.18.2/
mkdir build
cd build

CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" meson setup --prefix=/usr/local -Domemo=enabled -Domemo-backend=libomemo-c -Dforce_fallback_for=libstrophe

meson compile [0m 31.06s]
DESTDIR=/tmp/dest meson install


profanity 0.18.2

  Directories
    Platform                  : nix
    Package status            : debug
    Install themes            : true
    Themes path               : share/profanity/themes
    Icons path                : share/profanity/icons
    Global Python plugins path: share/profanity/plugins
    Global C plugins path     : lib/profanity/plugins

  Features
    Notifications             : false
    Python plugins            : false
    C plugins                 : false
    OTR                       : false
    PGP                       : false
    OMEMO                     : true
    XScreenSaver              : false
    GTK                       : false
    GDK Pixbuf                : false
    QR Code                   : false

  Testing
    Unit tests                : false
    Functional tests          : false

  Subprojects
    libstrophe                : YES 1 warnings

  User defined options
    force_fallback_for        : libstrophe
    omemo                     : enabled
    omemo-backend             : libomemo-c
    prefix                    : /usr/local
