mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
telegram-desktop: update to 1.9.21.
This commit is contained in:
parent
224f3bed63
commit
d6195311d3
1 changed files with 9 additions and 11 deletions
|
@ -1,17 +1,17 @@
|
||||||
# Template file for 'telegram-desktop'
|
# Template file for 'telegram-desktop'
|
||||||
pkgname=telegram-desktop
|
pkgname=telegram-desktop
|
||||||
version=1.9.14
|
version=1.9.21
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="tdesktop-${version}-full"
|
wrksrc="tdesktop-${version}-full"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper="qemu"
|
build_helper="qemu"
|
||||||
configure_args="-DTDESKTOP_API_ID=209235
|
configure_args="-DTDESKTOP_API_ID=209235
|
||||||
-DTDESKTOP_API_HASH=169ee702e1df4b6e66d80311db36cc43
|
-DTDESKTOP_API_HASH=169ee702e1df4b6e66d80311db36cc43
|
||||||
-DDESKTOP_APP_USE_GLIBC_WRAPS=OFF -DTDESKTOP_USE_PACKAGED_TGVOIP=OFF
|
-DDESKTOP_APP_USE_GLIBC_WRAPS=OFF
|
||||||
-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON -DTDESKTOP_DISABLE_GTK_INTEGRATION=ON
|
-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON
|
||||||
-DTDESKTOP_LAUNCHER_BASENAME=org.telegram.desktop.desktop
|
-DTDESKTOP_LAUNCHER_BASENAME=org.telegram.desktop.desktop
|
||||||
-DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON
|
|
||||||
-DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON
|
-DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON
|
||||||
|
-DTDESKTOP_USE_PACKAGED_TGVOIP=OFF
|
||||||
-DDESKTOP_APP_USE_PACKAGED_EXPECTED=OFF
|
-DDESKTOP_APP_USE_PACKAGED_EXPECTED=OFF
|
||||||
-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF
|
-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF
|
||||||
-DDESKTOP_APP_USE_PACKAGED_GSL=OFF
|
-DDESKTOP_APP_USE_PACKAGED_GSL=OFF
|
||||||
|
@ -28,7 +28,7 @@ license="GPL-3.0-or-later WITH OpenSSL"
|
||||||
homepage="https://desktop.telegram.org/"
|
homepage="https://desktop.telegram.org/"
|
||||||
changelog="https://github.com/telegramdesktop/tdesktop/blob/v${version}/changelog.txt"
|
changelog="https://github.com/telegramdesktop/tdesktop/blob/v${version}/changelog.txt"
|
||||||
distfiles="https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz"
|
distfiles="https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz"
|
||||||
checksum=864d1d5e810e30368e60d4ea389c644387abbc803b3b5426268efa5016d15a4b
|
checksum=e1f9b58c1475a5044bc4d7a7ed5f89777e717ea5e6126707105e2c2d3032ffac
|
||||||
|
|
||||||
build_options="spellcheck"
|
build_options="spellcheck"
|
||||||
build_options_default="spellcheck"
|
build_options_default="spellcheck"
|
||||||
|
@ -39,7 +39,6 @@ esac
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
LDFLAGS="-latomic"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$XBPS_WORDSIZE" -eq 32 ]; then
|
if [ "$XBPS_WORDSIZE" -eq 32 ]; then
|
||||||
|
@ -61,9 +60,8 @@ post_extract() {
|
||||||
msg_red "${_qt5_version%_*} does not match ${_qt5_dep_ver}\\n"
|
msg_red "${_qt5_version%_*} does not match ${_qt5_dep_ver}\\n"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
ppc64*) ;;
|
vsed -e '/desktop-app::external_openal/ a atomic' \
|
||||||
armv[56]*|ppc*) vsed -e '/desktop-app::external_openal/ a atomic' \
|
-i Telegram/CMakeLists.txt
|
||||||
-i Telegram/CMakeLists.txt ;;
|
fi
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue