diff --git a/recipes-kde/other/phonon/files/0001-fix-PHONON_LIBRARY_PATH-was-usr-usr-lib-qt5-plugins.patch b/recipes-kde/other/phonon/files/0001-fix-PHONON_LIBRARY_PATH-was-usr-usr-lib-qt5-plugins.patch new file mode 100644 index 00000000..60504e49 --- /dev/null +++ b/recipes-kde/other/phonon/files/0001-fix-PHONON_LIBRARY_PATH-was-usr-usr-lib-qt5-plugins.patch @@ -0,0 +1,31 @@ +From bdaf387039b9816ebd031b42dbaacab10a7d5720 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 9 Feb 2015 13:14:34 +0100 +Subject: [PATCH] fix PHONON_LIBRARY_PATH was /usr//usr/lib/qt5/plugins +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Andreas Müller +--- + phonon/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/phonon/CMakeLists.txt b/phonon/CMakeLists.txt +index d93124b..80d6a6c 100644 +--- a/phonon/CMakeLists.txt ++++ b/phonon/CMakeLists.txt +@@ -133,7 +133,7 @@ if (PHONON_NO_PLATFORMPLUGIN) + add_definitions(-DQT_NO_PHONON_PLATFORMPLUGIN) + endif (PHONON_NO_PLATFORMPLUGIN) + +-add_definitions(-DPHONON_LIBRARY_PATH="${CMAKE_INSTALL_PREFIX}/${PLUGIN_INSTALL_DIR}/plugins") ++add_definitions(-DPHONON_LIBRARY_PATH="${PLUGIN_INSTALL_DIR}/plugins") + add_definitions(-DPHONON_BACKEND_DIR_SUFFIX="/${PHONON_LIB_SONAME}_backend/") + + automoc4_add_library(${PHONON_LIB_SONAME} SHARED ${phonon_LIB_SRCS}) +-- +1.9.3 + diff --git a/recipes-kde/other/phonon/phonon_4.8.bb b/recipes-kde/other/phonon/phonon_4.8.bb index bbff0b21..82fcf3e3 100644 --- a/recipes-kde/other/phonon/phonon_4.8.bb +++ b/recipes-kde/other/phonon/phonon_4.8.bb @@ -8,6 +8,7 @@ inherit kde-base cmake-lib SRCREV = "e08fdba6b64ad6a09a9dcd6696de4d82f2dd8224" S = "${WORKDIR}/git" +SRC_URI += "file://0001-fix-PHONON_LIBRARY_PATH-was-usr-usr-lib-qt5-plugins.patch" EXTRA_OECMAKE += "-DPHONON_BUILD_DEMOS=ON -DPHONON_BUILD_PHONON4QT5=ON"