[arch-commits] Commit in telegram-desktop/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Mon Aug 2 00:30:39 UTC 2021
Date: Monday, August 2, 2021 @ 00:30:39
Author: svenstaro
Revision: 992023
upgpkg: telegram-desktop 2.9.0-4: Follow some suggestions in FS#71542)
Modified:
telegram-desktop/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-01 23:33:49 UTC (rev 992022)
+++ PKGBUILD 2021-08-02 00:30:39 UTC (rev 992023)
@@ -2,27 +2,22 @@
# Contributor: hexchain <i at hexchain.org>
pkgname=telegram-desktop
pkgver=2.9.0
-pkgrel=3
+pkgrel=4
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' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3' 'glibmm'
- 'webkit2gtk' 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 'microsoft-gsl'
- 'extra-cmake-modules')
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+ '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=('e9be60cdaeffa4efa95ea1e5d8fe50308bff5612b546fa92c02f824f479b42e098fb8fbe713e652578ee2308e3faadaf82e4c101dee0e58b6f3c70d8dcb0bd8e')
-prepare() {
- cd tdesktop-$pkgver-full/cmake
- # force webrtc link to libjpeg and X11 libs
- echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a external/webrtc/CMakeLists.txt
- echo "find_package(X11 REQUIRED COMPONENTS Xcomposite Xdamage Xext Xfixes Xrender Xrandr Xtst)" | tee -a external/webrtc/CMakeLists.txt
- echo "target_link_libraries(external_webrtc INTERFACE Xcomposite Xdamage Xext Xfixes Xrandr Xrender Xtst)" | tee -a external/webrtc/CMakeLists.txt
-}
-
build() {
cd tdesktop-$pkgver-full
More information about the arch-commits
mailing list