psi-im / plugins

Officially supported Psi plugins
56 stars 24 forks source link
c-plus-plus e2e-encryption omemo openpgp otr plugins qt xmpp

Officially supported Psi plugins

Description

This repository contains all Psi plugins which their developers prefer to maintain together with Psi developers.

Installation

Normally you don't need compile these plugins yourself: they are distributed together with main program (in special packages for your Linux distro, in installer or archive for Windows, in app bundle for macOS, etc.). But if you need to build plugins yourself see instructions below.

All plugins may be built separately using qmake or cmake or they may be built together using cmake.

The most fast and simple way to build all plugins from master branch:

git clone https://github.com/psi-im/psi.git
git clone https://github.com/psi-im/plugins.git
cd plugins
mkdir builddir
cd builddir
cmake ..
# If necessary install all missed build dependencies until previous command is
# executed without errors.
make -j4
make install DESTDIR="../installdir"
# If necessary replace "../installdir" from command above to any path you need
# or copy them manually from "../installdir".

Some available configuration options:

Option -DPLUGINS_ROOT_DIR should be used only when:

Examples:

# Build only few plugins:
cmake .. -DBUILD_PLUGINS="omemoplugin;openpgpplugin;otrplugin"

# Build all plugins except few ones:
cmake .. -DBUILD_PLUGINS="-chessplugin;-otrplugin"

# Build all plugins when git repo of Psi is placed in far far directory:
cmake .. -DPLUGINS_ROOT_DIR=/home/user/very/stange/path/to/psi/plugins