Phonon-4.12.0

Introduction to Phonon

Phonon is the multimedia API for KDE. It replaces the old aRts package. Phonon needs either the GStreamer or VLC backend.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

Phonon Dependencies

Required

CMake-3.28.1, extra-cmake-modules-5.113.0, GLib-2.78.3, and Qt-5.15.12

phonon-backend-vlc-0.12.0 needs to be installed afterwards for multimedia operation in KDE.

Optional

PulseAudio-17.0

Installation of Phonon

Install Phonon by running the following commands:

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      -DPHONON_BUILD_QT6=OFF      \
      -Wno-dev .. &&
make

Now, as the root user:

make install

Command Explanations

-DCMAKE_BUILD_TYPE=Release: This switch is used to apply higher level of the compiler optimizations.

-DPHONON_BUILD_QT6=OFF: By default both the Qt5 and Qt6 versions of this package are built. We currently just want the Qt5 version, since BLFS does not carry Qt6 yet.

Contents

Installed Programs: phononsettings
Installed Libraries: libphonon4qt5.so and libphonon4qt5experimental.so
Installed Directories: /usr/include/phonon4qt5, /usr/lib/cmake/phonon4qt5, and /usr/lib/plugins/designer