qtbase.inc: Fix qtbase-tools runtime depencency on perl
authorChristian Gagneraud <chgans@gna.org>
Wed, 24 Jul 2013 21:31:47 +0000 (21:31 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:44:52 +0000 (08:44 -0800)
* While building a custom rootfs using poky, meta-oe, meta-ti
  and meta-qt5 (all on Dylan branch), I got the following error:
  [...]
  Computing transaction...error: Can't install
    qtbase-tools-5.0.2-r2.0@armv7a_vfp_neon: no package provides /usr/bin/perl
  [...]
* syncqt is perl script with /usr/bin/perl shebang, that's why rpm
  was complaining (other package managers in OE doesn't check that)

(From meta-qt5 rev: 07301a163688682b5b3e5dddada6da63593917b0)

Signed-off-by: Christian Gagneraud <chgans@gna.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-qt5/recipes-qt/qt5/qtbase.inc

index c6cb2cc..5c1b51b 100644 (file)
@@ -25,6 +25,9 @@ SRC_URI += " \
 
 DEPENDS += "qtbase-native"
 
+# for syncqt
+RDEPENDS_${PN}-tools += "perl"
+
 # separate some parts of PACKAGECONFIG which are often changed
 # be aware that you need to add icu to build qtwebkit, default
 # PACKAGECONFIG is kept rather minimal for people who don't need