%_default_patch_fuzz 2
:Macros
-############################# display system ###################################
-
-########## display system selection ##########
-
-# selection of the display system
-# this selection is done for each repository
-#
-# flags combinations:
-# |----------------------------------------------------
-# | wayland | x | meaning
-# |----------------------------------------------------
-# | | 1 | pure X11 platform(no wayland)
-# | 1 | | pure wayland platform (no X11)
-# | 1 | 1 | wayland but X compatibility
-# | | | no X and no wayland
-# |----------------------------------------------------
-#
-# Owner: Stephane <stephane.desneux@open.eurogiciel.org>
-
########## RDP flag ##########
# enable/disable RDP (remote desktop protocol) for wayland
%endif
-############################# X11 repositories #################################
-
-%if "%_repository" == "ia32-x11" || "%_repository" == "x86_64-x11" || "%_repository" == "arm-x11" || "%_repository" == "arm64-x11" || "%_repository" == "x11"
-
-Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) pkgconfig(gl)
-Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1_cm) pkgconfig(gl)
-
-%define _with_x 1
-
-Macros:
-%_with_x 1
-:Macros
-
-%endif
-
-############################# X+Wayland repositories ###########################
-
-%if "%_repository" == "ia32-xwayland" || "%_repository" == "x86_64-xwayland" || "%_repository" == "arm-xwayland" || "%_repository" == "arm64-xwayland" || "%_repository" == "xwayland"
-
-Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) pkgconfig(gl)
-Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1_cm) pkgconfig(gl)
-
-%define _with_wayland 1
-%define _with_x 1
-
-Macros:
-%_with_wayland 1
-%_with_x 1
-:Macros
-
-%endif
-
############################# emulator repositories ############################
%if "%_repository" == "emulator32-wayland"