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:
parent
6173199a5b
commit
00ac9ba606
|
@ -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.**
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue
Block a user