All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hongmei Gou <h-gou@ti.com>
To: <meta-arago@arago-project.org>
Subject: [PATCH 2/3] extra-cmake-modules: add version 1.5.0+gitrX
Date: Tue, 16 Aug 2016 18:04:46 -0400	[thread overview]
Message-ID: <1471385087-22759-3-git-send-email-h-gou@ti.com> (raw)
In-Reply-To: <1471385087-22759-1-git-send-email-h-gou@ti.com>

* 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 <h-gou@ti.com>
---
 .../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 <morphis@gravedo.de>
+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 <morphis@gravedo.de>
+---
+ 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



  parent reply	other threads:[~2016-08-16 22:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-16 22:04 [PATCH 0/3] add glfw3 version 3.2 Hongmei Gou
2016-08-16 22:04 ` [PATCH 1/3] wayland-protocols: add version 1.5 Hongmei Gou
2016-08-16 22:04 ` Hongmei Gou [this message]
2016-08-16 22:04 ` [PATCH 3/3] glfw3: add version 3.2 Hongmei Gou
2016-08-17 21:00 ` [PATCH 0/3] add glfw3 " Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1471385087-22759-3-git-send-email-h-gou@ti.com \
    --to=h-gou@ti.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.