diff --git a/network/chat/telegram-desktop/actions.py b/network/chat/telegram-desktop/actions.py index 3b30d021c6..4134c1a9b5 100644 --- a/network/chat/telegram-desktop/actions.py +++ b/network/chat/telegram-desktop/actions.py @@ -19,12 +19,11 @@ def setup(): cmake/external/rlottie/CMakeLists.txt || die") shelltools.system('echo "target_link_libraries(external_webrtc INTERFACE jpeg Xcomposite Xdamage Xext Xfixes Xrandr Xrender Xtst X11)" | tee -a cmake/external/webrtc/CMakeLists.txt') pisitools.cxxflags.add("-Wno-deprecated-declarations -Wno-error=deprecated-declarations -Wno-switch -Wp,-U_GLIBCXX_ASSERTIONS") - #pisitools.cxxflags.add(" -std=c++17") - #shelltools.export("CC", "gcc") - #shelltools.export("CXX", "g++") + # shelltools.system("rm -rf Telegram/ThirdParty/libtgvoip/webrtc_dsp/absl") params = ' '.join([ '-B build', + '-G Ninja', '-Ddisable_autoupdate=1', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_INSTALL_PREFIX="/usr"', @@ -34,6 +33,7 @@ def setup(): '-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON', '-DDESKTOP_APP_SPECIAL_TARGET=""', '-DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATION=ON', + '-DCMAKE_DEPENDS_IN_PROJECT_ONLY=ON', '-DTDESKTOP_API_ID=611335', '-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c', '-DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop"' @@ -43,12 +43,13 @@ def setup(): def build(): - shelltools.cd("build") - cmaketools.make("-j4") - #mesontools.build() + # shelltools.cd("build") + shelltools.system("ninja -C build") + # cmaketools.make("-j4") def install(): shelltools.cd("build") - cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - #mesontools.install() + shelltools.system("DESTDIR=%s ninja install" % get.installDIR()) + # shelltools.cd("build") + # cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/network/chat/telegram-desktop/pspec.xml b/network/chat/telegram-desktop/pspec.xml index 6e1119c673..8db2a66969 100644 --- a/network/chat/telegram-desktop/pspec.xml +++ b/network/chat/telegram-desktop/pspec.xml @@ -13,7 +13,7 @@ telegram Official Telegram Desktop client Telegram is a messaging app with a focus on speed and security, it is super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers. - https://github.com/telegramdesktop/tdesktop/releases/download/v4.3.1/tdesktop-4.3.1-full.tar.gz + https://github.com/telegramdesktop/tdesktop/releases/download/v4.3.4/tdesktop-4.3.4-full.tar.gz fix-tgcalls-cstdint.patch @@ -39,6 +39,7 @@ xxhash-devel alsa-lib-devel pulseaudio-libs-devel + protobuf-devel lz4-devel @@ -80,6 +81,7 @@ hunspell libvpx qt6-base + protobuf qt6-5compat libtg_owt gdk-pixbuf @@ -109,6 +111,13 @@ + + 2022-11-25 + 4.3.4 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2022-11-08 4.3.1