telegram-desktop: update to 1.9.6.
This commit is contained in:
parent
6e74ee0532
commit
2fdadd9625
2 changed files with 26 additions and 4 deletions
19
srcpkgs/telegram-desktop/patches/cxx17.patch
Normal file
19
srcpkgs/telegram-desktop/patches/cxx17.patch
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
Reason: Latest tagged range_v3 release does not work with cxx20 and
|
||||||
|
and causes gcc to segfault
|
||||||
|
|
||||||
|
--- cmake/init_target.cmake 2020-01-21 21:30:05.000000000 +0100
|
||||||
|
+++ - 2020-01-22 01:29:33.006630878 +0100
|
||||||
|
@@ -15,11 +15,11 @@
|
||||||
|
if (${ARGV1} STREQUAL cxx_std_14 OR ${ARGV1} STREQUAL cxx_std_11)
|
||||||
|
target_compile_features(${target_name} PUBLIC ${ARGV1})
|
||||||
|
else()
|
||||||
|
- target_compile_features(${target_name} PUBLIC cxx_std_20)
|
||||||
|
+ target_compile_features(${target_name} PUBLIC cxx_std_17)
|
||||||
|
init_target_folder(${target_name} ${ARGV1})
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
- target_compile_features(${target_name} PUBLIC cxx_std_20)
|
||||||
|
+ target_compile_features(${target_name} PUBLIC cxx_std_17)
|
||||||
|
endif()
|
||||||
|
if (WIN32)
|
||||||
|
set_target_properties(${target_name} PROPERTIES
|
|
@ -1,14 +1,17 @@
|
||||||
# Template file for 'telegram-desktop'
|
# Template file for 'telegram-desktop'
|
||||||
pkgname=telegram-desktop
|
pkgname=telegram-desktop
|
||||||
version=1.9.4
|
version=1.9.6
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="tdesktop-${version}-full"
|
wrksrc="tdesktop-${version}-full"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper="qemu"
|
build_helper="qemu"
|
||||||
configure_args="-DTDESKTOP_API_ID=209235
|
configure_args="-DTDESKTOP_API_ID=209235
|
||||||
-DTDESKTOP_API_HASH=169ee702e1df4b6e66d80311db36cc43
|
-DTDESKTOP_API_HASH=169ee702e1df4b6e66d80311db36cc43
|
||||||
-DDESKTOP_APP_USE_GLIBC_WRAPS=OFF -DTDESKTOP_USE_PACKAGED_TGVOIP=OFF
|
-DDESKTOP_APP_USE_GLIBC_WRAPS=OFF -DTDESKTOP_USE_PACKAGED_TGVOIP=OFF
|
||||||
-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON -DTDESKTOP_DISABLE_GTK_INTEGRATION=ON"
|
-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON -DTDESKTOP_DISABLE_GTK_INTEGRATION=ON
|
||||||
|
-DTDESKTOP_LAUNCHER_BASENAME=telegramdesktop
|
||||||
|
-DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON
|
||||||
|
-DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=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
|
||||||
|
@ -21,7 +24,7 @@ license="GPL-3.0-or-later WITH 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=9ef7ac0e97629dec7ff68aea54f517a40c4a41fa9197f205bd4431d0e37abad1
|
checksum=5b0f1c916f903bdb1ed0cf4c530d2e1ffb5aa97ff462976fe82aa29677849a02
|
||||||
|
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
case $XBPS_TARGET_MACHINE in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue