packaging: support x as option sandbox/pcoval/tizen
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 12 Feb 2014 13:29:49 +0000 (14:29 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 12 Feb 2014 13:29:49 +0000 (14:29 +0100)
Change-Id: I51068b6b63629f890ed20342a1f68ba9c2848fe6
Bug-Tizen: PTREL-416
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/webkit2-efl.spec

index 2a54ba0..f2786ae 100644 (file)
@@ -3,10 +3,12 @@
 %bcond_with desktop
 %bcond_with audio_session_manager
 %bcond_with audio_session_manager_with_murphy
+%bcond_with x
+
 Name: webkit2-efl
 Summary: Webkit2 EFL
 Version: 123997_0.12.1
-Release: 1
+Release: 0
 Group: Applications/Internet
 License: LGPLv2.1 or BSD
 Source0: %{name}-%{version}.tar.gz
@@ -59,9 +61,11 @@ BuildRequires: pkgconfig(mm-session)
 BuildRequires: pkgconfig(mm-sound)
 %endif
 BuildRequires: pkgconfig(sqlite3)
-BuildRequires: pkgconfig(utilX)
 BuildRequires: pkgconfig(vconf)
+%if %{with x}
+BuildRequires: pkgconfig(utilX)
 BuildRequires: pkgconfig(xt)
+%endif
 BuildRequires: pkgconfig(capi-appfw-application)
 BuildRequires: pkgconfig(leveldb)
 BuildRequires: pkgconfig(capi-location-manager)