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.5 platform.
Download (HTTP): http://download.kde.org/stable/phonon/4.7.1/phonon-4.7.1.tar.xz
Download (FTP): ftp://ftp.kde.org/pub/kde/stable/phonon/4.7.1/phonon-4.7.1.tar.xz
Download MD5 sum: 0935e1c00440a03e3032860030398665
Download size: 322 KB
Estimated disk space required: 7.4 MB
Estimated build time: 0.5 SBU
automoc4-0.9.88 and GLib-2.38.2
PulseAudio-4.0, Qt-5.2.1 and QZeitgeist
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/phonon
Make sure that Qt-4.8.5 is compiled without the bundled Phonon library. This package provides a better implementation.
Install Phonon by running the following commands:
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=$QTDIR \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=lib \ -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE \ -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=TRUE
:
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.
-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.
Last updated on 2014-02-27 20:59:01 -0800