tce-load -i compiletc meson vala-dev libgee-dev gobject-introspection-dev telepathy-glib-dev evolution-data-server-dev intltool libgee-gir evolution-data-server-gir

wget https://download.gnome.org/sources/folks/0.15/folks-0.15.2.tar.xz

cd folks-0.15.2

mkdir build
cd build

CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" meson --prefix=/usr/local --localstatedir=/var --buildtype=plain -Dbluez_backend=false [otherwise needs dbusmock]

ninja [0m 48.35s]
sudo ninja install

[lto causes folks to fail at run time with cannot register existing type 'FolksSmallSet']

[not compatible with current folks]
/usr/local/lib/libfolks.so                                                         
/usr/local/lib/libfolks.so.26                                                      
/usr/local/lib/libfolks.so.26.0.0 