summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Santini2020-11-10 16:15:20 +0100
committerGiovanni Santini2020-11-10 16:15:20 +0100
commiteed4a717488a4c542d12c16f5c71388f8035599d (patch)
tree313fbb002db7ef1cfe703510e860fb0475d35cb5
parent6716ad81cc1d616c2267c7d35de41ed2934a5a3e (diff)
downloadaur-eed4a717488a4c542d12c16f5c71388f8035599d.tar.gz
upgpkg: telegram-desktop-dev 2.4.7-1
- Version bump. - Add new Arch official patch
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 980b250ff336..05bb8af92a5b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = telegram-desktop-dev
pkgdesc = Official Telegram Desktop client - development release
- pkgver = 2.4.4
+ pkgver = 2.4.7
pkgrel = 1
url = https://desktop.telegram.org/
arch = i686
@@ -28,9 +28,10 @@ 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.4
+ source = tdesktop::git+https://github.com/telegramdesktop/tdesktop#tag=v2.4.7
source = https://raw.githubusercontent.com/archlinux/svntogit-community/packages/telegram-desktop/trunk/Use-tg_owt-webrtc-fork.patch
source = Update-webrtc-packaged-build-for-tg_owt.patch::https://github.com/desktop-app/cmake_helpers/commit/d955882cb4d4c94f61a9b1df62b7f93d3c5bff7d.patch
+ source = Add_external_jpeg.patch::https://github.com/desktop-app/cmake_helpers/commit/ed9fa2e798a1f175840479417d760c51181959b8.patch
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
@@ -65,6 +66,7 @@ pkgbase = telegram-desktop-dev
sha512sums = SKIP
sha512sums = 071591c6bb71435f8186dcaf570703718051f00366dbbe3f13c4df3706d3de1f168bff4bfa707ad1d6f09f5505c925f0b01d76fd65efe904f3ba7db693d63f43
sha512sums = b3c44e76a3907f7acc197746b471564577e912bf0561e9576dc8459211c88f400716437bcaa10967376461c69c8a98a56477d26d3feb9ca34747d9208bf5f6c6
+ sha512sums = 3891f191f720e77d463365d1415ff8c20866d0d898909dcbe757d334c582c38975d47c33e82ae54e3cfbce7f46c257e9f2eb76b673a76c37446ecf1e9a9c681b
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 8953597d3ed4..ea3b3f37f570 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,10 +4,10 @@
# Thanks Nicholas Guriev <guriev-ns@ya.ru> for the initial patches!
# https://github.com/mymedia2/tdesktop
pkgname=telegram-desktop-dev
-pkgver=2.4.4
+pkgver=2.4.7
pkgrel=1
pkgdesc='Official Telegram Desktop client - development release'
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url="https://desktop.telegram.org/"
license=('GPL3')
depends=('hunspell' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
@@ -15,8 +15,8 @@ depends=('hunspell' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 'microsoft-gsl' 'libwebrtc')
optdepends=('ttf-opensans: default Open Sans font family')
-provides=('telegram-desktop')
-conflicts=('telegram-desktop')
+provides=(telegram-desktop)
+conflicts=(telegram-desktop)
_commit="tag=v$pkgver"
#_commit="commit=COMMIT_SHA1"
@@ -29,6 +29,7 @@ source=(
"tdesktop::git+https://github.com/telegramdesktop/tdesktop#$_commit"
"https://raw.githubusercontent.com/archlinux/svntogit-community/packages/telegram-desktop/trunk/Use-tg_owt-webrtc-fork.patch"
"Update-webrtc-packaged-build-for-tg_owt.patch::https://github.com/desktop-app/cmake_helpers/commit/d955882cb4d4c94f61a9b1df62b7f93d3c5bff7d.patch"
+ "Add_external_jpeg.patch::https://github.com/desktop-app/cmake_helpers/commit/ed9fa2e798a1f175840479417d760c51181959b8.patch"
"Catch::git+https://github.com/philsquared/Catch"
"cmake::git+https://github.com/desktop-app/cmake_helpers.git"
"codegen::git+https://github.com/desktop-app/codegen.git"
@@ -64,6 +65,7 @@ source=(
sha512sums=('SKIP'
'071591c6bb71435f8186dcaf570703718051f00366dbbe3f13c4df3706d3de1f168bff4bfa707ad1d6f09f5505c925f0b01d76fd65efe904f3ba7db693d63f43'
'b3c44e76a3907f7acc197746b471564577e912bf0561e9576dc8459211c88f400716437bcaa10967376461c69c8a98a56477d26d3feb9ca34747d9208bf5f6c6'
+ '3891f191f720e77d463365d1415ff8c20866d0d898909dcbe757d334c582c38975d47c33e82ae54e3cfbce7f46c257e9f2eb76b673a76c37446ecf1e9a9c681b'
'SKIP'
'SKIP'
'SKIP'
@@ -133,6 +135,7 @@ prepare() {
git config submodule.Telegram/ThirdParty/rlottie.url "$srcdir/rlottie"
git config submodule.Telegram/ThirdParty/tgcalls.url "$srcdir/tgcalls"
git config submodule.Telegram/ThirdParty/xxHash.url "$srcdir/xxHash"
+
# Magic is over!
git submodule update
@@ -146,6 +149,7 @@ prepare() {
# Official package patches
cd cmake
+ patch -R -Np1 -i ${srcdir}/Add_external_jpeg.patch
patch -R -Np1 -i ${srcdir}/Update-webrtc-packaged-build-for-tg_owt.patch
patch -R -Np1 -i ${srcdir}/Use-tg_owt-webrtc-fork.patch
sed 's|set(webrtc_build_loc ${webrtc_loc}/out/$<CONFIG>/obj)|set(webrtc_build_loc /usr/lib)|' -i external/webrtc/CMakeLists.txt