Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: telegram-desktop 3.4.2-2: Build against Qt6 (FS#72946)
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-community/svn@1091644 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
svenstaro authored and svntogit committed Jan 1, 2022
1 parent 8e4aa3b commit b0d894a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@
# Contributor: hexchain <i@hexchain.org>
pkgname=telegram-desktop
pkgver=3.4.2
pkgrel=1
pkgrel=2
pkgdesc='Official Telegram Desktop client'
arch=('x86_64')
url="https://desktop.telegram.org/"
license=('GPL3')
depends=('hunspell' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal' 'ttf-opensans'
'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 'kwayland' 'glibmm'
'qt6-imageformats' 'qt6-svg' 'qt6-wayland' 'qt6-5compat' 'xxhash' 'glibmm'
'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 'microsoft-gsl'
'extra-cmake-modules' 'gtk3' 'webkit2gtk' 'libtg_owt')
optdepends=('gtk3: GTK environment integration'
'webkit2gtk: embedded browser features'
'extra-cmake-modules' 'wayland-protocols' 'plasma-wayland-protocols' 'libtg_owt')
optdepends=('webkit2gtk: embedded browser features'
'xdg-desktop-portal: desktop integration')
source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz")
sha512sums=('00cec3bcabea78bed516940d9b048c02227c816a6455714ef1f6ecf97418e86ecf0a534e5f72c3d48377299602b06000804ec5d8cd3a640441192da249f0266e')
Expand All @@ -27,12 +26,10 @@ build() {
cmake \
-B build \
-G Ninja \
-DDESKTOP_APP_QT6=off \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_BUILD_TYPE=Release \
-DTDESKTOP_API_ID=611335 \
-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
# Use Qt5 for the time being until kwayland has an easier way to work with Qt6.
ninja -C build
}

Expand Down

0 comments on commit b0d894a

Please sign in to comment.