diff --git a/telegram-4.0.2-fix-tgcalls-cstdint.patch b/telegram-4.0.2-fix-tgcalls-cstdint.patch new file mode 100644 index 0000000..88612eb --- /dev/null +++ b/telegram-4.0.2-fix-tgcalls-cstdint.patch @@ -0,0 +1,12 @@ +diff --git a/tgcalls/utils/gzip.h b/tgcalls/utils/gzip.h +index a3f3ea2..7ae5cc5 100644 +--- a/tgcalls/utils/gzip.h ++++ b/tgcalls/utils/gzip.h +@@ -3,6 +3,7 @@ + + #include + #include ++#include + + namespace tgcalls { + diff --git a/telegram.spec b/telegram.spec index 4b82fac..9bb5ecd 100644 --- a/telegram.spec +++ b/telegram.spec @@ -1,5 +1,5 @@ Name: telegram -Version: 3.7.3 +Version: 4.0.2 Release: 1mamba Summary: The official desktop client for the Telegram messenger Group: Graphical Desktop/Applications/Internet @@ -15,6 +15,7 @@ Patch1: telegram-1.5.15-no-gtk2.patch Patch2: telegram-1.5.15-libtgvoip.patch Patch3: telegram-2.7.4-fix-webview-includes.patch Patch4: telegram-2.7.4-add_missing_include_optional.patch +Patch5: telegram-4.0.2-fix-tgcalls-cstdint.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -59,12 +60,10 @@ BuildRequires: qt6-qtwayland-devel ## AUTOBUILDREQ-END #BuildRequires: libbreakpad-devel BuildRequires: range-v3-devel -#BuildRequires: libunity-devel BuildRequires: range-v3-devel >= 0.11.0 -BuildRequires: libtg_owt-devel >= 0.0.20210128 +BuildRequires: libtg_owt-devel >= 0.1.20220508git.10d5f4b BuildRequires: libmicrosoft-gsl-devel BuildRequires: tl-expected-devel -BuildRequires: qt6-qt5compat-devel BuildRequires: librnnoise-devel Requires: kconfig Requires: qt6-qtimageformats @@ -83,9 +82,15 @@ The official desktop client for the Telegram messenger. #%patch4 -p1 #cd Telegram/lib_webview #%patch3 -p1 +#rm -rf Telegram/ThirdParty/libtgvoip/webrtc_dsp/absl +cd Telegram/ThirdParty/tgcalls +%patch5 -p1 +cd ../../.. %build #:<< __EOF +#export PKG_CONFIG_PATH='%{_libdir}/ffmpeg4/pkgconfig' + %cmake -d build \ -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ @@ -136,6 +141,9 @@ fi %doc LICENSE LEGAL %changelog +* Sun Jul 24 2022 Automatic Build System 4.0.2-1mamba +- automatic version update by autodist + * Sat Jun 04 2022 Automatic Build System 3.7.3-1mamba - automatic version update by autodist