Last active
November 19, 2018 09:53
-
-
Save pranavgade20/b53322a6c84c99e09f0c7b780be5a37d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script Build GCompris from source for you, including the dependencies, hopefully without any errors. | |
# Installation is hone in the home directory. To change, replace the path below. | |
cd ~ | |
# So that we have to enter the password only once | |
sudo -H su | |
# Install dependencies + Qt | |
apt-get install -y cmake g++ libgl1-mesa-dev qtdeclarative5-dev libqt5svg5-dev qml-module-qtquick-particles2 qttools5-dev-tools libqt5xmlpatterns5-dev qml-module-qtmultimedia qt5-default qml-module-qtgraphicaleffects qt5-qmake qtcreator qtmultimedia5-dev qttools5-dev qttools5-dev-tools libqt5multimedia5-plugins qml-module-qtsensors libqt5quickparticles5 qml-module-qtquick2 qml-module-qtquick-particles2 libqt5sensors5-dev libqt5sensors5 | |
# Clone the source code | |
git clone https://github.com/gcompris/GCompris-qt | |
# Initialize the git submodule(s) | |
cd gcompris | |
git submodule init && git submodule update | |
#Qt5 installation Dir | |
export Qt5_DIR=$HOME/Qt/5.9.3/5.9/lib/cmake/Qt5 | |
# Build GCompris | |
mkdir build | |
cd build | |
cmake .. | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment