aboutsummaryrefslogtreecommitdiffstats
path: root/testing/telegram-desktop
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-06 13:32:39 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-06 13:51:04 -0300
commitbea20b3fa7d16839f744223c6482f231e3c276af (patch)
tree05ba03cb371161a5028498d83fe55711fcd36d0d /testing/telegram-desktop
parent5fe0f1e29752ddf9d7121cc05d3311d26b2daeb0 (diff)
downloadaports-bea20b3fa7d16839f744223c6482f231e3c276af.tar.bz2
aports-bea20b3fa7d16839f744223c6482f231e3c276af.tar.xz
testing/telegram-desktop: upgrade to 1.8.4
Diffstat (limited to 'testing/telegram-desktop')
-rw-r--r--testing/telegram-desktop/APKBUILD20
1 files changed, 17 insertions, 3 deletions
diff --git a/testing/telegram-desktop/APKBUILD b/testing/telegram-desktop/APKBUILD
index e852bb805b..b0e5b5ee77 100644
--- a/testing/telegram-desktop/APKBUILD
+++ b/testing/telegram-desktop/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# TODO(Leo): remove pulseaudio dep, use system xxhash
pkgname=telegram-desktop
-pkgver=1.8.3
+pkgver=1.8.4
# https://github.com/telegramdesktop/tdesktop/blob/v$pkgver/docs/building-cmake.md
_libtgvoip_commit=d4a0f719ffd8d29e88474f67abc9fc862661c3b9
_gsl_commit=d846fe50a3f0bb7767c7e087a05f4be95f4da0ec
@@ -38,7 +38,6 @@ makedepends="
alsa-lib-dev
libexecinfo-dev
python2
- range-v3-dev<0.9.0
rapidjson-dev
lz4-dev
pulseaudio-dev
@@ -94,6 +93,21 @@ prepare() {
# disable static-qt for rlottie
sed "/RLOTTIE_WITH_STATIC_QT/d" -i "$builddir/Telegram/gyp/lib_rlottie.gyp"
+
+ # fix C++ ranges::sized_iterator_range
+ sed -e "s/ranges::make_iterator_range/ranges::subrange/g" \
+ -i "$builddir/Telegram/SourceFiles/data/data_channel.cpp" \
+ -i "$builddir/Telegram/SourceFiles/chat_helpers/emoji_keywords.cpp" \
+ -i "$builddir/Telegram/SourceFiles/media/streaming/media_streaming_reader.cpp" \
+ -i "$builddir/Telegram/SourceFiles/ui/widgets/input_fields.cpp" \
+ -i "$builddir/Telegram/SourceFiles/ui/text/text_entity.cpp"
+
+ sed -e "s/make_iterator_range/ranges::subrange/g" \
+ -i "$builddir/Telegram/SourceFiles/history/history_inner_widget.cpp"
+
+ sed -e "/int remainder = 0;/a inline bool operator==(const PercentCounterItem &o) const { return !(*this < o) && !(o < *this);}" \
+ -i "$builddir/Telegram/SourceFiles/history/view/media/history_view_poll.cpp"
+
}
build() {
@@ -139,7 +153,7 @@ package() {
done
}
-sha512sums="9ca0536cde94bf39237cb29fc68e741dedbfe03d31a1a65096151c72fbf977424c612646d3ef6e7b7237201da2e88ea035b55504fa9482c0bbfac9465240e52b telegram-desktop-1.8.3.tar.gz
+sha512sums="a1f460e145df99dfe769d597b36ed27884b8b012b7e0800fabbef26f5f145d5986ae17b19c0b3bdab5740dde81477f3da2cabd4b4c4d4bdc7b6fe8cb037c56e2 telegram-desktop-1.8.4.tar.gz
14eaadcb4ec25e7d603d3965f8dc003f0509bc215916e0f5e092564c76d2a440a8edc9e5e61ae279c0b18edffaa401df6aedc766c1e7355357bfb1c95e2b5f50 libtgvoip-d4a0f719ffd8d29e88474f67abc9fc862661c3b9.tar.gz
83560cb0c39b6a4781e916c6081ad2728296e1b19760ca1b6426a8431fb6d7093760a882c539dd77152f5892fe081b1795af6366ea91385bb10aba6adf27170f GSL-d846fe50a3f0bb7767c7e087a05f4be95f4da0ec.tar.gz
537ce0a1731274da63a5be063311f7113c1391081e43970663a994b82a7b2e860302406c2931184789661d86343b2c60064c7014b73dc42799573f5b93bc12ff variant-550ac2f159ca883d360c196149b466955c77a573.tar.gz