summaryrefslogtreecommitdiff
path: root/Tizen:Mobile/_config
diff options
context:
space:
mode:
authorJoonsub Lee <joon-sub.lee@samsung.com>2015-03-06 09:53:20 +0900
committerJoonsub Lee <joon-sub.lee@samsung.com>2015-03-08 16:57:01 +0900
commit918a92e61a9778bbd1a151e1c4efe45eaaa0ef29 (patch)
tree17d766502d77a2d23811ed8cfdbeca60f5eb5f08 /Tizen:Mobile/_config
parent6c021b0450cc849748690c949df9eda6913bd215 (diff)
downloadobs-918a92e61a9778bbd1a151e1c4efe45eaaa0ef29.tar.gz
obs-918a92e61a9778bbd1a151e1c4efe45eaaa0ef29.tar.bz2
obs-918a92e61a9778bbd1a151e1c4efe45eaaa0ef29.zip
Tizen:Mobile and Tizen:TV: Enable wayland repositories
Reference Tizen:Common's config, meta, aggregate settings Change-Id: I46dc092afb65cdbd9b19ae0aa7235e0199f855a7
Diffstat (limited to 'Tizen:Mobile/_config')
-rw-r--r--Tizen:Mobile/_config40
1 files changed, 40 insertions, 0 deletions
diff --git a/Tizen:Mobile/_config b/Tizen:Mobile/_config
index f47e26a..cba24ef 100644
--- a/Tizen:Mobile/_config
+++ b/Tizen:Mobile/_config
@@ -86,6 +86,23 @@ Macros:
#FIXME Substitute: pkgconfig(egl)
%endif
+############################# wayland repositories #############################
+
+%if "%_repository" == "atom-wayland" || "%_repository" == "x86_64-wayland" || "%_repository" == "arm-wayland" || "%_repository" == "arm64-wayland"
+
+Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
+Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
+
+%define _with_wayland 1
+%define _with_rdp 1
+
+Macros:
+%_with_wayland 1
+%_with_rdp 1
+:Macros
+
+%endif
+
############################# X11 repositories #################################
%if "%_repository" == "atom-x11" || "%_repository" == "x86_64-x11" || "%_repository" == "arm-x11" || "%_repository" == "arm64-x11"
@@ -100,6 +117,29 @@ Macros:
%endif
+############################# emulator repositories ############################
+
+%if "%_repository" == "emulator32-wayland"
+
+Prefer: mesa-libGLESv2
+Prefer: libwayland-egl
+Prefer: libgbm
+Prefer: mesa-libGL
+Prefer: mesa-libEGL
+Prefer: emulator-yagl
+
+Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
+Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
+
+%define _with_wayland 1
+%define _with_emulator 1
+
+Macros:
+%_with_wayland 1
+%_with_emulator 1
+:Macros
+
+%endif
############################# misc config flags ################################