Phonon-4.8.3

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

Required

CMake-3.5.2, GLib-2.48.1 and Qt-5.6.1

Optional

PulseAudio-8.0 and QZeitgeist

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/phonon

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                          \
      -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
      -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_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.

Contents

Installed Programs: None
Installed Libraries: libphonon4qt5.so and libphonon4qt5experimental.so
Installed Directories: /usr/include/phonon4qt5, /usr/lib/cmake/phonon4qt5, and /usr/share/phonon4qt5

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