telegram-desktop: disable autoupdate properly
and some minor cleanup of unused things resolves #10107
This commit is contained in:
parent
1872472c48
commit
a296c87e07
3 changed files with 5 additions and 9 deletions
|
@ -130,8 +130,8 @@ file(GLOB_RECURSE SUBDIRS_SOURCE_FILES
|
|||
add_executable(Telegram WIN32 ${QRC_FILES} ${FLAT_SOURCE_FILES} ${SUBDIRS_SOURCE_FILES})
|
||||
|
||||
set(TELEGRAM_COMPILE_DEFINITIONS
|
||||
TDESKTOP_DISABLE_AUTOUPDATE
|
||||
TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION
|
||||
TDESKTOP_DISABLE_UNITY_INTEGRATION
|
||||
NOMINMAX
|
||||
__STDC_FORMAT_MACROS
|
||||
)
|
||||
|
|
|
@ -23,7 +23,7 @@ index 0a80695..550b9f7 100644
|
|||
Comment=Official desktop version of Telegram messaging app
|
||||
-Exec=telegram-desktop -- %u
|
||||
-Icon=telegram
|
||||
+Exec=env SESSION_MANAGER= Telegram -externalupdater -- %u
|
||||
+Exec=env SESSION_MANAGER= Telegram -- %u
|
||||
+Icon=telegram
|
||||
Terminal=false
|
||||
StartupWMClass=TelegramDesktop
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'telegram-desktop'
|
||||
pkgname=telegram-desktop
|
||||
version=1.6.1
|
||||
revision=1
|
||||
revision=2
|
||||
_libtgvoip_commit=16711e202393ae7e1b160436f4291c5f06a3d375
|
||||
_GSL_commit=d846fe50a3f0bb7767c7e087a05f4be95f4da0ec
|
||||
_variant_commit=550ac2f159ca883d360c196149b466955c77a573
|
||||
|
@ -36,8 +36,8 @@ checksum="eb092e6752c3802250f54f95af39d2e7c2f346a587caff8e8dc501d91c3de5b4
|
|||
0f4143814b17d61d09c6a7fb6764ce74756ec14c0aab94cd65758f7b5a6d2928
|
||||
d24e6d9df2b8aa5739d3b9077c6b0ff0ef4d5ef8acc52c3a57e32893854d8d18"
|
||||
|
||||
build_options="clang custom_api_id pulseaudio"
|
||||
build_options_default="pulseaudio custom_api_id"
|
||||
build_options="clang pulseaudio"
|
||||
build_options_default="pulseaudio"
|
||||
|
||||
CXXFLAGS="-DTDESKTOP_API_ID=209235 -DTDESKTOP_API_HASH=169ee702e1df4b6e66d80311db36cc43"
|
||||
|
||||
|
@ -104,10 +104,6 @@ post_extract() {
|
|||
|
||||
mkdir -p ${build_wrksrc}/native
|
||||
cp ${FILESDIR}/TelegramCodegenTools.cmake ${build_wrksrc}/native/CMakeLists.txt
|
||||
mkdir ${wrksrc}/TelegramPrivate
|
||||
if [ -r "$FILESDIR/custom_api_id.h" ]; then
|
||||
cp "${FILESDIR}/custom_api_id.h" "${wrksrc}/TelegramPrivate"
|
||||
fi
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
|
|
Loading…
Reference in a new issue