Introduction to Phonon

Phonon is the multimedia API for KDE4. It replaces the old aRts, that is no longer supported by KDE. Phonon needs either the GStreamer or VLC backend.

This package is known to build and work properly using an LFS-7.7-systemd platform.

Package Information

Phonon Dependencies


CMake-3.5.2, GLib-2.48.1 and Qt-5.6.1


PulseAudio-8.0 and QZeitgeist

User Notes:

Installation of Phonon

First, silence a lot of warnings caused by using the latest toolchain by running the following command:

sed -i "s:BSD_SOURCE:DEFAULT_SOURCE:g" cmake/FindPhononInternal.cmake

Install Phonon by running the following commands:

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX                  \
      -DCMAKE_BUILD_TYPE=Release                          \
      -DCMAKE_INSTALL_LIBDIR=lib                          \
      -Wno-dev .. &&

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_PHONON4QT5=ON: Use this switch if you want to build Phonon against Qt5. Note that both Qt4 and Qt5 versions can be installed at the same time without any conflicts.


Installed Programs: None
Installed Libraries: and
Installed Directories: /usr/include/phonon4qt5, /usr/lib/cmake/phonon4qt5, and /usr/share/phonon4qt5

Last updated on 2016-05-10 12:26:28 -0500