This package provides a Phonon backend which utilizes the GStreamer media framework. Its library is used by both KDE4 and KF5, but they must be linked to Qt-4.8.7 and Qt-5.5.1 respectively. The two versions do not conflict with each other.
This package is known to build and work properly using an LFS-7.9 platform.
Download (HTTP): http://download.kde.org/stable/phonon/phonon-backend-gstreamer/4.8.2/src/phonon-backend-gstreamer-4.8.2.tar.xz
Download (FTP): ftp://ftp.kde.org/pub/kde/stable/phonon/phonon-backend-gstreamer/4.8.2/src/phonon-backend-gstreamer-4.8.2.tar.xz
Download MD5 sum: ce441035dc5a00ffaac9a64518ab5c62
Download size: 76 KB
Estimated disk space required: 4.1 MB
Estimated build time: 0.2 SBU
GStreamer-1.6.3, libxml2-2.9.3, and phonon-4.8.3
gst-plugins-base-1.6.3 (needed for output to ALSA), gst-plugins-good-1.6.3 (needed for output to PulseAudio), gst-plugins-bad-1.6.3 (needed for AAC/M4A support), and gst-plugins-ugly-1.6.3 (needed for MP3 support)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/phonon-backend-gstreamer
For both build variants, fix the package to work with the latest gstreamer:
patch -Np1 -i ../phonon-backend-gstreamer-4.8.2-compatibility-1.patch
Install the qt4 based version of Phonon-backend-gstreamer by running the following commands:
source /usr/bin/setqt4 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -Wno-dev .. && make
Now, as the root
user:
make install
Install the qt5 based version of Phonon-backend-gstreamer by running the following commands:
source /usr/bin/setqt5 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -DPHONON_BUILD_PHONON4QT5=ON \ -D__KDE_HAVE_GCC_VISIBILITY=NO \ -Wno-dev .. && make
Now, as the root
user:
make install
-DCMAKE_BUILD_TYPE=Release
: This switch
is used to apply higher level of compiler optimizations.
-DCMAKE_INSTALL_LIBDIR=lib
: This switch
is used to get libraries to install to /usr/lib instead of
/usr/lib64 on a 64 bit system.
-DPHONON_BUILD_PHONON4QT5=ON
: This
switch is used to ensure that Qt5 version of the backend 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 or later.
Last updated on 2016-02-24 19:22:02 -0800