telegram-desktop 4.6.3-1 (x86_64) 2023-17298
9999

Status published
Submitter benbullard79 [@T] cox.net
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/291398
Packages
telegram-desktop-4.6.3-1.x86_64.source
telegram-desktop-4.6.3-1.x86_64.binary
telegram-desktop-debuginfo-4.6.3-1.x86_64.debuginfo
telegram-desktop-debugsource-4.6.3-1.x86_64.binary
Build Date 2023-02-21 14:40:26 +0000 UTC
Last Updated 2023-02-27 19:35:36.490274707 +0000 UTC
$ git diff --patch-with-stat --summary 50363555e9c6d90bb9f32147947bbb4b901b8787..4098754e17175c48de9ef8534c4a3876ccdee025

 .abf.yml              |  2 +-
 telegram-desktop.spec | 11 +++++++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index f7c0797..4939605 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  tdesktop-4.5.2-full.tar.gz: 94a7477b66c8f5e8d860286fca4275317558f7e2
+  tdesktop-4.6.3-full.tar.gz: 45236ad27cc6e21c9af47e7527cebe896dea480f
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 3cab439..410887d 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -39,7 +39,7 @@
 Name: telegram-desktop
 # before every upgrade
 # try to up tg_owt project first
-Version:	4.5.2
+Version:	4.6.3
 Release:	1
 
 # Application and 3rd-party modules licensing:
@@ -244,7 +244,14 @@ export PATH=%{_libdir}/qt6/bin:$PATH
 
 %build
 touch build/changelog.txt
-%ninja_build -C build
+
+PROCESSES="$(getconf _NPROCESSORS_ONLN)"
+# Linking Telegram with LTO enabled is VERY RAM intensive
+# and breaks boxes that have loads of CPU cores but not
+# terabytes of RAM...
+[ "$PROCESSES" -gt 4 ] && PROCESSES=4
+
+%ninja_build -C build -j${PROCESSES}
 
 %install
 %ninja_install -C build
Not Available

benbullard79 [@T] cox.netNo Comment.635d 21hrs
benbullard79 [@T] cox.netNo Comment.635d 21hrs