telegram-desktop: update to 2.5.1.
This commit is contained in:
parent
8e75282d6f
commit
385f16b699
2 changed files with 13 additions and 30 deletions
|
@ -1,22 +0,0 @@
|
||||||
Subject: [PATCH] PPC big endian
|
|
||||||
|
|
||||||
---
|
|
||||||
Telegram/SourceFiles/config.h | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git Telegram/SourceFiles/config.h Telegram/SourceFiles/config.h
|
|
||||||
index fb7b54e4d..6a873fbd7 100644
|
|
||||||
--- Telegram/SourceFiles/config.h
|
|
||||||
+++ Telegram/SourceFiles/config.h
|
|
||||||
@@ -177,7 +177,7 @@ constexpr auto ApiHash = "344583e45741c457fe1862106095a5eb";
|
|
||||||
#endif // TDESKTOP_API_ID && TDESKTOP_API_HASH
|
|
||||||
|
|
||||||
#if Q_BYTE_ORDER == Q_BIG_ENDIAN
|
|
||||||
-#error "Only little endian is supported!"
|
|
||||||
+#warning "Only little endian is supported!"
|
|
||||||
#endif // Q_BYTE_ORDER == Q_BIG_ENDIAN
|
|
||||||
|
|
||||||
#if (TDESKTOP_ALPHA_VERSION != 0)
|
|
||||||
--
|
|
||||||
2.24.1
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'telegram-desktop'
|
# Template file for 'telegram-desktop'
|
||||||
pkgname=telegram-desktop
|
pkgname=telegram-desktop
|
||||||
version=2.4.7
|
version=2.5.1
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="tdesktop-${version}-full"
|
wrksrc="tdesktop-${version}-full"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper="qemu"
|
build_helper="qemu"
|
||||||
|
@ -11,13 +11,14 @@ configure_args="-DTDESKTOP_API_ID=209235
|
||||||
-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON
|
-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON
|
||||||
-DTDESKTOP_LAUNCHER_BASENAME=org.telegram.desktop.desktop
|
-DTDESKTOP_LAUNCHER_BASENAME=org.telegram.desktop.desktop
|
||||||
-DDESKTOP_APP_DISABLE_SPELLCHECK=$(vopt_if spellcheck 'false' 'true')
|
-DDESKTOP_APP_DISABLE_SPELLCHECK=$(vopt_if spellcheck 'false' 'true')
|
||||||
-DDESKTOP_APP_DISABLE_WEBRTC_INTEGRATION=ON"
|
-DDESKTOP_APP_DISABLE_WEBRTC_INTEGRATION=$(vopt_if webrtc 'OFF' 'ON')"
|
||||||
hostmakedepends="pkg-config qt5-qmake qt5-host-tools python"
|
hostmakedepends="pkg-config qt5-qmake qt5-host-tools python"
|
||||||
makedepends="alsa-lib-devel ffmpeg-devel libdbusmenu-glib-devel libopenal-devel
|
makedepends="alsa-lib-devel ffmpeg-devel libdbusmenu-glib-devel libopenal-devel
|
||||||
minizip-devel opus-devel xxHash-devel pulseaudio-devel qt5-devel range-v3
|
minizip-devel opus-devel xxHash-devel pulseaudio-devel qt5-devel range-v3
|
||||||
libva-devel rapidjson liblz4-devel liblzma-devel rlottie-devel gtk+3-devel
|
libva-devel rapidjson liblz4-devel liblzma-devel gtk+3-devel
|
||||||
MesaLib-devel libdbusmenu-qt5-devel qt5-wayland-devel libatomic-devel
|
MesaLib-devel libdbusmenu-qt5-devel qt5-wayland-devel libatomic-devel
|
||||||
$(vopt_if spellcheck hunspell-devel)"
|
xcb-util-keysyms-devel $(vopt_if spellcheck hunspell-devel)
|
||||||
|
$(vopt_if webrtc tg_owt)"
|
||||||
depends="qt5-imageformats qt5-core>=5.15.2<5.15.3"
|
depends="qt5-imageformats qt5-core>=5.15.2<5.15.3"
|
||||||
short_desc="Telegram Desktop messaging app"
|
short_desc="Telegram Desktop messaging app"
|
||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
|
@ -25,10 +26,10 @@ license="GPL-3.0-or-later, OpenSSL"
|
||||||
homepage="https://desktop.telegram.org/"
|
homepage="https://desktop.telegram.org/"
|
||||||
changelog="https://github.com/telegramdesktop/tdesktop/blob/v${version}/changelog.txt"
|
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"
|
distfiles="https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz"
|
||||||
checksum=7b13df53be5d6b58d07d730c9429e415be2fea7f7be37bcaa80a505152125bc8
|
checksum=f1cc5e876deaa4fa4eaafbba95f127d5a3114c166802902b8584099852b9eae2
|
||||||
|
|
||||||
build_options="spellcheck"
|
build_options="spellcheck webrtc"
|
||||||
build_options_default="spellcheck"
|
build_options_default="spellcheck webrtc"
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
case $XBPS_TARGET_MACHINE in
|
||||||
mips*) broken="unsupported";;
|
mips*) broken="unsupported";;
|
||||||
|
@ -42,6 +43,10 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" qt5-devel"
|
hostmakedepends+=" qt5-devel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
||||||
|
broken="UI doesn't go beyond initial screen, also LE specific code in networking"
|
||||||
|
fi
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
_qt5_dep_ver="${depends#*>=}"
|
_qt5_dep_ver="${depends#*>=}"
|
||||||
_qt5_dep_ver="${_qt5_dep_ver%<*}"
|
_qt5_dep_ver="${_qt5_dep_ver%<*}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue