diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template index 72183b9810f..944fe34cb88 100644 --- a/srcpkgs/telegram-desktop/template +++ b/srcpkgs/telegram-desktop/template @@ -1,17 +1,17 @@ # Template file for 'telegram-desktop' pkgname=telegram-desktop -version=1.9.14 +version=1.9.21 revision=1 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=OFF -DTDESKTOP_USE_PACKAGED_TGVOIP=OFF - -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON -DTDESKTOP_DISABLE_GTK_INTEGRATION=ON + -DDESKTOP_APP_USE_GLIBC_WRAPS=OFF + -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON -DTDESKTOP_LAUNCHER_BASENAME=org.telegram.desktop.desktop - -DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON -DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON + -DTDESKTOP_USE_PACKAGED_TGVOIP=OFF -DDESKTOP_APP_USE_PACKAGED_EXPECTED=OFF -DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF -DDESKTOP_APP_USE_PACKAGED_GSL=OFF @@ -28,7 +28,7 @@ license="GPL-3.0-or-later WITH OpenSSL" homepage="https://desktop.telegram.org/" changelog="https://github.com/telegramdesktop/tdesktop/blob/v${version}/changelog.txt" distfiles="https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz" -checksum=864d1d5e810e30368e60d4ea389c644387abbc803b3b5426268efa5016d15a4b +checksum=e1f9b58c1475a5044bc4d7a7ed5f89777e717ea5e6126707105e2c2d3032ffac build_options="spellcheck" build_options_default="spellcheck" @@ -39,7 +39,6 @@ esac if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" - LDFLAGS="-latomic" fi if [ "$XBPS_WORDSIZE" -eq 32 ]; then @@ -61,9 +60,8 @@ post_extract() { msg_red "${_qt5_version%_*} does not match ${_qt5_dep_ver}\\n" exit 1 fi - case "$XBPS_TARGET_MACHINE" in - ppc64*) ;; - armv[56]*|ppc*) vsed -e '/desktop-app::external_openal/ a atomic' \ - -i Telegram/CMakeLists.txt ;; - esac + if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + vsed -e '/desktop-app::external_openal/ a atomic' \ + -i Telegram/CMakeLists.txt + fi }