Files
chatterino2/BUILDING_ON_FREEBSD.md
pajlada 634842d2f5 refactor(eventsub): Allow for skipping generation of json implementations (#5904)
This can be done using the `SKIP_JSON_GENERATION` flag (off by default)

The FreeBSD builder uses this flag since its python stuff is slow
2025-02-06 08:21:21 +00:00

946 B

FreeBSD

For all dependencies below we use Qt 6. Our minimum supported version is Qt 5.15.2, but you are on your own.

FreeBSD 14.0-RELEASE

Note: This is known to work on FreeBSD 14.0-RELEASE amd64. Chances are high that this also works on older FreeBSD releases, architectures and FreeBSD 15.0-SNAP.

  1. Install build dependencies from package sources (or build from the ports tree): # pkg install boost-libs git qt6-base qt6-svg qt6-5compat qt6-imageformats qtkeychain-qt6 cmake
  2. In the project directory, create a build directory and enter it
    mkdir build
    cd build
    
  3. Generate build files. To enable Lua plugins in your build add -DCHATTERINO_PLUGINS=ON to this command. Generating JSON implementation of EventSub blobs is slow (something to do with Python), if you're impatient you can enable the -DSKIP_JSON_GENERATION=On option.
    cmake ..
    
  4. Build the project
    make