1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge branch 'pr1599'

Add build instructions for openSUSE

Tested on a fresh install of openSUSE 13.2.
This commit is contained in:
tux3 2015-05-09 22:38:10 +02:00
commit 072264eb2c
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -50,6 +50,11 @@ Fedora: (yum is now officially deprecated by dnf using yum will redirect to dnf
sudo dnf install git
```
openSUSE:
```bash
sudo zypper install git
```
Afterwards open a new Terminal, change to a directory of your choice and clone the repository:
```bash
@ -77,6 +82,21 @@ dnf group install "Development Tools"
dnf install qt-devel qt-doc qt-creator qt5-qtsvg opencv-devel openal-soft-devel libXScrnSaver-devel qrencode-devel
```
openSUSE:
If you are running openSUSE 13.2 you have to add the following repository to be able to install opencv-qt5.
WARNING: This may break other applications that are depending on opencv.
```bash
sudo zypper ar http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.2/ 'openSUSE BuildService - KDE:Extra'
```
With openSUSE Tumbleweed you can continue here:
```bash
sudo zypper install patterns-openSUSE-devel_basis libqt5-qtbase-common-devel libqt5-qtsvg-devel libqt5-linguist libQt5Network-devel libQt5OpenGL-devel libQt5Concurrent-devel libQt5Xml-devel libQt5Sql-devel openal-soft-devel qrencode-devel libXScrnSaver-devel libQt5Sql5-sqlite opencv-qt5-devel
```
Slackware:
```bash
You can grab SlackBuilds of the needed dependencies here:
@ -106,6 +126,11 @@ Fedora:
sudo dnf install libtool autoconf automake check check-devel
```
openSUSE:
```bash
sudo zypper install libsodium-devel libvpx-devel libopus-devel patterns-openSUSE-devel_basis
```
Slackware:
```bash
You can grab SlackBuilds of the needed dependencies here:
@ -136,6 +161,12 @@ qmake
make
```
for openSUSE you have to use:
```bash
qmake-qt5
make
```
###Building packages
Alternately, qTox now has the experimental and probably-dodgy ability to package itself (in .deb