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-05-23 11:23:14 +0200
commit4590b6081104620d3e8c5133ca14b1d5f1108131 (patch)
tree966b863cedf167863f9f7aa1735de7d3e2265acc
parent72eda4668ffd4d894645ee35851153450bd8cb35 (diff)
downloadqtwayland-4590b6081104620d3e8c5133ca14b1d5f1108131.tar.gz
qtwayland-4590b6081104620d3e8c5133ca14b1d5f1108131.tar.bz2
qtwayland-4590b6081104620d3e8c5133ca14b1d5f1108131.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)