All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 04/10] qt4.inc: move more options to separate variables
Date: Thu, 27 Sep 2012 00:27:09 +0200	[thread overview]
Message-ID: <920ba43ec9efff798e309fa44473d96d43f22f4b.1348697518.git.Martin.Jansa@gmail.com> (raw)
In-Reply-To: <cover.1348697518.git.Martin.Jansa@gmail.com>
In-Reply-To: <cover.1348697518.git.Martin.Jansa@gmail.com>

* make it easier to override them in bbappend
* convert pulseaudio to more common -pulseaudio/-no-pulseaudio form

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-qt/qt4/qt4.inc | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc
index ba231ba..35748f8 100644
--- a/meta/recipes-qt/qt4/qt4.inc
+++ b/meta/recipes-qt/qt4/qt4.inc
@@ -12,12 +12,25 @@ QT_SQL_DRIVER_FLAGS ?= "-no-sql-ibase -no-sql-mysql -no-sql-psql -no-sql-odbc -p
 
 QT_GLFLAGS ?= ""
 
+  
+QT_QT3SUPPORT ?= "-qt3support"
+QT_XML ?= "-xmlpatterns"
+QT_WEBKIT ?= "-webkit"
+QT_PHONON ?= "-phonon"
+QT_DBUS ?= "-qdbus"
+QT_MULTIMEDIA ?= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', '-pulseaudio', '-no-pulseaudio', d)}"
+ 
 QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \
                     -shared -no-nas-sound -no-nis \
                     -system-libjpeg -system-libpng -system-libtiff -system-zlib \
-                    -no-pch -qdbus -stl -glib -phonon -webkit \
-                    -xmlpatterns -no-rpath -qt3support -silent \
-                    ${@base_contains('DISTRO_FEATURES', 'pulseaudio', '--enable-pulseaudio', '--disable-pulseaudio', d)} \
+                    -no-pch -stl -glib \
+                    -no-rpath -silent \
+                    ${QT_DBUS} \
+                    ${QT_QT3SUPPORT} \
+                    ${QT_WEBKIT} \
+                    ${QT_PHONON} \
+                    ${QT_XML} \
+                    ${QT_MULTIMEDIA} \
                     ${QT_SQL_DRIVER_FLAGS} \
                     ${QT_DISTRO_FLAGS} \
                     ${QT_GLFLAGS}"
-- 
1.7.12




  parent reply	other threads:[~2012-09-26 22:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-26 22:27 [PATCH 00/10] qt4: upgrade to 4.8.3 and cleanup Martin Jansa
2012-09-26 22:27 ` [PATCH 01/10] qt4-tools-nativesdk.inc: rename to nativesdk-qt4-tools.inc Martin Jansa
2012-09-26 22:27 ` [PATCH 02/10] qt4: use releases.qt-project.org instead of get.qt.nokia.com Martin Jansa
2012-09-26 22:27 ` [PATCH 03/10] qt4: rename qt-4.8.1 to qt4-4.8.1 to match other .inc and .bb Martin Jansa
2012-09-26 22:27 ` Martin Jansa [this message]
2012-09-26 22:27 ` [PATCH 05/10] qt-mobility: move qt-mobility patches to separate dir Martin Jansa
2012-09-26 22:27 ` [PATCH 06/10] qt4: move patches from files to qt4-4.8.1 Martin Jansa
2012-09-26 22:27 ` [PATCH 07/10] qt4: drop patches not used in any recipe Martin Jansa
2012-09-26 22:27 ` [PATCH 08/10] qt4: replace all local patches with git patches with headers Martin Jansa
2012-09-26 22:27 ` [PATCH 09/10] qt4: PR bumps Martin Jansa
2012-09-26 22:27 ` [PATCH 10/10] qt4: upgrade to 4.8.3 Martin Jansa
     [not found]   ` <cover.1349134104.git.Martin.Jansa@gmail.com>
2012-10-01 23:28     ` [PATCHv2 10/10] qt4: add 4.8.3 version with negative D_P Martin Jansa
2012-09-27 15:10 ` [PATCH 00/10] qt4: upgrade to 4.8.3 and cleanup Paul Eggleton
2012-09-27 15:45   ` Martin Jansa
2012-09-28  6:37     ` Anders Darander
2012-09-28 16:43 ` Martin Jansa
2012-09-30 20:18   ` Martin Jansa
2012-10-01 14:31     ` Martin Jansa
2012-10-01 23:26       ` Martin Jansa
2012-10-02  8:29         ` Martin Jansa
2012-10-03  1:40 ` Saul Wold

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=920ba43ec9efff798e309fa44473d96d43f22f4b.1348697518.git.Martin.Jansa@gmail.com \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.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.