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

chore(simple_make): Fix build for Fedora

Add some missing dependencies and the fix from #3308

Tested on a fresh Fedora 23 install
This commit is contained in:
sudden6 2016-06-16 16:24:15 +02:00
parent 6173199a5b
commit 00ac9ba606
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
2 changed files with 8 additions and 4 deletions

View File

@ -207,11 +207,11 @@ libsqlcipher-dev
**This means that you have to compile sqlcipher yourself, otherwise compiling
qTox will fail.**
```bash
sudo dnf groupinstall "Development Tools"
sudo dnf groupinstall "Development Tools" "C Development Tools and Libraries"
# (can also use sudo dnf install @"Development Tools")
sudo dnf install qt-devel qt-doc qt-creator qt5-qtsvg qt5-qtsvg-devel \
openal-soft-devel libXScrnSaver-devel qrencode-devel ffmpeg-devel \
qtsingleapplication qt5-linguist gtk2-devel
qtsingleapplication qt5-linguist gtk2-devel libtool openssl-devel
```
**Go to [sqlcipher](#sqlcipher) section to compile it.**

View File

@ -13,7 +13,8 @@ elif which pacman; then
git base-devel qt5 openal libxss qrencode opus libvpx libsodium
elif which dnf; then
sudo dnf group install \
"Development Tools"
"Development Tools" \
"C Development Tools and Libraries"
# pure Fedora doesn't have what it takes to compile qTox (ffmpeg)
sudo dnf install \
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
@ -21,7 +22,10 @@ elif which dnf; then
git qt-devel qt-doc qt-creator qt5-qtsvg qt5-qtsvg-devel \
openal-soft-devel qt5-qttools-devel libXScrnSaver-devel \
qrencode-devel opus-devel libvpx-devel glib2-devel gdk-pixbuf2-devel \
gtk2-devel libsodium-devel ffmpeg-devel sqlite sqlite-devel
gtk2-devel libsodium-devel ffmpeg-devel sqlite sqlite-devel libtool \
openssl-devel
# Fedora by default doesn't include libs in /usr/local/lib so add it
echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
elif which zypper; then
sudo zypper in \
git patterns-openSUSE-devel_basis libqt5-qtbase-common-devel \