diff options
author | Allen Wild | 2018-11-17 00:58:08 -0500 |
---|---|---|
committer | Allen Wild | 2018-11-17 00:58:08 -0500 |
commit | 462e7af7506abfa2305504bc7ad2849354228d61 (patch) | |
tree | 2888d3e8d0a920006a385a1c18df1640891adf74 /PKGBUILD | |
parent | 2369dc3f102393fda72b672c257b07877c4e2c1e (diff) | |
download | aur-462e7af7506abfa2305504bc7ad2849354228d61.tar.gz |
update to 1.4.7-1: now includes option to set custom API keys
Telegram now requires that you specify API keys to the build system
rather than defaulting them. This PKGBUILD uses the test keys but you
can set _api_id and _api_hash to your own keys if desired.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -5,9 +5,14 @@ # Thanks Nicholas Guriev <guriev-ns@ya.ru> for the patches! # https://github.com/mymedia2/tdesktop +# Telegram API credentials. The defaults below are Telegram's test keys. +# You may use you your own here for better API performance +_api_id='17349' +_api_hash='344583e45741c457fe1862106095a5eb' + pkgname=telegram-desktop-systemqt-notoemoji -pkgver=1.4.4 -pkgrel=2 +pkgver=1.4.7 +pkgrel=1 pkgdesc='Official Telegram Desktop client (with noto emoji)' arch=('x86_64') url="https://desktop.telegram.org/" @@ -83,6 +88,7 @@ build() { export CXXFLAGS="$CXXFLAGS $EXTRA_FLAGS" gyp \ -Dbuild_defines=${GYP_DEFINES} \ + -Dapi_id=${_api_id} -Dapi_hash=${_api_hash} \ -Gconfig=Release \ --depth=Telegram/gyp --generator-output=../.. -Goutput_dir=out Telegram/gyp/Telegram.gyp --format=cmake NUM=$((`wc -l < out/Release/CMakeLists.txt` - 2)) |