PTREL-546:disable ecore-x in the X-Free enviroment 16/13816/1 accepted/tizen/mobile/20131218.175259 submit/tizen/20131218.093150
authorJuan Zhao <juan.j.zhao@intel.com>
Tue, 17 Dec 2013 02:14:34 +0000 (10:14 +0800)
committerJuan Zhao <juan.j.zhao@intel.com>
Tue, 17 Dec 2013 02:19:11 +0000 (10:19 +0800)
commit5853115b66020fd3d47ba0ad3a8e0a889439ee39
treee6cd9715c61c1289efe0b6e69ed8dec128a18207
parent6225104f422fbf2caaeeff8b7b7e43d335fff138
PTREL-546:disable ecore-x in the X-Free enviroment

The display server based on X or Wayland, is now a choice of different profile in Tizen 3.0.
Basically and consistently, two macros were used "with wayland" and "with x".
Below summarize the combination of the macros:

| wayland |  x  | meaning
|---------------------------
|   0     |  1  | pure X11 platform(no wayland)
|   1     |  0  | pure wayland platform (no X11)
|   1     |  1  | wayland but X compatibility
|   0     |  0  | no X and no wayland

This method unifies the meaning and usage. Deploy this method to ecore package.

The gl implementation in mesa, will bring glX directly, and triggle the X
 dependency, so pkgconfig(gl) will also trigle X dependency, also clean this
 in !{with x} condition.

Change-Id: I093741d2a3730c8807574d88976c5b72396d36d7
packaging/ecore.spec