Last active
September 20, 2020 06:39
-
-
Save matkoniecz/173fcbb2b80c4ba3f4f142b6b9820637 to your computer and use it in GitHub Desktop.
Clementine install from source
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
#!/bin/bash | |
set -Eeuox pipefail | |
IFS=$'\n\t' | |
err_report() { | |
echo "Error on line $1" | |
} | |
trap 'err_report $LINENO' ERR | |
# https://github.com/clementine-player/Clementine/wiki/Compiling-from-source-(Linux) | |
sudo apt-get install -y cmake g++ git gettext \ | |
libglib2.0-dev libdbus-1-dev \ | |
libboost-dev libprotobuf-dev protobuf-compiler libsqlite3-dev sqlite3 libcrypto++-dev \ | |
libasound2-dev libpulse-dev libtag1-dev \ | |
qtbase5-dev qtbase5-dev-tools qtbase5-private-dev \ | |
libqt5core5a libqt5gui5 libqt5widgets5 libqt5concurrent5 libqt5network5 libqt5sql5 \ | |
libqt5x11extras5-dev libqt5dbus5 qttools5-dev \ | |
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev \ | |
gstreamer1.0-alsa gstreamer1.0-pulseaudio \ | |
libgstreamer1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer-plugins-bad1.0-0 \ | |
libchromaprint-dev libfftw3-dev libsparsehash-dev libglew-dev \ | |
libcdio-dev libmtp-dev libgpod-dev libplist-dev libusbmuxd-dev \ | |
liblastfm5-dev | |
sudo apt-get install ccache | |
cd /tmp/ | |
git clone https://github.com/clementine-player/Clementine.git && cd Clementine | |
cd bin | |
cmake ../ | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment