diff options
author | Giovanni Santini | 2023-02-14 15:20:14 +0100 |
---|---|---|
committer | Giovanni Santini | 2023-02-14 15:20:14 +0100 |
commit | 513dd40550a09bcf1985fd55ce1738241860009d (patch) | |
tree | 4bf3db0116ce3c9770d452a8767af11cfafe72aa | |
parent | 443a70e8185a27fd3f49a7bd994832a5565ed9ba (diff) | |
download | aur-513dd40550a09bcf1985fd55ce1738241860009d.tar.gz |
upgpkg: telegram-desktop-dev 4.6.2-1
- Version bump.
- PKGBUILD updates tracking upstream.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 8 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = telegram-desktop-dev pkgdesc = Official Telegram Desktop client - development release - pkgver = 4.6.1 + pkgver = 4.6.2 pkgrel = 1 url = https://desktop.telegram.org/ arch = x86_64 @@ -43,7 +43,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=v4.6.1 + source = tdesktop::git+https://github.com/telegramdesktop/tdesktop#tag=v4.6.2 source = ensure_qt6_build.patch source = cld3::git+https://github.com/google/cld3.git source = cmake::git+https://github.com/desktop-app/cmake_helpers.git @@ -13,7 +13,7 @@ # You can pass parameters to `ninja` via MAKEFLAGS pkgname=telegram-desktop-dev -pkgver=4.6.1 +pkgver=4.6.2 pkgrel=1 pkgdesc='Official Telegram Desktop client - development release' arch=(x86_64) @@ -175,24 +175,19 @@ prepare() { } build() { - cd "$srcdir/tdesktop" - + CXXFLAGS+=' -ffat-lto-objects' # 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! - cmake \ - -B build \ - -G Ninja \ + cmake -B build -S tdesktop -G Ninja \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DCMAKE_BUILD_TYPE=Release \ -DTDESKTOP_API_ID=611335 \ -DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c - ninja -C build $MAKEFLAGS + cmake --build build -- $MAKEFLAGS } package() { - cd "$srcdir/tdesktop" - DESTDIR="$pkgdir" ninja -C build install - # They botched the release and put a lot of stuff here. - rm -rf "$pkgdir/build" + DESTDIR="$pkgdir" cmake --install build } |