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

simplify compilation

This commit is contained in:
Dubslow 2014-09-10 17:36:34 -05:00
parent c3e55489b0
commit f148100fe3
3 changed files with 21 additions and 4 deletions

View File

@ -131,17 +131,17 @@ First of all install the dependencies of Tox Core.
Debian:
```bash
sudo apt-get install libtool autotools-dev automake checkinstall check yasm libopus-dev libvpx-dev
sudo apt-get install libtool autotools-dev automake checkinstall check libopus-dev libvpx-dev
```
Ubuntu:
```bash
sudo apt-get install libtool autotools-dev automake checkinstall check yasm libopus-dev libvpx-dev
sudo apt-get install libtool autotools-dev automake checkinstall check libopus-dev libvpx-dev
```
Arch Linux: (Arch Linux provides the package "tox-git" in AUR)
```bash
sudo pacman -S --needed yasm opus vpx
sudo pacman -S --needed opus vpx
```
Fedora:

View File

@ -21,7 +21,7 @@ TOX_CORE_DIR=libtoxcore-latest
# the default value is 'false' and will be set to 'true'
# if this script gets the parameter -t or --tox
TOX_ONLY=false
GLOBAL=false
GLOBAL=true
KEEP=false
if [ -z "$BASE_DIR" ]; then

17
simple_make.sh Executable file
View File

@ -0,0 +1,17 @@
#! /bin/bash
if which apt-get; then
sudo apt-get install build-essential qt5-qmake qt5-default libopenal-dev libopencv-dev \
libtool autotools-dev automake checkinstall check libopus-dev libvpx-dev
elif which pacman; then
sudo pacman -S --needed base-devel qt5 opencv openal opus vpx
elif which yum; then
yum groupinstall "Development Tools"
yum install qt-devel qt-doc qt-creator opencv-devel openal-soft-devel libtool autoconf automake check check-devel
else
echo "Unknown package manager, attempting to compile anyways"
fi
./bootstrap.sh
qmake
make