Phonon-backend-gstreamer-4.8.2

Introduction to the Phonon-backend-gstreamer

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.0 respectively. The two versions do not conflict with each other.

This package is known to build and work properly using an LFS-7.8 platform.

Package Information

Phonon-backend-gstreamer Dependencies

Required

GStreamer-1.4.5, libxml2-2.9.2, and phonon-4.8.3

Recommended

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/phonon-backend-gstreamer

Installation of Phonon-backend-gstreamer

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

Command Explanations

-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.

Contents

Installed Programs: none
Installed Libraries: phonon_gstreamer.so (two versions in different directories)
Installed Directories: /usr/lib/kde4/plugins/phonon_backend, /usr/lib/qt5/plugins/phonon4qt5_backend, and /usr/share/kde4/services/phononbackends

Last updated on 2015-09-24 05:44:01 -0700