telegram-desktop: update to 1.9.8.

This commit is contained in:
John 2020-01-23 17:54:18 +01:00
parent cd5d016351
commit eeb7ea8686
3 changed files with 3 additions and 72 deletions

View File

@ -1,40 +0,0 @@
--- lib/xdg/telegramdesktop.appdata.xml 2019-12-31 16:06:54.000000000 +0100
+++ - 2020-01-03 11:05:49.315124450 +0100
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop">
- <id>org.telegram.desktop</id>
+ <id>telegramdesktop.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0</project_license>
<name>Telegram Desktop</name>
--- lib/xdg/telegramdesktop.appdata.xml 2019-12-31 16:06:54.000000000 +0100
+++ - 2020-01-03 11:05:49.315124450 +0100
@@ -63,6 +63,6 @@
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
<provides>
- <binary>telegram-desktop</binary>
+ <binary>Telegram</binary>
</provides>
</component>
--- lib/xdg/telegramdesktop.desktop 2019-12-31 16:06:54.000000000 +0100
+++ - 2020-01-03 11:06:05.345353255 +0100
@@ -2,7 +2,7 @@
Version=1.0
Name=Telegram Desktop
Comment=Official desktop version of Telegram messaging app
-Exec=telegram-desktop -- %u
+Exec=Telegram -- %u
Icon=telegram
Terminal=false
StartupWMClass=TelegramDesktop
--- lib/xdg/tg.protocol 2019-12-31 16:06:54.000000000 +0100
+++ - 2020-01-03 11:06:20.712139153 +0100
@@ -1,5 +1,5 @@
[Protocol]
-exec=/usr/bin/telegram-desktop -- %u
+exec=Telegram -- %u
protocol=tg
input=none
output=none

View File

@ -1,19 +0,0 @@
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

View File

@ -1,6 +1,6 @@
# Template file for 'telegram-desktop'
pkgname=telegram-desktop
version=1.9.6
version=1.9.8
revision=1
wrksrc="tdesktop-${version}-full"
build_style=cmake
@ -9,7 +9,7 @@ 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
-DTDESKTOP_LAUNCHER_BASENAME=telegramdesktop
-DTDESKTOP_LAUNCHER_BASENAME=org.telegram.desktop.desktop
-DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON
-DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON"
hostmakedepends="pkg-config qt5-qmake qt5-host-tools python"
@ -24,7 +24,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=5b0f1c916f903bdb1ed0cf4c530d2e1ffb5aa97ff462976fe82aa29677849a02
checksum=4dcf14cff65777a176a4552b982e67fa802668f29d212025b0c05342010a03e7
case $XBPS_TARGET_MACHINE in
@ -63,13 +63,3 @@ post_extract() {
-i Telegram/CMakeLists.txt ;;
esac
}
do_install() {
for i in 16 32 48 64 128 256 512; do
vinstall Telegram/Resources/art/icon$i.png 644 usr/share/icons/hicolor/${i}x${i}/apps telegram.png
done
vbin build/bin/Telegram
vinstall lib/xdg/telegramdesktop.desktop 644 usr/share/applications
vinstall lib/xdg/telegramdesktop.appdata.xml 644 usr/share/appdata
vinstall lib/xdg/tg.protocol 644 usr/share/kservices5
}