Skip to content

Commit

Permalink
telepathy-qt: initial add 0.9.7
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
  • Loading branch information
schnitzeltony committed Nov 5, 2018
1 parent cbcd12b commit f20091e
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
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

21 changes: 21 additions & 0 deletions recipes-support/telepathy/telepathy-qt_0.9.7.bb
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 \
"

0 comments on commit f20091e

Please sign in to comment.