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