telepathy-qt: initial add 0.9.7

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2018-11-05 23:19:07 +01:00
parent cbcd12b0ee
commit f20091ea8b
2 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
From 6c397bfb9cb99c4c38542b227ee4930fffac35bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
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 <schnitzeltony@gmail.com>
---
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

View File

@@ -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 \
"