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.6 systemd platform.
Download (HTTP): http://download.kde.org/stable/phonon/4.7.2/phonon-4.7.2.tar.xz
Download MD5 sum: a8b722a11a301fc2cda7ff8228209531
Download size: 324 KB
Estimated disk space required: 10.5 MB
Estimated build time: 0.5 SBU
Make sure that Qt-4.8.6 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 \ -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \ -Wno-dev .. && make
Now, as the
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.
-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-08-24 18:34:04 +0000