task-sdk-opie: correctly select qte or qte-mt
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Mon, 10 Nov 2008 23:11:14 +0000 (23:11 +0000)
committerPaul Eggleton <bluelightning@bluelightning.org>
Mon, 10 Nov 2008 23:11:14 +0000 (23:11 +0000)
preferred-versions-opie*.inc contain a mechanism for selecting between
qte or qte-mt packages. Follow that way to correctly select
task-sdk-opie dependency.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
packages/tasks/task-sdk-opie.bb

index a38e583..f6446c4 100644 (file)
@@ -3,6 +3,8 @@ PR = "r7"
 LICENSE = "MIT"
 ALLOW_EMPTY = "1"
 
+PALMTOP_USE_MULTITHREADED_QT ?= "yes"
+
 PACKAGES = "task-sdk-opie"
 
 RDEPENDS_task-sdk-opie = "\
@@ -13,6 +15,6 @@ RDEPENDS_task-sdk-opie = "\
     libopiepim2 \
     libopieui2 \
     libqpe-opie \
-    qte \
+    ${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte", d)} \
     libqtaux2 \
     libmailwrapper"