summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2014-01-17 23:01:02 +0100
committerTomasz Olszak <olszak.tomasz@gmail.com>2014-03-13 21:59:09 +0100
commit286b999fe9f497398b98088a36bf2bbbdfccd9d8 (patch)
tree6f4e258eaee82c222e0f282b5d36c0305d2d6fb1
parent4a1c43ba540b472e9867af2d2c305c0a7d2d2639 (diff)
downloadqtwayland-286b999fe9f497398b98088a36bf2bbbdfccd9d8.tar.gz
qtwayland-286b999fe9f497398b98088a36bf2bbbdfccd9d8.tar.bz2
qtwayland-286b999fe9f497398b98088a36bf2bbbdfccd9d8.zip
Fixed build when %{with x} and %{with wayland} is set.
Tizen-Bug: TIVI-2416 Change-Id: Ic807646eaf04bfc08e47067c4be63cdebf58da66 Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-rw-r--r--packaging/qt5-qtwayland.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/qt5-qtwayland.spec b/packaging/qt5-qtwayland.spec
index c4ace9d9..0033da2b 100644
--- a/packaging/qt5-qtwayland.spec
+++ b/packaging/qt5-qtwayland.spec
@@ -23,6 +23,7 @@
# This file is based on qtwayland.spec from Mer project
# http://merproject.org
%bcond_with wayland
+%bcond_with x
Name: qt5-qtwayland
Summary: Qt Wayland compositor
@@ -37,6 +38,9 @@ BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5PlatformSupport)
+%if %{with x}
+BuildRequires: pkgconfig(Qt5DBus)
+%endif
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-egl)