Installation

Dependancies

You need CMake (CMake >= 2.8.0) and the development packages for the followings libraries:


Audio back-ends

For audio engine dependencies you can choose one or all of the followings libraries.Attention, on your system the vlc/libvlc shall be build with the same Qt version as yarock for vlc audio engine to work.


Dependancies preparation


On UBUNTU 15.10 fresh install Install following packages using "sudo apt-get install "
  - cmake
  - qt4-dev-tools
  - libqjson-dev
  - libtag1-dev
  - libhtmlcxx-dev
  - libphonon-dev [libvlc-dev,libmpv-dev]
Running Time Dependancies
  - libqt4-sql-sqlite
For Qt5 build use followings packages:
  - cmake
  - qtbase5-dev
  - qtbase5-private-dev
  - qtbase5-dev-tools
  - qttools5-dev-tools
  - qttools5-dev
  - libqt5x11extras5-dev
  - libtag1-dev
  - libhtmlcxx-dev
  - libphonon4qt5-dev [libvlc-dev,libmpv-dev]

On FEDORA 23 fresh install Install following packages using "sudo dnf install "
  - cmake, gcc-c++
  - qt4-devel
  - qjson-devel
  - taglib-devel, taglib-extras-devel
  - htmlcxx, htmlcxx-devel
  - phonon-devel [vlc-devel, libmpv-devel]
For Qt5 build use followings packages:
  - cmake, gcc-c++
  - qt5-qtbase-devel
  - qt5-qtx11extras-devel
  - qt5-linguist
  - taglib-devel, taglib-extras-devel
  - htmlcxx, htmlcxx-devel
  - phonon-qt5-devel [vlc-devel, libmpv-devel] 

Compiling

    mkdir build && cd build
    cmake ..
    make

You can build yarock with alternate audio engine (phonon is the default one).

For VLC
    cmake ..  -DENABLE_VLC=ON
For MPV
    cmake ..  -DENABLE_MPV=ON
For all audio back-ends
    cmake ..  -DENABLE_VLC=ON -DENABLE_MPV=ON -DENABLE_PHONON=ON    

Installation

    make install (as root)

Linux package

I do not provides package for distribution (first because yarock is easy to build ;), and then because I have no time left to work and maintain package. If you are linux user/packager, you can send me mail in order to add your distro tips to install yarock. Thanks ! In order to help you can use folowings unofficial user package system if you want.

Ubuntu user

    sudo add-apt-repository ppa:samrog131/ppa
    sudo apt-get update
    sudo apt-get install yarock

Gentoo user

You can use the following user package.

Arch user

To install YaRock on Arch Linux, Manjaro, you need to update the repository index, install yaourt and install yarock, via the AUR repository:
    sudo pacman -Sy yaourt
    sudo yaourt yarock