diff options
author | alesar1 | 2023-03-23 00:18:37 +0100 |
---|---|---|
committer | alesar1 | 2023-03-23 00:18:37 +0100 |
commit | 19daa0b81eefde2fbffae416756306dd9fa3366d (patch) | |
tree | 19fce6e386882d621ee3f29cf168b0e772790f6e | |
parent | 6a33dcf910a027522493f8cc5fbb28dfbfa5b7d9 (diff) | |
download | aur-19daa0b81eefde2fbffae416756306dd9fa3366d.tar.gz |
update to v 1.0.81
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 19 insertions, 14 deletions
@@ -1,6 +1,6 @@ pkgbase = 64gram-desktop pkgdesc = Unofficial desktop version of Telegram messaging app - pkgver = 1.0.80 + pkgver = 1.0.81 pkgrel = 1 epoch = 1 url = https://github.com/TDesktop-x64/tdesktop @@ -18,13 +18,14 @@ pkgbase = 64gram-desktop makedepends = wayland-protocols makedepends = plasma-wayland-protocols makedepends = libtg_owt - makedepends = qt6-tools + makedepends = p7zip depends = hunspell depends = ffmpeg depends = hicolor-icon-theme depends = lz4 depends = minizip depends = openal + depends = ttf-opensans depends = qt6-imageformats depends = qt6-svg depends = qt6-wayland @@ -44,9 +45,10 @@ pkgbase = 64gram-desktop optdepends = xdg-desktop-portal: desktop integration provides = telegram-desktop conflicts = telegram-desktop - source = https://github.com/TDesktop-x64/tdesktop/releases/download/v1.0.80/64Gram-1.0.80-full.tar.gz + noextract = 64Gram-1.0.81-full.tar.gz + source = https://github.com/TDesktop-x64/tdesktop/releases/download/v1.0.81/64Gram-1.0.81-full.tar.gz source = block-sponsored_messages.patch - sha512sums = dd40c911573e345cf75f8c9b01a917085ba8c81655626720f064c3997e540f0082ceb0443a0b80b266da161b86ede41a8e85ff8e4ec8eea26652d2621625391b + sha512sums = 25bc2ef3462e4d3df579a91f4266b7f496e565c0c5fb4be92b7f6a78a2ff9aa03eff9f47712c2d0743afff4ab31caadefc905ecf5db4b62492fb35513ca0b7dc sha512sums = c662524ca4f4a8df021ee94696d84896ed9a271df321933942806dda4544ea25f51a650ec8b4fc72f9a2219ea54cbfaf37b9604124f7263c86f74f1d647587ae pkgname = 64gram-desktop @@ -3,47 +3,50 @@ # Contributor: KspLite <ksplite@outlook.com> pkgname=64gram-desktop _pkgname=64Gram -pkgver=1.0.80 +pkgver=1.0.81 pkgrel=1 epoch=1 pkgdesc='Unofficial desktop version of Telegram messaging app' arch=('x86_64') url="https://github.com/TDesktop-x64/tdesktop" license=('GPL3') -depends=('hunspell' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal' +depends=('hunspell' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal' 'ttf-opensans' 'qt6-imageformats' 'qt6-svg' 'qt6-wayland' 'qt6-5compat' 'xxhash' 'glibmm-2.68' - 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp' 'libdispatch' 'openssl-1.1' 'protobuf') + 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp' 'libdispatch' + 'openssl-1.1' 'protobuf') makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 'microsoft-gsl' 'meson' - 'extra-cmake-modules' 'wayland-protocols' 'plasma-wayland-protocols' 'libtg_owt' 'qt6-tools') + 'extra-cmake-modules' 'wayland-protocols' 'plasma-wayland-protocols' 'libtg_owt' 'p7zip') optdepends=('webkit2gtk: embedded browser features' 'xdg-desktop-portal: desktop integration') provides=(telegram-desktop) conflicts=(telegram-desktop) source=("https://github.com/TDesktop-x64/tdesktop/releases/download/v${pkgver}/${_pkgname}-${pkgver}-full.tar.gz" "block-sponsored_messages.patch") -sha512sums=('dd40c911573e345cf75f8c9b01a917085ba8c81655626720f064c3997e540f0082ceb0443a0b80b266da161b86ede41a8e85ff8e4ec8eea26652d2621625391b' +noextract=("${_pkgname}-${pkgver}-full.tar.gz") +sha512sums=('25bc2ef3462e4d3df579a91f4266b7f496e565c0c5fb4be92b7f6a78a2ff9aa03eff9f47712c2d0743afff4ab31caadefc905ecf5db4b62492fb35513ca0b7dc' 'c662524ca4f4a8df021ee94696d84896ed9a271df321933942806dda4544ea25f51a650ec8b4fc72f9a2219ea54cbfaf37b9604124f7263c86f74f1d647587ae') prepare() { + 7za x ${_pkgname}-${pkgver}-full.tar.gz + tar -xvf ${_pkgname}-${pkgver}-full.tar cd $_pkgname-$pkgver-full rm -rf Telegram/ThirdParty/libtgvoip/webrtc_dsp/absl patch -Np1 --binary -i ../block-sponsored_messages.patch } build() { - cd "${srcdir}/$_pkgname-$pkgver-full" + CXXFLAGS+=' -ffat-lto-objects' cmake \ -B build \ + -S $_pkgname-$pkgver-full \ -G Ninja \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DCMAKE_BUILD_TYPE=Release \ -DDESKTOP_APP_DISABLE_AUTOUPDATE=ON \ -DTDESKTOP_API_TEST=ON - sed -i '/LINK_LIBRARIES/s/$/ \/usr\/lib\/liblzma.so/' build/build.ninja - ninja -C build + cmake --build build } package() { - cd $_pkgname-$pkgver-full - DESTDIR=$pkgdir ninja -C build install + DESTDIR="$pkgdir" cmake --install build install -Dm644 /dev/null "$pkgdir/etc/tdesktop/externalupdater" } |