parent
aecf307fdb
commit
5a7c2e61e8
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'telegram-desktop'
|
# Template file for 'telegram-desktop'
|
||||||
pkgname=telegram-desktop
|
pkgname=telegram-desktop
|
||||||
version=2.0.1
|
version=2.0.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="tdesktop-${version}-full"
|
wrksrc="tdesktop-${version}-full"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper="qemu"
|
build_helper="qemu"
|
||||||
|
@ -21,7 +21,7 @@ makedepends="alsa-lib-devel ffmpeg-devel libdbusmenu-glib-devel libopenal-devel
|
||||||
minizip-devel opus-devel xxHash-devel pulseaudio-devel qt5-devel range-v3
|
minizip-devel opus-devel xxHash-devel pulseaudio-devel qt5-devel range-v3
|
||||||
libva-devel rapidjson liblz4-devel liblzma-devel rlottie-devel
|
libva-devel rapidjson liblz4-devel liblzma-devel rlottie-devel
|
||||||
MesaLib-devel libdbusmenu-qt5-devel $(vopt_if spellcheck hunspell-devel)"
|
MesaLib-devel libdbusmenu-qt5-devel $(vopt_if spellcheck hunspell-devel)"
|
||||||
depends="qt5-imageformats qt5>=5.13.2<5.13.3"
|
depends="qt5-imageformats qt5-core>=5.14.2<5.14.3"
|
||||||
short_desc="Telegram Desktop messaging app"
|
short_desc="Telegram Desktop messaging app"
|
||||||
maintainer="John <johnz@posteo.net>"
|
maintainer="John <johnz@posteo.net>"
|
||||||
license="GPL-3.0-or-later WITH OpenSSL"
|
license="GPL-3.0-or-later WITH OpenSSL"
|
||||||
|
@ -52,7 +52,7 @@ fi
|
||||||
post_extract() {
|
post_extract() {
|
||||||
_qt5_dep_ver="${depends#*>=}"
|
_qt5_dep_ver="${depends#*>=}"
|
||||||
_qt5_dep_ver="${_qt5_dep_ver%<*}"
|
_qt5_dep_ver="${_qt5_dep_ver%<*}"
|
||||||
_qt5_version="$(xbps-uhelper version qt5)"
|
_qt5_version="$(xbps-uhelper version qt5-core)"
|
||||||
|
|
||||||
if [[ "${_qt5_version%_*}" != "${_qt5_dep_ver}" ]]; then
|
if [[ "${_qt5_version%_*}" != "${_qt5_dep_ver}" ]]; then
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in New Issue