Date: Monday, March 20, 2023 @ 00:00:30
  Author: svenstaro
Revision: 1424370

archrelease: copy trunk to community-x86_64

Added:
  telegram-desktop/repos/community-x86_64/PKGBUILD
    (from rev 1424369, telegram-desktop/trunk/PKGBUILD)
Deleted:
  telegram-desktop/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-20 00:00:15 UTC (rev 1424369)
+++ PKGBUILD    2023-03-20 00:00:30 UTC (rev 1424370)
@@ -1,37 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-# Contributor: hexchain <[email protected]>
-pkgname=telegram-desktop
-pkgver=4.6.5
-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')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz";)
-sha512sums=('4a337e375d7746cb1fa652f5851f8be5718b7b9d9676bba8ab040489b8492b2a665a51848adba28117a910789aa942c386318a01f6c99b4caa12a1eac682c780')
-
-build() {
-    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 -S tdesktop-$pkgver-full -G Ninja \
-        -DCMAKE_VERBOSE_MAKEFILE=ON \
-        -DCMAKE_INSTALL_PREFIX="/usr" \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DTDESKTOP_API_ID=611335 \
-        -DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
-    cmake --build build
-}
-
-package() {
-    DESTDIR="$pkgdir" cmake --install build
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1424369, 
telegram-desktop/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-20 00:00:30 UTC (rev 1424370)
@@ -0,0 +1,37 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: hexchain <[email protected]>
+pkgname=telegram-desktop
+pkgver=4.7.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')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz";)
+sha512sums=('21633a4e7cefcd4b4526b5e8efcde0e984092a00a1f4e675795ccd785d9eb8c572ab3ccba189f1cc38d4e50bae1acfca70b2ce018dbf672bf7b469ecbdca1407')
+
+build() {
+    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 -S tdesktop-$pkgver-full -G Ninja \
+        -DCMAKE_VERBOSE_MAKEFILE=ON \
+        -DCMAKE_INSTALL_PREFIX="/usr" \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DTDESKTOP_API_ID=611335 \
+        -DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
+    cmake --build build
+}
+
+package() {
+    DESTDIR="$pkgdir" cmake --install build
+}

Reply via email to