From 7abae9a5c5e7b3683fa3bbbec69d997ddf368cb0 Mon Sep 17 00:00:00 2001 From: Ravi Nanjundappa Date: Thu, 13 Feb 2014 11:43:57 +0530 Subject: [PATCH] add x11 dependency in the spec file conditionally enable x11 dependency in the spec file to solve the build issues using X11 Bug-Tizen: PTREL-685 Change-Id: I56235f233484da1ff4cd0cfc1bf880ab9080b530 Signed-off-by: Ravi Nanjundappa --- packaging/ug-setting-homescreen-efl.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packaging/ug-setting-homescreen-efl.spec b/packaging/ug-setting-homescreen-efl.spec index 7ca4380..0def9c4 100755 --- a/packaging/ug-setting-homescreen-efl.spec +++ b/packaging/ug-setting-homescreen-efl.spec @@ -1,3 +1,4 @@ +%bcond_with x Name: ug-setting-homescreen-efl Summary: UI Gadget : setting-homescreen-efl @@ -22,6 +23,10 @@ BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(ail) BuildRequires: pkgconfig(pkgmgr-info) +%if %{with x} +BuildRequires: pkgconfig(x11) +%endif + %description Description: UI Gadget, setting-homescreen-efl -- 2.7.4