summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Lönnqvist2020-12-15 20:27:47 +0200
committerBen Lönnqvist2020-12-15 20:27:47 +0200
commitdcd7a2d3f0ccd24d8723bf7e5955e79476c72fdd (patch)
tree083e97696777f9c3557447458e36ac7b25d89b8a
parentbea817d6a5ecbfcc24a59f6309cb1d66b2ec696a (diff)
downloadaur-dcd7a2d3f0ccd24d8723bf7e5955e79476c72fdd.tar.gz
upgpkg: telegram-desktop-dev 2.4.14-2
- Fix path for changelog file
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 349609843fcb..0b38b115f6e1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = telegram-desktop-dev
pkgdesc = Official Telegram Desktop client - development release
pkgver = 2.4.14
- pkgrel = 1
+ pkgrel = 2
url = https://desktop.telegram.org/
arch = x86_64
license = GPL3
@@ -28,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#commit=3297bdadb564da8143dabae46b53e35e126b41fa
+ source = tdesktop::git+https://github.com/telegramdesktop/tdesktop#tag=v2.4.14
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 52933242c980..f33f09bab379 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
# https://github.com/mymedia2/tdesktop
pkgname=telegram-desktop-dev
pkgver=2.4.14
-pkgrel=1
+pkgrel=2
pkgdesc='Official Telegram Desktop client - development release'
arch=(x86_64)
url="https://desktop.telegram.org/"
@@ -18,9 +18,7 @@ optdepends=('ttf-opensans: default Open Sans font family')
provides=(telegram-desktop)
conflicts=(telegram-desktop)
-#_commit="tag=v$pkgver"
-# 2.4.13 with proper XCB libs resolution
-_commit="commit=3297bdadb564da8143dabae46b53e35e126b41fa"
+_commit="tag=v$pkgver"
# 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.
@@ -146,6 +144,8 @@ prepare() {
# Official package patches
cd cmake
echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a external/webrtc/CMakeLists.txt
+ # change the changelog path from '../changelog.txt' to '../../changelog.txt'
+ sed -i 's/\.\.\/changelog/\.\.\/\.\.\/changelog/g' "$srcdir/tdesktop/Telegram/CMakeLists.txt"
}
build() {