Compile openSUSE

From Strawberry Music Player Wiki
Jump to navigation Jump to search

Compiling on openSUSE.

Install the required dependencies:

   zypper in \
   git make cmake gcc gcc-c++ tar gettext-tools \
   glibc-devel glib2-devel glib2-tools dbus-1-devel alsa-devel libpulse-devel \
   boost-devel sqlite3-devel libicu-devel \
   qt6-core-devel qt6-gui-devel qt6-gui-private-devel qt6-widgets-devel qt6-concurrent-devel qt6-network-devel \
   qt6-sql-devel qt6-dbus-devel qt6-test-devel qt6-base-common-devel qt6-sql-sqlite qt6-linguist-devel kdsingleapplication-qt6-devel \
   gstreamer-devel gstreamer-plugins-base-devel \
   libtag-devel libcdio-devel libgpod-devel libplist-devel libmtp-devel libusbmuxd-devel libchromaprint-devel libebur128-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).