diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 16 insertions, 17 deletions
@@ -1,6 +1,6 @@ pkgbase = telegram-desktop-dev pkgdesc = Official Telegram Desktop client - development release - pkgver = 3.5.2 + pkgver = 3.6.0 pkgrel = 1 url = https://desktop.telegram.org/ arch = x86_64 @@ -18,7 +18,7 @@ pkgbase = telegram-desktop-dev makedepends = plasma-wayland-protocols makedepends = libtg_owt depends = hunspell - depends = ffmpeg + depends = ffmpeg4.4 depends = hicolor-icon-theme depends = lz4 depends = minizip @@ -41,7 +41,7 @@ pkgbase = telegram-desktop-dev optdepends = xdg-desktop-portal: desktop integration provides = telegram-desktop conflicts = telegram-desktop - source = tdesktop::git+https://github.com/telegramdesktop/tdesktop#tag=v3.5.2 + source = tdesktop::git+https://github.com/telegramdesktop/tdesktop#tag=v3.6.0 source = cmake::git+https://github.com/desktop-app/cmake_helpers.git source = codegen::git+https://github.com/desktop-app/codegen.git source = dispatch::git+https://github.com/apple/swift-corelibs-libdispatch @@ -1,11 +1,11 @@ # Maintainer: Giovanni 'ItachiSan' Santini <giovannisantini93@yahoo.it> # Maintainer: silentnoodle <lonnqvistben at gmail dot com> -# Contributor: Sven-Hendrik Haase <svenstaro@gmail.com> +# Contributor: Sven-Hendrik Haase <svenstaro@archlinux.org> # Contributor: hexchain <i@hexchain.org> # Thanks Nicholas Guriev <guriev-ns@ya.ru> for the initial patches! # https://github.com/mymedia2/tdesktop pkgname=telegram-desktop-dev -pkgver=3.5.2 +pkgver=3.6.0 pkgrel=1 pkgdesc='Official Telegram Desktop client - development release' arch=(x86_64) @@ -13,8 +13,7 @@ url="https://desktop.telegram.org/" license=('GPL3') # Although not in order, keeping them in the same order of the standard package # for my mental sanity. -# ffmpeg -> ffmpeg4.4 when it is out and stable -depends=('hunspell' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal' 'ttf-opensans' +depends=('hunspell' 'ffmpeg4.4' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal' 'ttf-opensans' 'qt6-imageformats' 'qt6-svg' 'qt6-wayland' 'qt6-5compat' 'xxhash' 'glibmm' 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp' 'libdispatch') makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 'microsoft-gsl' 'meson' @@ -165,8 +164,8 @@ build() { # Fix https://bugs.archlinux.org/task/73220 export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS" - # Be sure to use FFmpeg 4.4, when it is stable - #export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig' + # Be sure to use FFmpeg 4.4 + export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig' # Turns out we're allowed to use the official API key that telegram uses for their snap builds: # https://github.com/telegramdesktop/tdesktop/blob/8fab9167beb2407c1153930ed03a4badd0c2b59f/snap/snapcraft.yaml#L87-L88 # Thanks @primeos! @@ -177,14 +176,14 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DTDESKTOP_API_ID=611335 \ -DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c - # Hack to compile for ffmpeg4.4, when it is available - #sed -i "s|/usr/lib/libav|/usr/lib/ffmpeg4.4/libav|g" build/build.ninja - #sed -i "s|/usr/lib/libsw|/usr/lib/ffmpeg4.4/libsw|g" build/build.ninja - #sed -i "s|-lavcodec|/usr/lib/ffmpeg4.4/libavcodec.so|g" build/build.ninja - #sed -i "s|-lavformat|/usr/lib/ffmpeg4.4/libavformat.so|g" build/build.ninja - #sed -i "s|-lavutil|/usr/lib/ffmpeg4.4/libavutil.so|g" build/build.ninja - #sed -i "s|-lswscale|/usr/lib/ffmpeg4.4/libswscale.so|g" build/build.ninja - #sed -i "s|-lswresample|/usr/lib/ffmpeg4.4/libswresample.so|g" build/build.ninja + # Hack to compile for ffmpeg4.4 + sed -i "s|/usr/lib/libav|/usr/lib/ffmpeg4.4/libav|g" build/build.ninja + sed -i "s|/usr/lib/libsw|/usr/lib/ffmpeg4.4/libsw|g" build/build.ninja + sed -i "s|-lavcodec|/usr/lib/ffmpeg4.4/libavcodec.so|g" build/build.ninja + sed -i "s|-lavformat|/usr/lib/ffmpeg4.4/libavformat.so|g" build/build.ninja + sed -i "s|-lavutil|/usr/lib/ffmpeg4.4/libavutil.so|g" build/build.ninja + sed -i "s|-lswscale|/usr/lib/ffmpeg4.4/libswscale.so|g" build/build.ninja + sed -i "s|-lswresample|/usr/lib/ffmpeg4.4/libswresample.so|g" build/build.ninja ninja -C build } |