From 626f0be9851a6ab41f8b42393757c3566043c6a5 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 18 Jan 2020 16:09:31 +0100 Subject: [PATCH] telegram-desktop: disable glibc wraps and gtk integration Glibc wraps were enabled by accident and break musl and ppc. Gtk integration in the recent release was problematic at least on some targets, with hanging on a random condvar; it would seem that it is no longer necessary to enable gtk integration because the functionality it provides also works otherwise, so disable. --- srcpkgs/telegram-desktop/template | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template index 1202614671..e0165669fe 100644 --- a/srcpkgs/telegram-desktop/template +++ b/srcpkgs/telegram-desktop/template @@ -1,17 +1,19 @@ # Template file for 'telegram-desktop' pkgname=telegram-desktop version=1.9.4 -revision=1 +revision=2 wrksrc="tdesktop-${version}-full" build_style=cmake build_helper="qemu" -configure_args="-DTDESKTOP_API_ID=209235 -DTDESKTOP_API_HASH=169ee702e1df4b6e66d80311db36cc43 - -DDESKTOP_APP_USE_GLIBC_WRAPS=ON -DTDESKTOP_USE_PACKAGED_TGVOIP=OFF -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON" +configure_args="-DTDESKTOP_API_ID=209235 + -DTDESKTOP_API_HASH=169ee702e1df4b6e66d80311db36cc43 + -DDESKTOP_APP_USE_GLIBC_WRAPS=OFF -DTDESKTOP_USE_PACKAGED_TGVOIP=OFF + -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON -DTDESKTOP_DISABLE_GTK_INTEGRATION=ON" hostmakedepends="pkg-config qt5-qmake qt5-host-tools python" -makedepends="alsa-lib-devel ffmpeg-devel gtk+3-devel libappindicator-devel - libdbusmenu-glib-devel libopenal-devel minizip-devel opus-devel xxHash-devel - pulseaudio-devel qt5-devel range-v3 libva-devel enchant2-devel - rapidjson liblz4-devel rlottie-devel MesaLib-devel" +makedepends="alsa-lib-devel ffmpeg-devel libdbusmenu-glib-devel libopenal-devel + minizip-devel opus-devel xxHash-devel pulseaudio-devel qt5-devel range-v3 + libva-devel enchant2-devel rapidjson liblz4-devel liblzma-devel rlottie-devel + MesaLib-devel" depends="qt5-imageformats qt5>=5.13.2<5.13.3" short_desc="Telegram Desktop messaging app" maintainer="John "