Compile Fedora: Difference between revisions

From Strawberry Music Player Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
     glibc gcc-c++ git tar rpmdevtools make cmake glib man gettext \
     glibc gcc-c++ git tar rpmdevtools make cmake glib man gettext \
     boost-devel dbus-devel protobuf-devel protobuf-compiler glib2-devel sqlite-devel alsa-lib-devel pulseaudio-libs-devel libicu-devel \
     boost-devel dbus-devel protobuf-devel protobuf-compiler glib2-devel sqlite-devel alsa-lib-devel pulseaudio-libs-devel libicu-devel \
     qt6-qtbase-devel qt6-qtbase-private-devel qt6-qttools-devel \
     qt6-qtbase-devel qt6-qtbase-private-devel qt6-qttools-devel kdsingleapplication-qt6-devel \
     gstreamer1-devel gstreamer1-plugins-base-devel \
     gstreamer1-devel gstreamer1-plugins-base-devel \
     libcdio-devel libgpod-devel libplist-devel libusbmuxd-devel libmtp-devel \
     libcdio-devel libgpod-devel libplist-devel libusbmuxd-devel libmtp-devel \
     taglib-devel libchromaprint-devel fftw-devel
     taglib-devel libchromaprint-devel fftw-devel libebur128-devel


Compile and install:
Compile and install:

Latest revision as of 02:25, 3 January 2024

Compiling on Fedora

Install the required dependencies:

   sudo dnf install \
   glibc gcc-c++ git tar rpmdevtools make cmake glib man gettext \
   boost-devel dbus-devel protobuf-devel protobuf-compiler glib2-devel sqlite-devel alsa-lib-devel pulseaudio-libs-devel libicu-devel \
   qt6-qtbase-devel qt6-qtbase-private-devel qt6-qttools-devel kdsingleapplication-qt6-devel \
   gstreamer1-devel gstreamer1-plugins-base-devel \
   libcdio-devel libgpod-devel libplist-devel libusbmuxd-devel libmtp-devel \
   taglib-devel libchromaprint-devel fftw-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).