diff --git a/srcpkgs/telegram-desktop/patches/0007-xdg-bin.patch b/srcpkgs/telegram-desktop/patches/0007-xdg-bin.patch deleted file mode 100644 index ca6e117346..0000000000 --- a/srcpkgs/telegram-desktop/patches/0007-xdg-bin.patch +++ /dev/null @@ -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 @@ - - -- org.telegram.desktop -+ telegramdesktop.desktop - CC0-1.0 - GPL-3.0 - Telegram Desktop ---- 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 @@ - none - - -- telegram-desktop -+ Telegram - - ---- 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 diff --git a/srcpkgs/telegram-desktop/patches/cxx17.patch b/srcpkgs/telegram-desktop/patches/cxx17.patch deleted file mode 100644 index f3b59223f6..0000000000 --- a/srcpkgs/telegram-desktop/patches/cxx17.patch +++ /dev/null @@ -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 diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template index 39214dffd7..37ab5801d8 100644 --- a/srcpkgs/telegram-desktop/template +++ b/srcpkgs/telegram-desktop/template @@ -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 -}