1 ################################################################################
2 # OBS Project config for Tizen:Mobile
6 # vim: set syntax=spec:
7 ################################################################################
9 ############################# conflicts resolution #############################
11 FileProvides: /usr/sbin/groupadd shadow-utils
14 Prefer: bluetooth-tools-no-firmware
16 ############################# profile definition ###############################
18 %define profile mobile
21 # For classifying debug/release mode
23 %tizen_build_devel_mode 1
26 # %release_name and %tizen_full_version are used in platform/upstream/tizen-release
30 %release_name Tizen3/Mobile
32 %tizen_version_major 3
33 %tizen_version_minor 0
34 %tizen_version_patch 0
36 %tizen_version %{tizen_version_major}.%{tizen_version_minor}
37 %tizen_full_version %{tizen_version}.%{tizen_version_patch}
46 %_default_patch_fuzz 2
49 ############################# display system ###################################
51 ########## display system selection ##########
53 # selection of the display system
54 # this selection is done for each repository
57 # |----------------------------------------------------
58 # | wayland | x | meaning
59 # |----------------------------------------------------
60 # | | 1 | pure X11 platform(no wayland)
61 # | 1 | | pure wayland platform (no X11)
62 # | 1 | 1 | wayland but X compatibility
63 # | | | no X and no wayland
64 # |----------------------------------------------------
66 # Owner: Stephane <stephane.desneux@open.eurogiciel.org>
68 ########## RDP flag ##########
70 # enable/disable RDP (remote desktop protocol) for wayland
71 # flag: _with_rdp, used in repositories
72 # Affects: weston, freerdp
73 # Owner: Manuel <manuel.bachmann@open.eurogiciel.org>
75 ########## mesa activation ##########
82 %ifarch %arm armv7l aarch64
83 Substitute: mesa-devel pkgconfig(glesv2)
84 #FIXME Substitute: pkgconfig(egl)
87 ########## coregl ##########
89 Prefer: coregl coregl-devel
90 Prefer: libwayland-egl libwayland-egl-devel
91 Substitute: mesa-libGLESv2 coregl
92 Substitute: mesa-libEGL coregl
95 ###################### Activate KDBUS ######################
96 # This configuration flag enables the support of KDBUS and Cynara-based Dbus Policy
98 #%if "%_repository" == "arm64-wayland"
100 #%define _with_kdbus 1
101 #%define _with_dbuspolicy 1
110 ############################# wayland repositories #############################
112 %if "%_repository" == "atom-wayland" || "%_repository" == "x86_64-wayland" || "%_repository" == "arm-wayland" || "%_repository" == "arm64-wayland" || "%_repository" == "target-TM1"
114 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
115 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
117 %define _with_wayland 1
127 ############################# emulator repositories ############################
129 %if "%_repository" == "emulator32-wayland" || "%_repository" == "emulator64-wayland"
131 Substitute: mesa-devel pkgconfig(glesv2)
133 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
134 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
137 Prefer: coregl coregl-devel
138 Prefer: emulator-yagl emulator-yagl-devel
140 %define _with_wayland 1
141 %define _with_emulator 1
150 %if "%_repository" == "target-TM1"
153 %tizen_target_name TM1
158 ############################# misc config flags ################################
160 # Activate introspection
161 # This is needed on GuPNP to build Rygel correctly in IVI
162 # Impacts potentially packages that use gobject-introspection
163 # Owner: Mikko <mikko.ylinen@intel.com>
165 %_with_introspection 1
168 ############################# build config #####################################
169 # derived from Tizen:Base
170 ################################################################################
172 ########## compilation flags ##########
173 # derived from Tizen:Base
174 #######################################