%general-entities; ]> $LastChangedBy$ $Date$ Phonon-&phonon-version; phonon Introduction to Phonon Phonon is the multimedia API for KDE. It replaces the old aRts package. Phonon needs either the GStreamer or VLC backend. &lfs78_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &phonon-md5sum; Download size: &phonon-size; Estimated disk space required: &phonon-buildsize; Estimated build time: &phonon-time; Phonon Dependencies Required , , and or Optional and QZeitgeist User Notes: Installation of Phonon The Phonon libraries are used by both KDE4 and KF5, but they must be linked to and respectively. The two versions do not conflict with each other. If building for KDE4, make sure 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 root user: make install 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 root user: make install Command Explanations sed ... cmake/FindPhononInternal.cmake: Silence a lot of warnings caused by the latest toolchain. -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. -DPHONON_BUILD_PHONON4QT5=ON: This switch is used to ensure that Qt5 version of the library is built even if Qt4 is present. -D__KDE_HAVE_GCC_VISIBILITY=NO: This switch is used to disable a check that would cause cmake to fail when using Qt-5.4.2 and later. Contents Installed Programs Installed Libraries Installed Directories None libphonon.so, libphonon4qt5.so libphononexperimental.so, and libphonon4qt5experimental.so /usr/include/KDE/Phonon, /usr/include/phonon, /usr/include/phonon4qt5, /usr/lib/cmake/phonon, /usr/lib/cmake/phonon4qt5, /usr/share/phonon. amd /usr/share/phonon4qt5