diff options
author | Tomasz Olszak <olszak.tomasz@gmail.com> | 2015-11-10 15:42:00 +0100 |
---|---|---|
committer | Tomasz Olszak <olszak.tomasz@gmail.com> | 2015-11-10 15:42:00 +0100 |
commit | 725c16707e4ba73db8d3a1e51dedc42c6e1158c2 (patch) | |
tree | aeadfd662db528c1518dbbab3774f6c2c59f5bde | |
parent | 9080b471490db0aa79200447f4767484f9ca3701 (diff) | |
download | qtbase-725c16707e4ba73db8d3a1e51dedc42c6e1158c2.tar.gz qtbase-725c16707e4ba73db8d3a1e51dedc42c6e1158c2.tar.bz2 qtbase-725c16707e4ba73db8d3a1e51dedc42c6e1158c2.zip |
packaging: Use qt's xkbcommon (0.4.*) version.
Bug-Tizen:TIVI-2416
Change-Id: I557faf695fc6c91ed86bbe641456a6785b06bcb1
Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-rw-r--r-- | packaging/qt5.spec | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/packaging/qt5.spec b/packaging/qt5.spec index 728d392972..7b0cf00adf 100644 --- a/packaging/qt5.spec +++ b/packaging/qt5.spec @@ -32,9 +32,10 @@ %if "%{tizen}" == "2.1" %define profile mobile %define _with_x 1 +%define xkb_config_root -xkb-config-root /etc/X11/xkb %else %define _with_xkbcommon 1 -%define _with_ibus 1 +%define xkb_config_root %{nil} %endif %if "%{profile}" == "mobile" @@ -44,7 +45,6 @@ %endif %bcond_with egl -%bcond_with ibus %bcond_with tizenscim %bcond_with xkbcommon %bcond_with wayland @@ -90,6 +90,7 @@ BuildRequires: python BuildRequires: pkgconfig(fontconfig) %if %{with xkbcommon} BuildRequires: pkgconfig(xkbcommon) +BuildRequires: pkgconfig(xkeyboard-config) %endif %if %{with egl} BuildRequires: pkgconfig(egl) @@ -293,7 +294,6 @@ Requires: %{name}-qtcore = %{version}-%{release} %description plugin-sqldriver-sqlite This package contains the sqlite sql driver plugin -%if %{with ibus} %package plugin-platforminputcontext-ibus Summary: The ibus platform import context plugin Group: Base/Libraries @@ -301,8 +301,8 @@ Requires: %{name}-qtcore = %{version}-%{release} %description plugin-platforminputcontext-ibus This package contains the ibus platform input context plugin -%endif -%if %{with xkbcommon} && %{with x} + +%if %{with x} %package plugin-platforminputcontext-compose Summary: Compose input context platform plugin Group: Base/Libraries @@ -632,6 +632,8 @@ MAKEFLAGS=%{?_smp_mflags} \ -nomake tests \ -nomake examples \ -no-xinput2 \ + -qt-xkbcommon \ + %{xkb_config_root} \ %if %{with x} -xcb \ -qt-xcb @@ -1092,13 +1094,12 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos %manifest %{name}.manifest %{_libdir}/qt5/plugins/sqldrivers/libqsqlite.so -%if %{with ibus} %files plugin-platforminputcontext-ibus %defattr(-,root,root,-) %manifest %{name}.manifest %{_libdir}/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so -%endif -%if %{with xkbcommon} && %{with x} + +%if %{with x} %files plugin-platforminputcontext-compose %defattr(-,root,root,-) %manifest %{name}.manifest |