diff options
author | wangfei <feix.w.wang@intel.com> | 2013-11-25 15:32:47 +0800 |
---|---|---|
committer | wangfei <feix.w.wang@intel.com> | 2013-11-25 17:19:16 +0800 |
commit | aa5fbde1f98ed3fce681b7c2160d1e9750c7a076 (patch) | |
tree | 37173c042aa83995b82db6c97811122fc06663b7 | |
parent | b8ff3339d62b44faed87fbee782a96bbcd2486ee (diff) | |
download | giflib-aa5fbde1f98ed3fce681b7c2160d1e9750c7a076.tar.gz giflib-aa5fbde1f98ed3fce681b7c2160d1e9750c7a076.tar.bz2 giflib-aa5fbde1f98ed3fce681b7c2160d1e9750c7a076.zip |
add wayland profile for giflibsubmit/tizen/20131125.114000accepted/tizen/20131126.000657
in wayland profile, giflib did not requires Xorg, remove this dependency.
Change-Id: I96a49223e1c139b25eccbc14860c13d681e248dc
Signed-off-by: wangfei <feix.w.wang@intel.com>
-rw-r--r-- | packaging/giflib.spec | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/packaging/giflib.spec b/packaging/giflib.spec index 3c1b12f..f1a4078 100644 --- a/packaging/giflib.spec +++ b/packaging/giflib.spec @@ -1,3 +1,5 @@ +%bcond_with wayland + Name: giflib Version: 4.1.6 Release: 9 @@ -9,8 +11,12 @@ Source0: http://downloads.sourceforge.net/giflib/%{name}-%{version}.tar.b Source1001: giflib.manifest BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(sm) +%if %{with wayland} + +%else BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xv) +%endif %description The giflib package contains a shared library of functions for @@ -53,7 +59,11 @@ You'll also need to install the giflib package. cp %{SOURCE1001} . %build -%configure +%configure \ +%if %{with wayland} + --disable-x11 +%endif + make %{?_smp_mflags} all MAJOR=`echo '%{version}' | sed 's/\([0-9]\+\)\..*/\1/'` |