Overview
Building Sayonara is nothing you have to be afraid of. It's very simple by doing the following steps
1. Neccessary packages
Choose your distribution:1.1. Debian/Ubuntu/Mint
If you already have the sayonara ppa registered you can just type
sudo apt-get build-dep sayonara
In order to install the dependencies manually, use
sudo apt-get install git cmake libgstreamer-plugins-bad-1.0-dev libgstreamer-plugins-base1.0-dev
libgstreamer1.0-dev libtag1-dev pkg-config qtbase5-dev qttools5-dev qttools5-dev-tools zlib1g-dev
1.2. Fedora/Suse
dnf install gcc-c++ cmake desktop-file-utils git libappstream-glib qt5-qtbase-devel
qt5-qttools-devel gstreamer1-plugins-base-devel taglib-devel zlib-devel hicolor-icon-theme
1.3. Magaia
urpmi gcc-c++ cmake desktop-file-utils lib64 appstream-glib lib64gstreamer1.0-devel
lib64gstreamer-plugins-base1.0-devel lib64taglib-devel lib64zlib-devel lib64qt5base5-devel
lib64qt5core-devel lib64qt5dbus-devel lib64qt5gui-devel lib64qt5network-devel
lib64qt5xml-devel lib64qt5sql-devel lib64qt5network-devel lib64qt5help-devel git
1.4. Other distributions
For other distributions which are not deb or rpm based please install the respective packages. If you
want to see a list of required packages here, please send me a description via Email to luciocarreras at gmail dot com.
2. Get the source code
Choose one of the following methods to get Sayonara's source code:
2.1. From git
The [-b BRANCH_NAME] optional. Use it, when I tell you want to test a specific branch.
(1) git clone https://git.sayonara-player.com/sayonara.git [-b BRANCH_NAME]
(2) cd sayonara
(2) cd sayonara
2.2. From the source package
Current source packages are available at the downloads page.
After downloading the tar.gz archive go to your download directory and type
(1) tar xzf sayonara-player-VERSION_NUMBER_HERE.tar.gz
(2) cd sayonara-player
(2) cd sayonara-player
3. Start compiling
(3) mkdir build
(4) cd build
(5) cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
(6) make -j4 (if you have more or less cores on your machine, please modify that number)
(7) sudo make install
If you want to debug Sayonara replace "Release" in line (5) with "Debug"
(4) cd build
(5) cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
(6) make -j4 (if you have more or less cores on your machine, please modify that number)
(7) sudo make install