Date: Saturday, December 31, 2022 @ 15:32:51
Author: farseerfc
Revision: 1372677
archrelease: copy trunk to community-x86_64
Added:
telegram-desktop/repos/community-x86_64/PKGBUILD
(from rev 1372676, telegram-desktop/trunk/PKGBUILD)
Deleted:
telegram-desktop/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-31 15:32:19 UTC (rev 1372676)
+++ PKGBUILD 2022-12-31 15:32:51 UTC (rev 1372677)
@@ -1,48 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-# Contributor: hexchain <[email protected]>
-pkgname=telegram-desktop
-pkgver=4.4.1
-pkgrel=3
-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'
- 'qt6-imageformats' 'qt6-svg' 'qt6-wayland' 'qt6-5compat' 'xxhash'
'glibmm-2.68'
- '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')
-optdepends=('webkit2gtk: embedded browser features'
- 'xdg-desktop-portal: desktop integration')
-options=('debug')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz")
-sha512sums=('91038f0a615ef7ae1050cbfa614041a3d6a45fdbd26d120ef98cca3c31377612c3bb1e80f9aff58c4853a1726bf2cfb427f752a4f88a796f05b381516c981563')
-
-prepare() {
- cd tdesktop-$pkgver-full
- rm -rf Telegram/ThirdParty/libtgvoip/webrtc_dsp/absl
-}
-
-build() {
- cd tdesktop-$pkgver-full
-
- #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 \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DCMAKE_BUILD_TYPE=Release \
- -DTDESKTOP_API_ID=611335 \
- -DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
- ninja -C build
-}
-
-package() {
- cd tdesktop-$pkgver-full
- DESTDIR="$pkgdir" ninja -C build install
- # They botched the release and put a lot of stuff here.
- rm -rf "$pkgdir/build"
-}
Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1372676,
telegram-desktop/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-31 15:32:51 UTC (rev 1372677)
@@ -0,0 +1,48 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: hexchain <[email protected]>
+pkgname=telegram-desktop
+pkgver=4.5.0
+pkgrel=1
+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'
+ 'qt6-imageformats' 'qt6-svg' 'qt6-wayland' 'qt6-5compat' 'xxhash'
'glibmm-2.68'
+ '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')
+optdepends=('webkit2gtk: embedded browser features'
+ 'xdg-desktop-portal: desktop integration')
+options=('debug')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz")
+sha512sums=('ba12c160d751326230d4717498c98ddf449811b11f7624d74682864bca02bc0834ca4c3fd366c652398db8fb16610999272c0e0dfda2299f21df1bd4b08b85ad')
+
+prepare() {
+ cd tdesktop-$pkgver-full
+ rm -rf Telegram/ThirdParty/libtgvoip/webrtc_dsp/absl
+}
+
+build() {
+ cd tdesktop-$pkgver-full
+
+ #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 \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DTDESKTOP_API_ID=611335 \
+ -DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
+ ninja -C build
+}
+
+package() {
+ cd tdesktop-$pkgver-full
+ DESTDIR="$pkgdir" ninja -C build install
+ # They botched the release and put a lot of stuff here.
+ rm -rf "$pkgdir/build"
+}