diff --git a/recipes-support/telepathy/telepathy-qt/0001-Hardcode-path-to-FindLibPython.py-FIND_FILE-does-not.patch b/recipes-support/telepathy/telepathy-qt/0001-Hardcode-path-to-FindLibPython.py-FIND_FILE-does-not.patch new file mode 100644 index 00000000..c2cef483 --- /dev/null +++ b/recipes-support/telepathy/telepathy-qt/0001-Hardcode-path-to-FindLibPython.py-FIND_FILE-does-not.patch @@ -0,0 +1,32 @@ +From 6c397bfb9cb99c4c38542b227ee4930fffac35bf Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 5 Nov 2018 23:06:23 +0100 +Subject: [PATCH] Hardcode path to FindLibPython.py - FIND_FILE does not work + for us +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Andreas Müller +--- + cmake/modules/FindPythonLibrary.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/modules/FindPythonLibrary.cmake b/cmake/modules/FindPythonLibrary.cmake +index c6bb7127..7d8e4121 100644 +--- a/cmake/modules/FindPythonLibrary.cmake ++++ b/cmake/modules/FindPythonLibrary.cmake +@@ -32,7 +32,7 @@ else(EXISTS PYTHON_LIBRARY) + FIND_PACKAGE(PythonInterp ${PythonLibrary_FIND_VERSION}) + + if(PYTHONINTERP_FOUND) +- FIND_FILE(_find_lib_python_py FindLibPython.py PATHS ${CMAKE_MODULE_PATH}) ++ SET(_find_lib_python_py ${CMAKE_CURRENT_LIST_DIR}/FindLibPython.py) + + EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${_find_lib_python_py} OUTPUT_VARIABLE python_config) + if(python_config) +-- +2.14.4 + diff --git a/recipes-support/telepathy/telepathy-qt_0.9.7.bb b/recipes-support/telepathy/telepathy-qt_0.9.7.bb new file mode 100644 index 00000000..00277dd2 --- /dev/null +++ b/recipes-support/telepathy/telepathy-qt_0.9.7.bb @@ -0,0 +1,21 @@ +SUMMARY = "Telepathy-Qt" +HOMEPAGE = "https://telepathy.freedesktop.org/" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" + +DEPENDS = "qtbase python" + +SRC_URI = " \ + git://github.com/TelepathyIM/telepathy-qt.git \ + file://0001-Hardcode-path-to-FindLibPython.py-FIND_FILE-does-not.patch \ +" +SRCREV = "7aee69a39e169c4cf49ee3eb218a319a1b822c1e" +S = "${WORKDIR}/git" + +inherit cmake_qt5 pythonnative + +EXTRA_OECMAKE += " \ + -DDESIRED_QT_VERSION=5 \ + -DENABLE_TESTS=FALSE \ + -DENABLE_FARSTREAM=FALSE \ +"