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-02-20 17:12:55 +0100
commita1794132dca51abd4a497e2580d2a17f90f66e17 (patch)
treeed92af7d1f7e16116c9e3f9bd8f99a8f49c9614a
parent9644fd7fc90e34a4e139ef4a673dfc5fd60e322a (diff)
downloadqtwayland-a1794132dca51abd4a497e2580d2a17f90f66e17.tar.gz
qtwayland-a1794132dca51abd4a497e2580d2a17f90f66e17.tar.bz2
qtwayland-a1794132dca51abd4a497e2580d2a17f90f66e17.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)