From 79c8679dde516205c8357d85a4b023c503e42d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Niewi=C5=84ski?= Date: Thu, 18 Jan 2018 21:13:13 +0100 Subject: [PATCH] Compilation on FreeBSD (no gui) --- Compilation-on-FreeBSD-(no-gui).md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Compilation-on-FreeBSD-(no-gui).md diff --git a/Compilation-on-FreeBSD-(no-gui).md b/Compilation-on-FreeBSD-(no-gui).md new file mode 100644 index 0000000..68064e0 --- /dev/null +++ b/Compilation-on-FreeBSD-(no-gui).md @@ -0,0 +1,30 @@ +## qBittorrent-nox compilation on FreeBSD (with dependencies as system packages) + +1. Install required libraries from repository +> - pkgconf +> - qt5-core +> - qt5-network +> - qt5-svg +> - qt5-linguisttools +> - qt5-buildtools +> - qt5-qmake +> - boost-all +> - libtorrent-rasterbar +> +> **Copy-paste command** +> ```sh +> pkg install pkgconf qt5-core qt5-network qt5-svg qt5-linguisttools qt5-buildtools qt5-qmake boost-all libtorrent-rasterbar +> ``` +2. Execute configure script in extracted qBittorrent source or cloned git repository +> ```sh +> ./configure --disable-gui --prefix=/usr +> ``` +3. Build qBittorrent (use parameter `-j ` for multi-threaded compilation) +> ```sh +> make +> ``` +4. (Optionally) you can install qBittorrent in the system PATH (root privileges required) +**_You can also use `qbittorrent-nox` binary directly without installation (`./src/qbittorrent-nox`)_** +> ```sh +> make install +> ``` \ No newline at end of file