summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Santini2020-12-14 14:49:37 +0100
committerGiovanni Santini2020-12-14 14:49:37 +0100
commita0f1b79bf02336af7ccd16e5c828220d7211ccc9 (patch)
tree1824b4322a768cc4cabfd780a238fe8e2e2fc8e1
parent10834060ba678dd8f727f31cb5b42c2bf796f43b (diff)
downloadaur-a0f1b79bf02336af7ccd16e5c828220d7211ccc9.tar.gz
upgpkg: telegram-desktop-dev 2.4.13-1
- Version bump. Tracking just the commit after the tag as we require the newer CMake files. - Add 'libxcb' as build dependency.
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index de53f3a25b7a..8a81bfa409bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = telegram-desktop-dev
pkgdesc = Official Telegram Desktop client - development release
- pkgver = 2.4.11
+ pkgver = 2.4.13
pkgrel = 1
url = https://desktop.telegram.org/
arch = x86_64
@@ -12,7 +12,8 @@ pkgbase = telegram-desktop-dev
makedepends = range-v3
makedepends = tl-expected
makedepends = microsoft-gsl
- makedepends = libwebrtc
+ makedepends = libtg_owt
+ makedepends = libxcb
depends = hunspell
depends = ffmpeg
depends = hicolor-icon-theme
@@ -27,7 +28,7 @@ pkgbase = telegram-desktop-dev
optdepends = ttf-opensans: default Open Sans font family
provides = telegram-desktop
conflicts = telegram-desktop
- source = tdesktop::git+https://github.com/telegramdesktop/tdesktop#tag=v2.4.11
+ source = tdesktop::git+https://github.com/telegramdesktop/tdesktop#commit=3297bdadb564da8143dabae46b53e35e126b41fa
source = Catch::git+https://github.com/philsquared/Catch
source = cmake::git+https://github.com/desktop-app/cmake_helpers.git
source = codegen::git+https://github.com/desktop-app/codegen.git
diff --git a/PKGBUILD b/PKGBUILD
index 0dafedfdf5da..908618a15cfe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Thanks Nicholas Guriev <guriev-ns@ya.ru> for the initial patches!
# https://github.com/mymedia2/tdesktop
pkgname=telegram-desktop-dev
-pkgver=2.4.11
+pkgver=2.4.13
pkgrel=1
pkgdesc='Official Telegram Desktop client - development release'
arch=(x86_64)
@@ -12,13 +12,15 @@ url="https://desktop.telegram.org/"
license=('GPL3')
depends=('hunspell' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'qt5-wayland' 'gtk3')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 'microsoft-gsl' 'libwebrtc')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 'microsoft-gsl' 'libtg_owt'
+ 'libxcb')
optdepends=('ttf-opensans: default Open Sans font family')
provides=(telegram-desktop)
conflicts=(telegram-desktop)
-_commit="tag=v$pkgver"
-#_commit="commit=COMMIT_SHA1"
+#_commit="tag=v$pkgver"
+# 2.4.13 with proper XCB libs resolution
+_commit="commit=3297bdadb564da8143dabae46b53e35e126b41fa"
# All the sources are Git repositories and might be adjusted when a build issue arise.
# These files might require modifications to be up-to-date.
@@ -160,7 +162,6 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DTDESKTOP_API_ID=611335 \
-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c \
- -DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON \
-DTDESKTOP_LAUNCHER_BASENAME="telegram-desktop" \
-DDESKTOP_APP_SPECIAL_TARGET=""
ninja -C build