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.4.0, GLib-2.46.2 and Qt-4.8.7


PulseAudio-7.0 and QZeitgeist

User Notes:

Installation of Phonon

Make sure that Qt-4.8.7 is compiled without the bundled Phonon library. This package provides a better implementation.

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_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE: This switch ensures that the plugins and mkspecs files get installed in the correct location.


Installed Programs: None
Installed Libraries: and
Installed Directories: $KDE_PREFIX/include/KDE/Phonon, $KDE_PREFIX/include/phonon, $KDE_PREFIX/lib/cmake/phonon, and $KDE_PREFIX/share/phonon

Last updated on 2015-07-31 23:26:22 -0500