TDLib 1.3.0

This commit is contained in:
Aleksandr Zelenin 2018-09-06 00:45:29 +03:00
parent c6ff1e1387
commit 74bc598956
7 changed files with 9434 additions and 955 deletions

View file

@ -1,4 +1,4 @@
TAG := v1.2.0 TAG := v1.3.0
schema-update: schema-update:
curl https://raw.githubusercontent.com/tdlib/td/${TAG}/td/generate/scheme/td_api.tl 2>/dev/null > ./data/td_api.tl curl https://raw.githubusercontent.com/tdlib/td/${TAG}/td/generate/scheme/td_api.tl 2>/dev/null > ./data/td_api.tl

View file

@ -1,6 +1,6 @@
# go-tdlib # go-tdlib
Go wrapper for [TDLib (Telegram Database Library)](https://github.com/tdlib/td) with full support of TDLib v1.2.0 Go wrapper for [TDLib (Telegram Database Library)](https://github.com/tdlib/td) with full support of TDLib v1.3.0
## TDLib installation ## TDLib installation
@ -20,6 +20,7 @@ apt-get install -y tdlib-dev
```bash ```bash
apt-get update -y apt-get update -y
apt-get install -y \ apt-get install -y \
bc \
build-essential \ build-essential \
ca-certificates \ ca-certificates \
ccache \ ccache \
@ -29,12 +30,12 @@ apt-get install -y \
libssl-dev \ libssl-dev \
libreadline-dev \ libreadline-dev \
zlib1g-dev zlib1g-dev
git clone --depth 1 -b "v1.2.0" "https://github.com/tdlib/td.git" ./tdlib-src git clone --depth 1 -b "v1.3.0" "https://github.com/tdlib/td.git" ./tdlib-src
mkdir ./tdlib-src/build mkdir ./tdlib-src/build
cd ./tdlib-src/build cd ./tdlib-src/build
cmake -j$(getconf _NPROCESSORS_ONLN) -DCMAKE_BUILD_TYPE=Release .. cmake -j$(echo 'scale=0; ('$(getconf _NPROCESSORS_ONLN)'+1)*3/4' | bc) -DCMAKE_BUILD_TYPE=Release ..
cmake -j$(getconf _NPROCESSORS_ONLN) --build . cmake -j$(echo 'scale=0; ('$(getconf _NPROCESSORS_ONLN)'+1)*3/4' | bc) --build .
make -j$(getconf _NPROCESSORS_ONLN) install make -j$(echo 'scale=0; ('$(getconf _NPROCESSORS_ONLN)'+1)*3/4' | bc) install
rm -rf ./../../tdlib-src rm -rf ./../../tdlib-src
``` ```

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff