File phonon-4.6.0-find-backends-outside-of-kde-session.diff of Package phonon.openSUSE_12.3_Update

commit ce33564f5fb11351246bf4e83e93dd545ea0fe99
Author: Rex Dieter <rdieter@fedoraproject.org>
Date:   Fri Jan 6 08:48:56 2012 -0500

    Upstream fedora patch that fixes platform plugin loading that is outside of a kde session

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 08652b7..d2ecbd2 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -85,7 +85,7 @@ if (PHONON_NO_PLATFORMPLUGIN)
     add_definitions(-DQT_NO_PHONON_PLATFORMPLUGIN)
 endif (PHONON_NO_PLATFORMPLUGIN)
 
-add_definitions(-DPHONON_LIBRARY_PATH="${PLUGIN_INSTALL_DIR}/plugins")
+add_definitions(-DPHONON_LIBRARY_PATH="${CMAKE_INSTALL_PREFIX}/${PLUGIN_INSTALL_DIR}/plugins")
 
 automoc4_add_library(phonon SHARED ${phonon_LIB_SRCS})
 target_link_libraries(phonon ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
openSUSE Build Service is sponsored by