1
0
telegram-desktop/tg_owt-packager.sh
Xu Zhao f67d177786 - Update to version 5.4.1
* Fix crash when sending Star Reaction in comments.
  * Fix loading "Send As" channels in a channel.
  * Place Star Reaction always first in list.
  * Removed paid Invite Links in groups.
- Add 0005-use-bundled-ada.patch
- Add 0006-tdesktop-disable-h264.patch
- Add 0007-tg-owt-disable-h264.patch

OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=330
2024-08-22 02:20:21 +00:00

23 lines
694 B
Bash

#! /bin/bash
# tg_owt origin
# get it from https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/build/docker/centos_env/Dockerfile around line 761
tg_owt_origin="4a60ce1ab9fdb962004c6a959f682ace3db50cbd"
rm -rf tg_owt \
&& mkdir tg_owt \
&& cd tg_owt \
&& git init tg_owt \
&& cd tg_owt \
&& git remote add origin https://github.com/desktop-app/tg_owt.git \
&& git fetch --depth=1 origin "$tg_owt_origin" \
&& git reset --hard FETCH_HEAD \
&& git submodule update --init --recursive --depth=1 \
&& rm -rf .git \
&& cd .. \
&& mv tg_owt tg_owt-master \
&& zip tg_owt-master.zip -r tg_owt-master -x '*.git*' \
&& mv tg_owt-master.zip ..
cd ..; rm -rf tg_owt