Requires(post): /usr/bin/vconftool
# BuildRequires for StructValidator
+%if %{defined enable_struct_test}
BuildRequires: coregl
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(efl-extension)
BuildRequires: pkgconfig(capi-appfw-service-application)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-appfw-widget-application)
-%if "%{profile}" != "tv"
-BuildRequires: pkgconfig(capi-appfw-watch-application)
-%endif
BuildRequires: pkgconfig(data-control)
BuildRequires: pkgconfig(capi-location-manager)
BuildRequires: pkgconfig(capi-media-vision)
BuildRequires: pkgconfig(capi-network-bluetooth)
BuildRequires: pkgconfig(capi-network-wifi-direct)
BuildRequires: pkgconfig(key-manager)
-%if "%{profile}" == "tv"
-BuildRequires: pkgconfig(trustzone-nwd)
-%else
-BuildRequires: pkgconfig(tef-libteec)
-%endif
BuildRequires: pkgconfig(capi-system-sensor)
BuildRequires: pkgconfig(capi-system-runtime-info)
-BuildRequires: pkgconfig(capi-telephony)
BuildRequires: pkgconfig(capi-ui-inputmethod)
BuildRequires: pkgconfig(stt-engine)
BuildRequires: pkgconfig(tts-engine)
BuildRequires: pkgconfig(chromium-efl)
-
+%if "%{profile}" == "tv"
+BuildRequires: pkgconfig(trustzone-nwd)
+%else
+BuildRequires: pkgconfig(capi-appfw-watch-application)
+BuildRequires: pkgconfig(capi-telephony)
+BuildRequires: pkgconfig(tef-libteec)
+%endif
+%endif
%description
%{summary}
%endif
%{build_cmd} --pack %{TIZEN_NET_NUGET_VERSION}
+%if %{defined enable_struct_test}
dotnet validate-struct %{_tizenfx_bin_path}/bin/public || echo "
#######################################################
##################### W A R N I N G ###################
# It will make building errors later #
#######################################################
"
-
+%endif
# Generate filelist for rpm packaging
GetFileList() {
Requires(post): /usr/bin/vconftool
# BuildRequires for StructValidator
+%if %{defined enable_struct_test}
BuildRequires: coregl
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(efl-extension)
BuildRequires: pkgconfig(capi-appfw-service-application)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-appfw-widget-application)
-%if "%{profile}" != "tv"
-BuildRequires: pkgconfig(capi-appfw-watch-application)
-%endif
BuildRequires: pkgconfig(data-control)
BuildRequires: pkgconfig(capi-location-manager)
BuildRequires: pkgconfig(capi-media-vision)
BuildRequires: pkgconfig(capi-network-bluetooth)
BuildRequires: pkgconfig(capi-network-wifi-direct)
BuildRequires: pkgconfig(key-manager)
-%if "%{profile}" == "tv"
-BuildRequires: pkgconfig(trustzone-nwd)
-%else
-BuildRequires: pkgconfig(tef-libteec)
-%endif
BuildRequires: pkgconfig(capi-system-sensor)
BuildRequires: pkgconfig(capi-system-runtime-info)
-BuildRequires: pkgconfig(capi-telephony)
BuildRequires: pkgconfig(capi-ui-inputmethod)
BuildRequires: pkgconfig(stt-engine)
BuildRequires: pkgconfig(tts-engine)
BuildRequires: pkgconfig(chromium-efl)
-
+%if "%{profile}" == "tv"
+BuildRequires: pkgconfig(trustzone-nwd)
+%else
+BuildRequires: pkgconfig(capi-appfw-watch-application)
+BuildRequires: pkgconfig(capi-telephony)
+BuildRequires: pkgconfig(tef-libteec)
+%endif
+%endif
%description
%{summary}
%endif
%{build_cmd} --pack %{TIZEN_NET_NUGET_VERSION}
+%if %{defined enable_struct_test}
dotnet validate-struct %{_tizenfx_bin_path}/bin/public || echo "
#######################################################
##################### W A R N I N G ###################
# It will make building errors later #
#######################################################
"
-
+%endif
# Generate filelist for rpm packaging
GetFileList() {
SIMNotAvailable = TIZEN_ERROR_TELEPHONY | 0x1001
};
+#if !PROFILE_TV
[NativeStruct("telephony_handle_list_s", Include="telephony_common.h", PkgConfig="capi-telephony")]
+#endif
[StructLayout(LayoutKind.Sequential)]
internal struct HandleList
{