* extra-cmake-modules is required for building glfw3: version 3.2.
* This recipe exists in upstream under meta-luneui (master branch)
  https://layers.openembedded.org/layerindex/recipe/32503/

Signed-off-by: Hongmei Gou <[email protected]>
---
 .../recipes-devtools/cmake/extra-cmake-modules.bb  | 18 +++++++++++++++
 ...in-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch | 26 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 
meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules.bb
 create mode 100644 
meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules/0001-Search-within-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch

diff --git a/meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules.bb 
b/meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules.bb
new file mode 100644
index 0000000..c12c0e2
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules.bb
@@ -0,0 +1,18 @@
+UMMARY = "Extra modules and scripts for CMake"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = 
"file://COPYING-CMAKE-SCRIPTS;md5=54c7042be62e169199200bc6477f04d1"
+
+PV = "1.5.0+gitr${SRCPV}"
+SRCREV = "8dc36cfa882f07a60b3ebdf16d9aac57871bd382"
+
+SRC_URI = " \
+    git://anongit.kde.org/extra-cmake-modules;protocol=git;branch=master \
+    file://0001-Search-within-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch \
+"
+S = "${WORKDIR}/git"
+
+EXTRA_OECMAKE += "-DBUILD_TESTING=off"
+
+inherit cmake
+
+FILES_${PN}-dev += "${datadir}/ECM"
diff --git 
a/meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules/0001-Search-within-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch
 
b/meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules/0001-Search-within-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch
new file mode 100644
index 0000000..964dbbf
--- /dev/null
+++ 
b/meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules/0001-Search-within-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch
@@ -0,0 +1,26 @@
+From 90d6c2bce5a50d2c05af25978bccbe047705eed7 Mon Sep 17 00:00:00 2001
+From: Simon Busch <[email protected]>
+Date: Mon, 29 Dec 2014 12:05:20 +0100
+Subject: [PATCH] Search within OE_QMAKE_PATH_EXTERNAL_HOST_BINS for
+ qtwaylandscanner
+
+Signed-off-by: Simon Busch <[email protected]>
+---
+ find-modules/FindQtWaylandScanner.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/find-modules/FindQtWaylandScanner.cmake 
b/find-modules/FindQtWaylandScanner.cmake
+index 7fb8a00..f782275 100644
+--- a/find-modules/FindQtWaylandScanner.cmake
++++ b/find-modules/FindQtWaylandScanner.cmake
+@@ -88,7 +88,7 @@ 
include(${CMAKE_CURRENT_LIST_DIR}/ECMFindModuleHelpersStub.cmake)
+ ecm_find_package_version_check(QtWaylandScanner)
+ 
+ # Find qtwaylandscanner
+-find_program(QtWaylandScanner_EXECUTABLE NAMES qtwaylandscanner)
++find_program(QtWaylandScanner_EXECUTABLE NAMES qtwaylandscanner HINTS 
${OE_QMAKE_PATH_EXTERNAL_HOST_BINS})
+ 
+ include(FindPackageHandleStandardArgs)
+ find_package_handle_standard_args(QtWaylandScanner
+-- 
+2.1.0
-- 
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to