Tizen:3.0:TV: enable emulator64-wayland repository
[scm/meta/obs.git] / Tizen:3.0:TV / _config
1 ################################################################################
2 # OBS Project config for Tizen:TV
3 #
4 # RE contacts:
5 # Joonsub Lee (joon-sub.lee@samsung.com)
6 # Hyunggi Lee (hyunggi.lee@samsung.com)
7 #
8 # vim: set syntax=spec:
9 ################################################################################
10
11 ############################# conflicts resolution #############################
12
13 FileProvides: /usr/sbin/groupadd shadow-utils
14 Prefer: libtapi-devel
15 Prefer: libpci-devel
16 Prefer: bluetooth-tools-no-firmware
17
18 ############################# profile definition ###############################
19
20 %define profile tv
21 %define _with_tizen 1
22
23 # For classifying debug/release mode
24 Macros:
25 %tizen_build_devel_mode 1
26 :Macros
27
28 # %release_name and %tizen_full_version are used in platform/upstream/tizen-release
29
30 Macros:
31 %profile tv
32 %release_name Tizen3/TV
33
34 %tizen_version_major 3
35 %tizen_version_minor 0
36 %tizen_version_patch 0
37
38 %tizen_version %{tizen_version_major}.%{tizen_version_minor}
39 %tizen_full_version %{tizen_version}.%{tizen_version_patch}
40 %tizen %tizen_version
41 %vendor tizen
42 %_vendor tizen
43 %_with_tizen 1
44
45 %check exit 0
46 %run_check_section 0
47 %opensuse_bs 1
48 %_default_patch_fuzz   2
49 :Macros
50
51 ############################# display system ###################################
52
53 ########## display system selection ##########
54
55 # selection of the display system
56 # this selection is done for each repository
57 #
58 # flags combinations:
59 # |----------------------------------------------------
60 # | wayland |  x  | meaning
61 # |----------------------------------------------------
62 # |         |  1  | pure X11 platform(no wayland)
63 # |   1     |     | pure wayland platform (no X11)
64 # |   1     |  1  | wayland but X compatibility
65 # |         |     | no X and no wayland
66 # |----------------------------------------------------
67 #
68 # Owner: Stephane <stephane.desneux@open.eurogiciel.org>
69
70 ########## RDP flag ##########
71
72 # enable/disable RDP (remote desktop protocol) for wayland
73 # flag: _with_rdp, used in repositories
74 # Affects: weston, freerdp
75 # Owner: Manuel <manuel.bachmann@open.eurogiciel.org>
76
77 ########## mesa activation ##########
78
79 %define _with_mesa 1
80 Macros:
81 %_with_mesa 1
82 :Macros
83
84 %ifarch %arm armv7l aarch64
85    Substitute: mesa-devel pkgconfig(glesv2)
86    #FIXME Substitute: pkgconfig(egl)
87 %endif
88
89 ########## coregl ##########
90 %ifarch %arm aarch64
91 Prefer: coregl coregl-devel
92 Prefer: libwayland-egl libwayland-egl-devel
93 Substitute: mesa-libGLESv2 coregl
94 Substitute: mesa-libEGL coregl
95 %endif
96
97 ###################### Activate KDBUS ######################
98 # This configuration flag enables the support of KDBUS and Cynara-based Dbus Policy
99
100 %if "%_repository" == "arm-wayland"
101
102 %define _with_kdbus 1
103 %define _with_dbuspolicy 1
104
105 Macros:
106 %_with_kdbus 1
107 %_with_dbuspolicy 1
108 :Macros
109
110 %endif
111
112 ############################# wayland repositories #############################
113
114 %if "%_repository" == "ia32-wayland" || "%_repository" == "x86_64-wayland" || "%_repository" == "arm-wayland"
115
116 Substitute: pkgconfig(gles20)  pkgconfig(egl) pkgconfig(glesv2)
117 Substitute: pkgconfig(gles11)  pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
118
119 %define _with_wayland 1
120 %define _with_rdp 1
121
122 Macros:
123 %_with_wayland 1
124 %_with_rdp 1
125 :Macros
126
127 %endif
128
129 ############################# emulator repositories ############################
130
131 %if "%_repository" == "emulator32-wayland" || "%_repository" == "emulator64-wayland"
132
133 Substitute: mesa-devel pkgconfig(glesv2)
134
135 Substitute: pkgconfig(gles20)  pkgconfig(egl) pkgconfig(glesv2)
136 Substitute: pkgconfig(gles11)  pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
137
138 Prefer: libgbm
139 Prefer: coregl coregl-devel
140 Prefer: emulator-yagl emulator-yagl-devel
141
142 %define _with_wayland 1
143 %define _with_emulator 1
144
145 Macros:
146 %_with_wayland 1
147 %_with_emulator 1
148 :Macros
149
150 %endif
151
152 ############################# misc config flags ################################
153
154 # Activate introspection
155 # This is needed on GuPNP to build Rygel correctly in IVI
156 # Impacts potentially packages that use gobject-introspection
157 # Owner: Mikko <mikko.ylinen@intel.com>
158 Macros:
159 %_with_introspection 1
160 :Macros
161
162 ############################# build config #####################################
163 # derived from Tizen:Base
164 ################################################################################
165
166 ########## compilation flags ##########
167 # derived from Tizen:Base
168 #######################################