Phonon is the multimedia API for KDE. It replaces the old aRts package. Phonon needs either the GStreamer or VLC backend.
This package is known to build and work properly using an LFS-7.8 platform.
Download (HTTP): http://download.kde.org/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
If building for KDE4, make sure Qt-4.8.7 has been built without the bundled Phonon library. This package provides a better implementation.
Install the qt4 based version of Phonon by running the following commands:
source /usr/bin/setqt4 && sed -i "s:BSD_SOURCE:DEFAULT_SOURCE:g" cmake/FindPhononInternal.cmake && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -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
Install qt5 based version ofPhonon by running the following commands:
If the extracted files of the package are still present from a qt4 version of the build, be sure to remove it and extract a fresh copy of the source files.
source /usr/bin/setqt5 && sed -i "s:BSD_SOURCE:DEFAULT_SOURCE:g" cmake/FindPhononInternal.cmake && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=lib \ -DPHONON_BUILD_PHONON4QT5=ON \ -D__KDE_HAVE_GCC_VISIBILITY=NO \ -Wno-dev .. && make
Now, as the
sed ... cmake/FindPhononInternal.cmake: Silence a lot of warnings caused by the latest toolchain.
This switch is used to apply higher level of the compiler
This switch ensures that the plugins and mkspecs files get
installed in the correct location.
This switch sets the correct installation path for the D-Bus interfaces file.
switch is used to ensure that Qt5 version of the library is built
even if Qt4 is present.
switch is used to disable a check that would cause cmake to fail
when using Qt-5.4.2 and later.
Last updated on 2015-09-24 05:44:01 -0700