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