-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
- Loading branch information
1 parent
cbcd12b
commit f20091e
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
...rt/telepathy/telepathy-qt/0001-Hardcode-path-to-FindLibPython.py-FIND_FILE-does-not.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 \ | ||
" |