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>2015-11-10 11:38:36 +0100
commite26775163805154cd2731b242dca99466c8d8b2f (patch)
tree90adfd9bf8f78997227f4ec52bb8e8d28ff8bbf1
parentfbd0e1a31c02f554ad8f66e0444042d5de6f0f10 (diff)
downloadqtwayland-e26775163805154cd2731b242dca99466c8d8b2f.tar.gz
qtwayland-e26775163805154cd2731b242dca99466c8d8b2f.tar.bz2
qtwayland-e26775163805154cd2731b242dca99466c8d8b2f.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)