spec: refine to enable wayland segment and refine 46/12646/1 accepted/tizen/20131206.003706 accepted/tizen/mobile/20131219.213349 accepted/tizen/mobile/20131227.211408 submit/tizen/20131121.061616 submit/tizen/20131121.062032 submit/tizen/20131219.080002 submit/tizen/20131227.032641
authorJuan Zhao <juan.j.zhao@intel.com>
Wed, 20 Nov 2013 15:44:21 +0000 (23:44 +0800)
committerJuan Zhao <juan.j.zhao@intel.com>
Wed, 20 Nov 2013 15:44:21 +0000 (23:44 +0800)
add bconf to enable wayland build
xim should also be disabled in wayland build because it requires ecore_x directly.

Change-Id: I2530064f34bb71babdef4e2ee59538c07bef65c5

packaging/ecore.spec

index 333b7ca..47a95b4 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with wayland
+
 Name:       ecore
 Summary:    Enlightened Core X interface library
 Version:    1.7.1+svn.77580+build25r03
@@ -173,8 +175,7 @@ export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed"
        --enable-ecore-wayland \
        --enable-ecore-evas \
        --enable-glib-integration-always \
-       --disable-ecore-x
-
+       --disable-ecore-x  \
 %else
 %configure --disable-static \
        --enable-ecore-fb \
@@ -191,10 +192,10 @@ export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed"
        --enable-curl \
        --enable-glib-integration-always \
        --enable-ecore-x-gesture \
+%endif
        --disable-xim \
        --disable-ecore-imf-xim \
        --disable-ecore-imf-scim
-%endif
 make %{?jobs:-j%jobs}
 
 %install