Skip to contentSkip to conversation

packagegroup-qt5-toolchain-target.bb: Add qtdeclarative-tools and use Ruby tools only when Ruby is present.

PATCH In review Ann Thornton 2 participants 2 messages May 13, 2016 – May 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup-qt5-toolchain-target.bb: Add qtdeclarative-tools and use Ruby tools only when Ruby is present.

---
 recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 mode change 100644 => 100755 recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb +2 -1
old mode 100644
new mode 100755
index c26a707..2b65bc1
@@ -94,7 +94,7 @@ RDEPENDS_${PN} += " \
     qttools-staticdev \
     qttools-tools \
     ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${USE_WAYLAND}', '', d)} \
-    ${USE_RUBY} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'ruby', '${USE_RUBY}', '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${USE_X11}', '', d)} \
     qtwebsockets-dev \
     qtwebsockets-mkspecs \
@@ -106,6 +106,7 @@ RDEPENDS_${PN} += " \
     qtxmlpatterns-dev \
     qtxmlpatterns-mkspecs \
     qttranslations-qtxmlpatterns \
+    qtdeclarative-tools \
 "
 
 RRECOMMENDS_${PN} += " \
Signature · 1 line
1.9.1
#1 lore raw

Hello Ann,

Quoted 1 line · Ann Thornton

We can assume Ruby is always available as it has been included in OE-Core[1].

1. commit 10fd3b41449d1af15ac9432bc1a7fe26c6f1dae1

Author: Alexander Kanavin <[email protected]>
Date:   Thu Jun 4 13:17:31 2015 +0300

ruby: add a recipe from meta-ruby

Ruby is required to build webkit.

Use trim_version() to build the major release, and remove
redundant S assignment
(RB).

Also this commit ought to be split in two:

- assume Ruby is always available
- add qtdeclarative-tools

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750