summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2014-06-25 14:32:26 +0200
committerTomasz Olszak <olszak.tomasz@gmail.com>2015-02-28 21:40:50 +0100
commit8330409571d98aac3e9e2a7b22875c63fd06aa87 (patch)
tree9bc673212e5a3589076039c4a31f6174f4dbb77d
parent73c9f2795b150880e5821e561bdb5c65d7ac46e2 (diff)
downloadqtbase-8330409571d98aac3e9e2a7b22875c63fd06aa87.tar.gz
qtbase-8330409571d98aac3e9e2a7b22875c63fd06aa87.tar.bz2
qtbase-8330409571d98aac3e9e2a7b22875c63fd06aa87.zip
packaging: Set _tizen_emulator for emulator builds.
In wearable profile "%{_repository}" != "emulator" for emulator. That's why new _tizen_emulator macro is introduced. Change-Id: I8c770ceb5dec0c60b21aba2e232ba9e3a826fa3f Bug-Tizen: TIVI-2416 Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-rw-r--r--packaging/qt5.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/packaging/qt5.spec b/packaging/qt5.spec
index c2f326042e..c8271d0a1a 100644
--- a/packaging/qt5.spec
+++ b/packaging/qt5.spec
@@ -35,9 +35,12 @@
%define xkb_config_root -xkb-config-root /etc/X11/xkb
%define _force_eglx 1
%ifnarch armv7l armv7el
-%define _repository emulator
+%define _tizen_emulator 1
%endif
%else
+%if "%{_repository}" == "emulator"
+%define _tizen_emulator 1
+%endif
%define _with_xkbcommon 1
%define xkb_config_root %{nil}
%endif
@@ -593,7 +596,7 @@ MAKEFLAGS=%{?_smp_mflags} \
-platform devices/linux-g++-tizen \
%if "%{profile}" != ""
-device-option TIZEN_PROFILE=%{profile} \
-%if "%_repository" == "emulator"
+%if 0%{?_tizen_emulator:1}
-device-option TIZEN_EMULATOR=1 \
%endif
%endif