################################################################################ # RE contacts: # # # vim: set syntax=spec: ################################################################################ ############################# conflicts resolution ############################# FileProvides: /usr/sbin/groupadd shadow-utils Prefer: libtapi-devel Prefer: libpci-devel Prefer: bluetooth-tools-no-firmware ############################# profile definition ############################### %define profile ivi %define _with_tizen 1 # For classifying debug/release mode Macros: %tizen_build_devel_mode 1 :Macros # %release_name and %tizen_full_version are used in platform/upstream/tizen-release Macros: %profile ivi %release_name Tizen3/IVI %tizen_version_major 3 %tizen_version_minor 0 %tizen_version_patch 0 %tizen_version %{tizen_version_major}.%{tizen_version_minor} %tizen_full_version %{tizen_version}.%{tizen_version_patch} %tizen %tizen_version %vendor tizen %_vendor tizen %_with_tizen 1 %check exit 0 %run_check_section 0 %opensuse_bs 1 %_default_patch_fuzz 2 :Macros ############################# display system ################################### ########## display system selection ########## # selection of the display system # this selection is done for each repository # # flags combinations: # |---------------------------------------------------- # | wayland | x | meaning # |---------------------------------------------------- # | | 1 | pure X11 platform(no wayland) # | 1 | | pure wayland platform (no X11) # | 1 | 1 | wayland but X compatibility # | | | no X and no wayland # |---------------------------------------------------- # # Owner: Stephane ########## RDP flag ########## # enable/disable RDP (remote desktop protocol) for wayland # flag: _with_rdp, used in repositories # Affects: weston, freerdp # Owner: Manuel ########## mesa activation ########## %define _with_mesa 1 Macros: %_with_mesa 1 :Macros Substitute: mesa-devel pkgconfig(glesv2) Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl) ########## coregl ########## Prefer: coregl coregl-devel ###################### Activate KDBUS ###################### # This configuration flag enables the support of KDBUS #%if "%_repository" == "arm64-wayland" #%define _with_kdbus 1 #Macros: #%_with_kdbus 1 #:Macros #%endif ############################# wayland repositories ############################# %if "%_repository" == "arm" || "%_repository" == "x86_64" Prefer: libwayland-egl libwayland-egl-devel Prefer: mesa libgbm Substitute: mesa-libGLESv2 coregl Substitute: mesa-libEGL coregl %define _with_wayland 1 %define _with_rdp 1 Macros: %_with_wayland 1 %_with_rdp 1 :Macros %endif ############################# emulator repositories ############################ %if "%_repository" == "emulator" Prefer: libgbm Prefer: emulator-yagl emulator-yagl-devel Prefer: libwayland-egl libwayland-egl-devel %define _with_wayland 1 %define _with_emulator 1 Macros: %_with_wayland 1 %_with_emulator 1 :Macros %endif ############################# misc config flags ################################ # Activate introspection # This is needed on GuPNP to build Rygel correctly in IVI # Impacts potentially packages that use gobject-introspection # Owner: Mikko Macros: %_with_introspection 1 :Macros ############################# build config ##################################### %define gcc_version 49 Macros: %gcc_version 49 :Macros ########## targets ########## %ifarch i586 Target: i686-tizen-linux %endif %ifarch armv7hl Target: armv7hl-tizen-linux %endif %ifarch armv7l Target: armv7l-tizen-linux %endif %ifarch aarch64 Target: aarch64-tizen-linux %endif ############################# build config ##################################### # derived from Tizen:Base ################################################################################ ########## compilation flags ########## # derived from Tizen:Base #######################################