diff options
| -rw-r--r-- | bin15/mir_full.sln | 11 | ||||
| -rw-r--r-- | bin16/mir_full.sln | 11 | ||||
| -rw-r--r-- | bin17/mir_full.sln | 11 | ||||
| -rw-r--r-- | plugins/Jingle/Jingle.vcxproj | 45 | ||||
| -rw-r--r-- | plugins/Jingle/Jingle.vcxproj.filters | 31 | ||||
| -rw-r--r-- | plugins/Jingle/res/Version.rc | 9 | ||||
| -rw-r--r-- | plugins/Jingle/res/main.ico | bin | 0 -> 5430 bytes | |||
| -rw-r--r-- | plugins/Jingle/res/resource.rc | 42 | ||||
| -rw-r--r-- | plugins/Jingle/src/main.cpp | 43 | ||||
| -rw-r--r-- | plugins/Jingle/src/resource.h | 16 | ||||
| -rw-r--r-- | plugins/Jingle/src/stdafx.cxx | 18 | ||||
| -rw-r--r-- | plugins/Jingle/src/stdafx.h | 38 | ||||
| -rw-r--r-- | plugins/Jingle/src/version.h | 13 | ||||
| -rw-r--r-- | tools/build_scripts/bin15/z2_PackPluginUpdater_x32.txt | 1 | ||||
| -rw-r--r-- | tools/build_scripts/bin15/z2_PackPluginUpdater_x64.txt | 1 | ||||
| -rw-r--r-- | tools/build_scripts/z2_PackPluginUpdater.bat | 9 |
16 files changed, 299 insertions, 0 deletions
diff --git a/bin15/mir_full.sln b/bin15/mir_full.sln index 7c0ce6f902..6cfb85112c 100644 --- a/bin15/mir_full.sln +++ b/bin15/mir_full.sln @@ -450,6 +450,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WhatsApp", "..\protocols\Wh EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Telegram", "..\protocols\Telegram\Telegram.vcxproj", "{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Jingle", "..\plugins\Jingle\Jingle.vcxproj", "{D3E24A92-E2C3-440F-BC87-002AB822ABFB}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -2040,6 +2042,14 @@ Global {AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}.Release|Win32.Build.0 = Release|Win32
{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}.Release|x64.ActiveCfg = Release|x64
{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}.Release|x64.Build.0 = Release|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|Win32.ActiveCfg = Debug|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|Win32.Build.0 = Debug|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|x64.ActiveCfg = Debug|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|x64.Build.0 = Debug|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|Win32.ActiveCfg = Release|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|Win32.Build.0 = Release|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|x64.ActiveCfg = Release|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -2171,6 +2181,7 @@ Global {4D3554DE-6E14-4F94-A909-A4B19151A47E} = {37EDFBEA-8446-4BF3-9F2E-655908CDFB62}
{13E796AD-BEA4-4213-A1B8-E18E2397E544} = {A035B524-0F2D-45D0-BCF2-3C20279C77E2}
{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7} = {A035B524-0F2D-45D0-BCF2-3C20279C77E2}
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB} = {A035B524-0F2D-45D0-BCF2-3C20279C77E2}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {29A0C2A8-07A4-4A8B-8BED-8F7D024013D6}
diff --git a/bin16/mir_full.sln b/bin16/mir_full.sln index ae65273f57..94fbfe03c0 100644 --- a/bin16/mir_full.sln +++ b/bin16/mir_full.sln @@ -450,6 +450,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WhatsApp", "..\protocols\Wh EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Telegram", "..\protocols\Telegram\Telegram.vcxproj", "{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Jingle", "..\plugins\Jingle\Jingle.vcxproj", "{D3E24A92-E2C3-440F-BC87-002AB822ABFB}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -2040,6 +2042,14 @@ Global {AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}.Release|Win32.Build.0 = Release|Win32
{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}.Release|x64.ActiveCfg = Release|x64
{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}.Release|x64.Build.0 = Release|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|Win32.ActiveCfg = Debug|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|Win32.Build.0 = Debug|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|x64.ActiveCfg = Debug|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|x64.Build.0 = Debug|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|Win32.ActiveCfg = Release|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|Win32.Build.0 = Release|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|x64.ActiveCfg = Release|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -2171,6 +2181,7 @@ Global {4D3554DE-6E14-4F94-A909-A4B19151A47E} = {37EDFBEA-8446-4BF3-9F2E-655908CDFB62}
{13E796AD-BEA4-4213-A1B8-E18E2397E544} = {A035B524-0F2D-45D0-BCF2-3C20279C77E2}
{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7} = {A035B524-0F2D-45D0-BCF2-3C20279C77E2}
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB} = {A035B524-0F2D-45D0-BCF2-3C20279C77E2}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {29A0C2A8-07A4-4A8B-8BED-8F7D024013D6}
diff --git a/bin17/mir_full.sln b/bin17/mir_full.sln index 0408be3ee4..12658fd56f 100644 --- a/bin17/mir_full.sln +++ b/bin17/mir_full.sln @@ -450,6 +450,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WhatsApp", "..\protocols\Wh EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Telegram", "..\protocols\Telegram\Telegram.vcxproj", "{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Jingle", "..\plugins\Jingle\Jingle.vcxproj", "{D3E24A92-E2C3-440F-BC87-002AB822ABFB}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -2040,6 +2042,14 @@ Global {AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}.Release|Win32.Build.0 = Release|Win32
{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}.Release|x64.ActiveCfg = Release|x64
{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7}.Release|x64.Build.0 = Release|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|Win32.ActiveCfg = Debug|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|Win32.Build.0 = Debug|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|x64.ActiveCfg = Debug|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Debug|x64.Build.0 = Debug|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|Win32.ActiveCfg = Release|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|Win32.Build.0 = Release|Win32
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|x64.ActiveCfg = Release|x64
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -2171,6 +2181,7 @@ Global {4D3554DE-6E14-4F94-A909-A4B19151A47E} = {37EDFBEA-8446-4BF3-9F2E-655908CDFB62}
{13E796AD-BEA4-4213-A1B8-E18E2397E544} = {A035B524-0F2D-45D0-BCF2-3C20279C77E2}
{AE708252-0DF8-42BA-9EF9-9ACC038EEDA7} = {A035B524-0F2D-45D0-BCF2-3C20279C77E2}
+ {D3E24A92-E2C3-440F-BC87-002AB822ABFB} = {A035B524-0F2D-45D0-BCF2-3C20279C77E2}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {29A0C2A8-07A4-4A8B-8BED-8F7D024013D6}
diff --git a/plugins/Jingle/Jingle.vcxproj b/plugins/Jingle/Jingle.vcxproj new file mode 100644 index 0000000000..1ad612cac7 --- /dev/null +++ b/plugins/Jingle/Jingle.vcxproj @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectName>Jingle</ProjectName> + <ProjectGuid>{D3E24A92-E2C3-440F-BC87-002AB822ABFB}</ProjectGuid> + </PropertyGroup> + <ImportGroup Label="PropertySheets"> + <Import Project="$(ProjectDir)..\..\build\vc.common\plugin.props" /> + </ImportGroup> + <ItemDefinitionGroup> + <ClCompile> + <AdditionalIncludeDirectories>..\..\include\glib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="src\main.cpp" /> + <ClCompile Include="src\stdafx.cxx"> + <PrecompiledHeader>Create</PrecompiledHeader> + </ClCompile> + <ClInclude Include="src\stdafx.h" /> + <ClInclude Include="src\version.h" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="res\resource.rc" /> + <ResourceCompile Include="res\Version.rc" /> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/plugins/Jingle/Jingle.vcxproj.filters b/plugins/Jingle/Jingle.vcxproj.filters new file mode 100644 index 0000000000..df6abcafef --- /dev/null +++ b/plugins/Jingle/Jingle.vcxproj.filters @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(ProjectDir)..\..\build\vc.common\common.filters" /> + <ItemGroup> + <ClCompile Include="src\main.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\stdafx.cxx"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\voip.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="src\stdafx.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="src\version.h"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="res\Version.rc"> + <Filter>Resource Files</Filter> + </ResourceCompile> + <ResourceCompile Include="res\resource.rc"> + <Filter>Resource Files</Filter> + </ResourceCompile> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/plugins/Jingle/res/Version.rc b/plugins/Jingle/res/Version.rc new file mode 100644 index 0000000000..5a5ddd63ed --- /dev/null +++ b/plugins/Jingle/res/Version.rc @@ -0,0 +1,9 @@ +// Microsoft Visual C++ generated resource script. +// +#ifdef APSTUDIO_INVOKED +#error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + +#include "..\src\version.h" + +#include "..\..\build\Version.rc" diff --git a/plugins/Jingle/res/main.ico b/plugins/Jingle/res/main.ico Binary files differnew file mode 100644 index 0000000000..1660e71a33 --- /dev/null +++ b/plugins/Jingle/res/main.ico diff --git a/plugins/Jingle/res/resource.rc b/plugins/Jingle/res/resource.rc new file mode 100644 index 0000000000..5843ada411 --- /dev/null +++ b/plugins/Jingle/res/resource.rc @@ -0,0 +1,42 @@ +// Microsoft Visual C++ generated resource script. +// +#include "..\src\resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (Australia) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA) +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS +#pragma code_page(1252) + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_MAIN ICON "main.ico" + +#endif // English (Australia) resources +///////////////////////////////////////////////////////////////////////////// + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/plugins/Jingle/src/main.cpp b/plugins/Jingle/src/main.cpp new file mode 100644 index 0000000000..c52013a244 --- /dev/null +++ b/plugins/Jingle/src/main.cpp @@ -0,0 +1,43 @@ +#include "stdafx.h" + +CMPlugin g_plugin; + +///////////////////////////////////////////////////////////////////////////////////////// + +PLUGININFOEX pluginInfoEx = { + sizeof(PLUGININFOEX), + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __COPYRIGHT, + __AUTHORWEB, + UNICODE_AWARE, + // D3E24A92-E2C3-440F-BC87-00 2A B8 22 ABFB + {0xD3E24A92, 0xE2C3, 0x440F, {0xbc, 0x87, 0x00, 0x2A, 0xb8, 0x22, 0xab, 0xf8}} +}; + +CMPlugin::CMPlugin() : + PLUGIN<CMPlugin>("Jingle", pluginInfoEx) +{ +} + +///////////////////////////////////////////////////////////////////////////////////////// +// Load (hook ModulesLoaded) + +static INT_PTR FakeService(WPARAM, LPARAM) +{ + g_assertion_message(0, 0, 0, 0, 0); + g_object_unref(0); + gst_bin_add(0, 0); + gst_rtp_header_extension_set_id(0, 0); + gst_sdp_message_as_text(0); + gst_webrtc_session_description_free(0); + return 0; +} + +int CMPlugin::Load() +{ + CreateServiceFunction("Jingle/StartSession", &FakeService); + return 0; +} diff --git a/plugins/Jingle/src/resource.h b/plugins/Jingle/src/resource.h new file mode 100644 index 0000000000..38cffef069 --- /dev/null +++ b/plugins/Jingle/src/resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by X:\install\git\miranda\miranda-ng\plugins\Alarms\res\resource.rc +// +#define IDI_MAIN 101 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 102 +#define _APS_NEXT_COMMAND_VALUE 40000 +#define _APS_NEXT_CONTROL_VALUE 1080 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/plugins/Jingle/src/stdafx.cxx b/plugins/Jingle/src/stdafx.cxx new file mode 100644 index 0000000000..af72746415 --- /dev/null +++ b/plugins/Jingle/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-23 Miranda NG team (https://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#include "stdafx.h"
\ No newline at end of file diff --git a/plugins/Jingle/src/stdafx.h b/plugins/Jingle/src/stdafx.h new file mode 100644 index 0000000000..ace5347f03 --- /dev/null +++ b/plugins/Jingle/src/stdafx.h @@ -0,0 +1,38 @@ +#ifndef _COMMONHEADERS_H +#define _COMMONHEADERS_H + +#include <gst/gst.h> +#include <gst/sdp/sdp.h> +#include <gst/rtp/rtp.h> + +#define GST_USE_UNSTABLE_API +#include <gst/webrtc/webrtc.h> + +#pragma comment(lib, "glib-2.0.lib") +#pragma comment(lib, "gobject-2.0.lib") +#pragma comment(lib, "gstreamer-1.0.lib") +#pragma comment(lib, "gstrtp-1.0.lib") +#pragma comment(lib, "gstsdp-1.0.lib") +#pragma comment(lib, "gstwebrtc-1.0.lib") + +#include <windows.h> + +#include <list> + +#include <newpluginapi.h> +#include <m_jabber.h> +#include <m_langpack.h> +#include <m_voice.h> +#include <m_voiceservice.h> + +#include "resource.h" +#include "version.h" + +struct CMPlugin : public PLUGIN<CMPlugin> +{ + CMPlugin(); + + int Load() override; +}; + +#endif //_COMMONHEADERS_H
\ No newline at end of file diff --git a/plugins/Jingle/src/version.h b/plugins/Jingle/src/version.h new file mode 100644 index 0000000000..dd024eeb98 --- /dev/null +++ b/plugins/Jingle/src/version.h @@ -0,0 +1,13 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 0 +#define __BUILD_NUM 1 + +#include <stdver.h> + +#define __PLUGIN_NAME "Jingle" +#define __FILENAME "Jingle" +#define __DESCRIPTION "Jingle support for Jabber plugin." +#define __AUTHOR "George Hazan" +#define __AUTHORWEB "https://miranda-ng.org/p/Jingle" +#define __COPYRIGHT "© 2023 George Hazan" diff --git a/tools/build_scripts/bin15/z2_PackPluginUpdater_x32.txt b/tools/build_scripts/bin15/z2_PackPluginUpdater_x32.txt index ceed0a585e..fb4f0c4e51 100644 --- a/tools/build_scripts/bin15/z2_PackPluginUpdater_x32.txt +++ b/tools/build_scripts/bin15/z2_PackPluginUpdater_x32.txt @@ -68,6 +68,7 @@ Plugins\ignorestate.dll Plugins\import.dll
Plugins\irc.dll
Plugins\jabber.dll
+Plugins\jingle.dll
Plugins\keyboardnotify.dll
Plugins\linklist.dll
Plugins\listeningto.dll
diff --git a/tools/build_scripts/bin15/z2_PackPluginUpdater_x64.txt b/tools/build_scripts/bin15/z2_PackPluginUpdater_x64.txt index 31775cfa59..0a1f9d3328 100644 --- a/tools/build_scripts/bin15/z2_PackPluginUpdater_x64.txt +++ b/tools/build_scripts/bin15/z2_PackPluginUpdater_x64.txt @@ -68,6 +68,7 @@ Plugins\ignorestate.dll Plugins\import.dll
Plugins\irc.dll
Plugins\jabber.dll
+Plugins\jingle.dll
Plugins\keyboardnotify.dll
Plugins\linklist.dll
Plugins\listeningto.dll
diff --git a/tools/build_scripts/z2_PackPluginUpdater.bat b/tools/build_scripts/z2_PackPluginUpdater.bat index 3f77cde155..cbe60b2fe5 100644 --- a/tools/build_scripts/z2_PackPluginUpdater.bat +++ b/tools/build_scripts/z2_PackPluginUpdater.bat @@ -84,6 +84,15 @@ for /f %%a in ('dir plugins\*.dll /B /L') do ( if /I "%%a"=="Weather.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Weather.dll" "Plugins\Weather\*.ini")
if /I "%%a"=="WhatsApp.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Libs\libsignal.mir" "libs\libqrencode.mir")
if /I "%%a"=="YAMN.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_YAMN.dll")
+ if /I "%%a"=="Jingle.dll" (
+ ren Libs Libs2
+ mkdir Libs
+ copy /s ../../redist/x%tp%/gstreamer/*.* Libs
+ %ZipIt% "%Arch%\Plugins\%%~na.zip" "Libs\*.dll"
+ rd /s /q Libs
+ ren Libs2 Libs
+ pause
+ )
rem now adding plugin itself into archive
%ZipIt% "%Arch%\Plugins\%%~na.zip" %%a
)
|
