Telegram: bump version

This commit is contained in:
Gerasim Troeglazov
2025-05-26 19:44:34 +10:00
parent cf774c6a5e
commit 0c40675c10

View File

@@ -3,9 +3,9 @@ DESCRIPTION="Unofficial build of the original Telegram client for Haiku."
HOMEPAGE="https://www.telegram.org/"
COPYRIGHT="2013-2025 Telegram"
LICENSE="GNU GPL v3"
REVISION="2"
REVISION="1"
SOURCE_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v$portVersion/tdesktop-$portVersion-full.tar.gz"
CHECKSUM_SHA256="caa37bbf7d9fcdfecdb5f596f02a44becbe468ea5c6af7f3c670b61952744a80"
CHECKSUM_SHA256="af15716f053403dc42233775e931a711759c8f0468a0aff5f3dfabdf98bf6861"
SOURCE_FILENAME="tdesktop-$portVersion-full.tar.gz"
SOURCE_DIR="tdesktop-$portVersion-full"
SOURCE_URI_2="https://github.com/ada-url/ada/releases/download/v2.9.0/singleheader.zip"
@@ -15,7 +15,6 @@ SOURCE_URI_3="https://salsa.debian.org/debian/telegram-desktop/-/raw/$srcGitRev_
CHECKSUM_SHA256_3="613e7e357518739e1f7d035337f37c344b248283fd4d916ddc95df73c2ff84ad"
PATCHES="
libtgvoip-$portVersion.patchset
telegram_desktop-$portVersion.patchset
pch_disable-$portVersion.patchset
"
@@ -108,6 +107,7 @@ BUILD_REQUIRES="
devel:librapidjson$secondaryArchSuffix
devel:librnnoise$secondaryArchSuffix
devel:libsigc_3.0$secondaryArchSuffix
devel:libtde2e$secondaryArchSuffix
devel:libtg_owt$secondaryArchSuffix
devel:libvpx$secondaryArchSuffix
devel:libxxhash$secondaryArchSuffix
@@ -175,6 +175,7 @@ BUILD()
cmake -S . -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS_RELEASE="$CXX_FLAGS_RELEASE" \
-DCMAKE_EXE_LINKER_FLAGS="-lnetwork -lbe -lmedia" \
-DCMAKE_DISABLE_PRECOMPILE_HEADERS=$DISABLE_PRECOMPILE_HEADERS \
-DBoost_USE_STATIC_LIBS=OFF \
-DBUILD_SHARED_LIBS=ON \
@@ -200,7 +201,7 @@ BUILD()
# hack for info_profile_actions.cpp file (fix OOM error)
if [ $targetArchitecture == x86_gcc2 ]; then
sed -i -e '/info_profile_actions\.cpp\.o:/,/^$/{ /^[[:space:]]*FLAGS[[:space:]]*=/s/-O1/-O0/ }' $sourceDir/build/build.ninja
sed -i -e '/info_profile_actions\.cpp\.o:/,/^$/{ /^[[:space:]]*FLAGS[[:space:]]*=/s/-O1/-Os/ }' $sourceDir/build/build.ninja
fi
ninja -C build -v $jobArgs