Compile Mageia

From Strawberry Music Player Wiki
Jump to navigation Jump to search

Install required dependencies:

   urpmi --force urpmi-debuginfo-install git glibc gcc-c++ make cmake  gettext \
   lib64boost-devel lib64protobuf-devel lib64sqlite3-devel lib64alsa2-devel lib64pulseaudio-devel \
   lib64qt5core-devel lib64qt5gui-devel lib64qt5widgets-devel lib64qt5network-devel lib64qt5concurrent-devel \
   lib64qt5sql-devel lib64qt5dbus-devel lib64qt5x11extras-devel lib64qt5help-devel libqt5test-devel \
   lib64gstreamer1.0-devel lib64gstreamer-plugins-base1.0-devel lib64cdio-devel lib64gpod-devel \
   lib64plist-devel lib64usbmuxd-devel lib64mtp-devel lib64raw1394-devel lib64taglib-devel \
   lib64chromaprint-devel libgnutls-devel libfftw-devel protobuf-compiler dbus-devel

Compile and install:

   git clone --recursive https://github.com/strawberrymusicplayer/strawberry
   cd strawberry
   mkdir build
   cd build
   cmake ..
   make -j$(nproc)
   sudo make install

(If you already did `git clone`, do `git pull` to make sure you have the latest code).