1 ################################################################################
5 # vim: set syntax=spec:
6 ################################################################################
8 ############################# conflicts resolution #############################
10 FileProvides: /usr/sbin/groupadd shadow-utils
13 Prefer: bluetooth-tools-no-firmware
15 ############################# profile definition ###############################
20 # For classifying debug/release mode
22 %tizen_build_devel_mode 1
25 # %release_name and %tizen_full_version are used in platform/upstream/tizen-release
29 %release_name Tizen3/IVI
31 %tizen_version_major 3
32 %tizen_version_minor 0
33 %tizen_version_patch 0
35 %tizen_version %{tizen_version_major}.%{tizen_version_minor}
36 %tizen_full_version %{tizen_version}.%{tizen_version_patch}
45 %_default_patch_fuzz 2
48 ############################# display system ###################################
50 ########## display system selection ##########
52 # selection of the display system
53 # this selection is done for each repository
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 # |----------------------------------------------------
65 # Owner: Stephane <stephane.desneux@open.eurogiciel.org>
67 ########## RDP flag ##########
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>
74 ########## mesa activation ##########
81 Substitute: mesa-devel pkgconfig(glesv2)
82 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
83 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
85 ########## coregl ##########
87 Prefer: coregl coregl-devel
89 ###################### Activate KDBUS ######################
90 # This configuration flag enables the support of KDBUS
92 #%if "%_repository" == "arm64-wayland"
94 #%define _with_kdbus 1
102 ############################# wayland repositories #############################
104 %if "%_repository" == "arm" || "%_repository" == "x86_64"
106 Prefer: libwayland-egl libwayland-egl-devel
108 Substitute: mesa-libGLESv2 coregl
109 Substitute: mesa-libEGL coregl
111 %define _with_wayland 1
121 ############################# emulator repositories ############################
123 %if "%_repository" == "emulator"
126 Prefer: emulator-yagl emulator-yagl-devel
127 Prefer: libwayland-egl libwayland-egl-devel
129 %define _with_wayland 1
130 %define _with_emulator 1
139 ############################# misc config flags ################################
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>
146 %_with_introspection 1
149 ############################# build config #####################################
151 %define gcc_version 49
156 ########## targets ##########
159 Target: i686-tizen-linux
163 Target: armv7hl-tizen-linux
167 Target: armv7l-tizen-linux
171 Target: aarch64-tizen-linux
174 ############################# build config #####################################
175 # derived from Tizen:Base
176 ################################################################################
178 ########## compilation flags ##########
179 # derived from Tizen:Base
180 #######################################