1 ################################################################################
2 # OBS Project config for Tizen:TV
5 # Hyunggi Lee (hyunggi.lee@samsung.com)
7 # vim: set syntax=spec:
8 ################################################################################
10 ############################# conflicts resolution #############################
12 FileProvides: /usr/sbin/groupadd shadow-utils
15 Prefer: bluetooth-tools-no-firmware
17 ############################# profile definition ###############################
22 # For classifying debug/release mode
24 %tizen_build_devel_mode 1
27 # %release_name and %tizen_full_version are used in platform/upstream/tizen-release
31 %release_name Tizen3/TV
33 %tizen_version_major 3
34 %tizen_version_minor 0
35 %tizen_version_patch 0
37 %tizen_version %{tizen_version_major}.%{tizen_version_minor}
38 %tizen_full_version %{tizen_version}.%{tizen_version_patch}
47 %_default_patch_fuzz 2
50 ############################# display system ###################################
52 ########## display system selection ##########
54 # selection of the display system
55 # this selection is done for each repository
58 # |----------------------------------------------------
59 # | wayland | x | meaning
60 # |----------------------------------------------------
61 # | | 1 | pure X11 platform(no wayland)
62 # | 1 | | pure wayland platform (no X11)
63 # | 1 | 1 | wayland but X compatibility
64 # | | | no X and no wayland
65 # |----------------------------------------------------
67 # Owner: Stephane <stephane.desneux@open.eurogiciel.org>
69 ########## RDP flag ##########
71 # enable/disable RDP (remote desktop protocol) for wayland
72 # flag: _with_rdp, used in repositories
73 # Affects: weston, freerdp
74 # Owner: Manuel <manuel.bachmann@open.eurogiciel.org>
76 ########## mesa activation ##########
83 %ifarch %arm armv7l aarch64
84 Substitute: mesa-devel pkgconfig(glesv2)
85 #FIXME Substitute: pkgconfig(egl)
88 ########## coregl ##########
90 Prefer: coregl coregl-devel
91 Prefer: libwayland-egl libwayland-egl-devel
92 Substitute: mesa-libGLESv2 coregl
93 Substitute: mesa-libEGL coregl
96 ###################### Activate KDBUS ######################
97 # This configuration flag enables the support of KDBUS and Cynara-based Dbus Policy
99 %if "%_repository" == "arm-wayland"
101 %define _with_kdbus 1
102 %define _with_dbuspolicy 1
111 ############################# wayland repositories #############################
113 %if "%_repository" == "ia32-wayland" || "%_repository" == "x86_64-wayland" || "%_repository" == "arm-wayland"
115 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
116 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
118 %define _with_wayland 1
128 ############################# emulator repositories ############################
130 %if "%_repository" == "emulator32-wayland" || "%_repository" == "emulator64-wayland"
132 Substitute: mesa-devel pkgconfig(glesv2)
134 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
135 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
138 Prefer: coregl coregl-devel
139 Prefer: emulator-yagl emulator-yagl-devel
141 %define _with_wayland 1
142 %define _with_emulator 1
151 ############################# misc config flags ################################
153 # Activate introspection
154 # This is needed on GuPNP to build Rygel correctly in IVI
155 # Impacts potentially packages that use gobject-introspection
156 # Owner: Mikko <mikko.ylinen@intel.com>
158 %_with_introspection 1
161 ############################# build config #####################################
162 # derived from Tizen:Base
163 ################################################################################
165 ########## compilation flags ##########
166 # derived from Tizen:Base
167 #######################################