[arch-commits] Commit in telegram-desktop/repos (3 files)

Antonio Rojas arojas at archlinux.org
Tue May 26 19:05:10 UTC 2020


    Date: Tuesday, May 26, 2020 @ 19:05:07
  Author: arojas
Revision: 635185

archrelease: copy trunk to community-staging-x86_64

Added:
  telegram-desktop/repos/community-staging-x86_64/
  telegram-desktop/repos/community-staging-x86_64/PKGBUILD
    (from rev 635184, telegram-desktop/trunk/PKGBUILD)
  telegram-desktop/repos/community-staging-x86_64/telegram-desktop-qt5.15.patch
    (from rev 635184, telegram-desktop/trunk/telegram-desktop-qt5.15.patch)

-------------------------------+
 PKGBUILD                      |   45 ++++++++++++++++++++++++++++++++++++++++
 telegram-desktop-qt5.15.patch |   23 ++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: telegram-desktop/repos/community-staging-x86_64/PKGBUILD (from rev 635184, telegram-desktop/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-26 19:05:07 UTC (rev 635185)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: hexchain <i at hexchain.org>
+pkgname=telegram-desktop
+pkgver=2.1.7
+pkgrel=2
+pkgdesc='Official Telegram Desktop client'
+arch=('x86_64')
+url="https://desktop.telegram.org/"
+license=('GPL3')
+depends=('hunspell' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
+         'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected')
+optdepends=('ttf-opensans: default Open Sans font family')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz"
+         telegram-desktop-qt5.15.patch)
+sha512sums=('f942ce93d9671f3bb95a8fbba107fc851bfe3f28871c9651f6f2d97d711602f8a671f7b74750894b2175d33a67c25017562cd4ee455da7aa9b86755d1c3f1cfb'
+            '6bbe0583103d575a1413141799985c7c7b590d8a9856c727320ce322679a3d38343a144c314eee54fa9776c8f3a084627a333e6860d1b8cb8f496b1702070ac0')
+
+prepare() {
+    patch -d tdesktop-$pkgver-full -p1 -i ../telegram-desktop-qt5.15.patch
+}
+
+build() {
+    cd tdesktop-$pkgver-full
+
+    # export CXXFLAGS="$CXXFLAGS -ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
+    cmake -B build -G Ninja . \
+        -DCMAKE_INSTALL_PREFIX="/usr" \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DTDESKTOP_API_TEST=ON \
+        -DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
+        -DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF \
+        -DDESKTOP_APP_USE_PACKAGED_GSL=OFF \
+        -DDESKTOP_APP_USE_PACKAGED_FONTS=OFF \
+        -DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON \
+        -DTDESKTOP_USE_PACKAGED_TGVOIP=OFF \
+        -DDESKTOP_APP_SPECIAL_TARGET="" \
+        -DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop"
+    ninja -C build
+}
+
+package() {
+    cd tdesktop-$pkgver-full
+    DESTDIR=$pkgdir ninja -C build install
+}

Copied: telegram-desktop/repos/community-staging-x86_64/telegram-desktop-qt5.15.patch (from rev 635184, telegram-desktop/trunk/telegram-desktop-qt5.15.patch)
===================================================================
--- community-staging-x86_64/telegram-desktop-qt5.15.patch	                        (rev 0)
+++ community-staging-x86_64/telegram-desktop-qt5.15.patch	2020-05-26 19:05:07 UTC (rev 635185)
@@ -0,0 +1,23 @@
+diff -ru tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/animation_value.h tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/animation_value.h
+--- tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/animation_value.h	2020-05-24 09:44:41.000000000 +0200
++++ tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/animation_value.h	2020-05-26 20:31:34.381796057 +0200
+@@ -10,6 +10,8 @@
+ 
+ #include "ui/style/style_core.h"
+ 
++#include <QPainterPath>
++
+ namespace anim {
+ 
+ enum class type {
+diff -ru tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/cross_animation.cpp tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/cross_animation.cpp
+--- tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/cross_animation.cpp	2020-05-24 09:44:41.000000000 +0200
++++ tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/cross_animation.cpp	2020-05-26 20:32:16.340015129 +0200
+@@ -10,6 +10,7 @@
+ #include "ui/painter.h"
+ 
+ #include <QtCore/QtMath>
++#include <QPainterPath>
+ 
+ namespace Ui {
+ namespace {



More information about the arch-commits mailing list