1 ################################################################################
2 # OBS Project config for Tizen:TV
5 # Joonsub Lee (joon-sub.lee@samsung.com)
6 # Hyunggi Lee (hyunggi.lee@samsung.com)
8 # vim: set syntax=spec:
9 ################################################################################
11 ############################# conflicts resolution #############################
13 FileProvides: /usr/sbin/groupadd shadow-utils
16 Prefer: bluetooth-tools-no-firmware
18 ############################# profile definition ###############################
23 # For classifying debug/release mode
25 %tizen_build_devel_mode 1
28 # %release_name and %tizen_full_version are used in platform/upstream/tizen-release
32 %release_name Tizen3/TV
34 %tizen_version_major 3
35 %tizen_version_minor 0
36 %tizen_version_patch 0
38 %tizen_version %{tizen_version_major}.%{tizen_version_minor}
39 %tizen_full_version %{tizen_version}.%{tizen_version_patch}
48 %_default_patch_fuzz 2
51 ############################# display system ###################################
53 ########## display system selection ##########
55 # selection of the display system
56 # this selection is done for each repository
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 # |----------------------------------------------------
68 # Owner: Stephane <stephane.desneux@open.eurogiciel.org>
70 ########## RDP flag ##########
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>
77 ########## mesa activation ##########
84 %ifarch %arm armv7l aarch64
85 Substitute: mesa-devel pkgconfig(glesv2)
86 #FIXME Substitute: pkgconfig(egl)
89 ########## coregl ##########
91 Prefer: coregl coregl-devel
92 Prefer: libwayland-egl libwayland-egl-devel
93 Substitute: mesa-libGLESv2 coregl
94 Substitute: mesa-libEGL coregl
97 ###################### Activate KDBUS ######################
98 # This configuration flag enables the support of KDBUS and Cynara-based Dbus Policy
100 %if "%_repository" == "arm-wayland"
102 %define _with_kdbus 1
103 %define _with_dbuspolicy 1
112 ############################# wayland repositories #############################
114 %if "%_repository" == "ia32-wayland" || "%_repository" == "x86_64-wayland" || "%_repository" == "arm-wayland"
116 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
117 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
119 %define _with_wayland 1
129 ############################# emulator repositories ############################
131 %if "%_repository" == "emulator32-wayland" || "%_repository" == "emulator64-wayland"
133 Substitute: mesa-devel pkgconfig(glesv2)
135 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
136 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
139 Prefer: coregl coregl-devel
140 Prefer: emulator-yagl emulator-yagl-devel
142 %define _with_wayland 1
143 %define _with_emulator 1
152 ############################# misc config flags ################################
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>
159 %_with_introspection 1
162 ############################# build config #####################################
163 # derived from Tizen:Base
164 ################################################################################
166 ########## compilation flags ##########
167 # derived from Tizen:Base
168 #######################################