Tizen:Common: Extract common configuration 75/68475/3
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 4 May 2016 13:51:02 +0000 (15:51 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Thu, 9 Jun 2016 09:11:18 +0000 (11:11 +0200)
Conditional configuration for emulator and other repositories contained
the same options. All common configuration was extracted in order to
maintain it in one place.

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

index 2527aeb..a57b7fe 100644 (file)
@@ -76,21 +76,26 @@ Substitute: mesa-devel pkgconfig(glesv2)
 Substitute: pkgconfig(gles20)  pkgconfig(egl) pkgconfig(glesv2)
 Substitute: pkgconfig(gles11)  pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
 
+############################# common config ####################################
+
+Prefer: coregl coregl-devel
+Prefer: libwayland-egl libwayland-egl-devel
+
+%define _with_wayland 1
+Macros:
+%_with_wayland 1
+:Macros
+
 ############################# wayland repositories #############################
 
 %if "%_repository" == "arm-wayland" || "%_repository" == "arm64-wayland" || "%_repository" == "ia32-wayland" || "%_repository" == "x86_64-wayland"
 
-Prefer: coregl coregl-devel
-Prefer: libwayland-egl libwayland-egl-devel
 Prefer: mesa libgbm
 Substitute: mesa-libGLESv2 coregl
 Substitute: mesa-libEGL coregl
 
-%define _with_wayland 1
 %define _with_rdp 1
-
 Macros:
-%_with_wayland 1
 %_with_rdp 1
 :Macros
 
@@ -101,15 +106,10 @@ Macros:
 %if "%_repository" == "emulator32-wayland"
 
 Prefer: libgbm
-Prefer: coregl coregl-devel
 Prefer: emulator-yagl emulator-yagl-devel
-Prefer: libwayland-egl libwayland-egl-devel
 
-%define _with_wayland 1
 %define _with_emulator 1
-
 Macros:
-%_with_wayland 1
 %_with_emulator 1
 :Macros