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 platform.
Download (HTTP): http://download.kde.org/stable/phonon/4.8.3/src/phonon-4.8.3.tar.xz
Download (FTP): ftp://ftp.kde.org/pub/kde/stable/phonon/4.8.3/src/phonon-4.8.3.tar.xz
Download MD5 sum: 88bb9867261803eed61ff53a7c026338
Download size: 316 KB
Estimated disk space required: 11.7 MB
Estimated build time: 0.4 SBU
CMake-3.1.3, GLib-2.42.1 and Qt-4.8.6
PulseAudio-5.0, Qt-5.4.0 and QZeitgeist
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/phonon
Make sure that Qt-4.8.6 is compiled without the bundled Phonon library. This package provides a better implementation.
If you have both Qt4 and Qt5 installed, be sure to run
source setqt4
before installing Phonon.
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 \ -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \ -Wno-dev .. && make
Now, as the root
user:
make install
-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.
-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces
:
This switch sets the correct installation path for the D-Bus interfaces file.
Last updated on 2015-02-22 21:16:54 -0800