Telegram: fix Qt verson

This commit is contained in:
Sergei Reznikov
2017-12-01 15:09:25 +03:00
parent ffe26e5d2d
commit 533c70dc3d

View File

@@ -3,7 +3,7 @@ DESCRIPTION="Official desktop version of Telegram messaging app."
HOMEPAGE="https://www.telegram.org/"
COPYRIGHT="2013-2017 Telegram"
LICENSE="GNU GPL v3"
REVISION="7"
REVISION="8"
SOURCE_URI="https://github.com/telegramdesktop/tdesktop/archive/v$portVersion.tar.gz"
SOURCE_DIR="tdesktop-$portVersion"
CHECKSUM_SHA256="56b7fce84adf85a4af1c3174353169f32d0b0c052a4e7a284fc741fa96b04030"
@@ -78,6 +78,11 @@ BUILD_PREREQUIRES="
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
PATCH()
{
local qt_version=`pkg-config --modversion Qt5Core`
sed -i "s/5.9.2/$qt_version/g" Telegram/gyp/qt.gypi
}
BUILD()
{