Tizen:Common: Group GL substitutions 99/72599/2
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 1 Jun 2016 14:50:23 +0000 (16:50 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Thu, 9 Jun 2016 09:11:18 +0000 (11:11 +0200)
According to change history provided by VCS, division was necessary due
to different requirements for X11 and Wayland (related patch:
47a95aa2e091d3969a01136f14175e8877662587 and
42f383f0edc5c8e2a6876f99a5c29811118dede8).

Support for X11 was dropped from Tizen in December 2015.

Change-Id: I489cbea3f25655706180daac2203edd7b41a2d29
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Tizen:Common/_config

index 2e6c7a7..2527aeb 100644 (file)
@@ -73,7 +73,8 @@ Macros:
 :Macros
 
 Substitute: mesa-devel pkgconfig(glesv2)
-#FIXME Substitute: pkgconfig(egl)
+Substitute: pkgconfig(gles20)  pkgconfig(egl) pkgconfig(glesv2)
+Substitute: pkgconfig(gles11)  pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
 
 ############################# wayland repositories #############################
 
@@ -85,9 +86,6 @@ Prefer: mesa libgbm
 Substitute: mesa-libGLESv2 coregl
 Substitute: mesa-libEGL coregl
 
-Substitute: pkgconfig(gles20)  pkgconfig(egl) pkgconfig(glesv2)
-Substitute: pkgconfig(gles11)  pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
-
 %define _with_wayland 1
 %define _with_rdp 1
 
@@ -102,16 +100,11 @@ Macros:
 
 %if "%_repository" == "emulator32-wayland"
 
-Substitute: mesa-devel pkgconfig(glesv2)
-
 Prefer: libgbm
 Prefer: coregl coregl-devel
 Prefer: emulator-yagl emulator-yagl-devel
 Prefer: libwayland-egl libwayland-egl-devel
 
-Substitute: pkgconfig(gles20)  pkgconfig(egl) pkgconfig(glesv2)
-Substitute: pkgconfig(gles11)  pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
-
 %define _with_wayland 1
 %define _with_emulator 1