[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-03-16 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, March 16, 2022 @ 19:53:44
  Author: svenstaro
Revision: 1155824

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  106 ++---
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-16 19:53:38 UTC (rev 1155823)
+++ PKGBUILD2022-03-16 19:53:44 UTC (rev 1155824)
@@ -1,53 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.6.0
-pkgrel=1
-pkgdesc='Official Telegram Desktop client'
-arch=('x86_64')
-url="https://desktop.telegram.org/;
-license=('GPL3')
-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'
- '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=('e5d4278229dc6033e1d40509d54fe52844dd8bad036bfec1fb9683505c9a626e821c15a487db5f1be5951dd5ed0db3ff5a4cbcbba73627f5e527e88cb06925f3')
-
-build() {
-cd tdesktop-$pkgver-full
-
-# Fix https://bugs.archlinux.org/task/73220
-export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS"
-
-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!
-cmake \
--B build \
--G Ninja \
--DCMAKE_INSTALL_PREFIX="/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_ID=611335 \
--DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
-# 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
-}
-
-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 1155823, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-16 19:53:44 UTC (rev 1155824)
@@ -0,0 +1,53 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.6.1
+pkgrel=1
+pkgdesc='Official Telegram Desktop client'
+arch=('x86_64')
+url="https://desktop.telegram.org/;
+license=('GPL3')
+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'
+ '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=('dd216c720ea3b1c72669805bb31319746a7ddfe746d188bf2ae0c5cdf0a10b379fc2e888a26fe755d77381fc5d9aa638cedc76b2dce1f1126a9c1ef9c02da2ba')
+
+build() {
+cd tdesktop-$pkgver-full
+
+# Fix https://bugs.archlinux.org/task/73220
+export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS"
+
+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:
+# 

[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-03-12 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, March 13, 2022 @ 00:13:51
  Author: svenstaro
Revision: 1150461

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  106 ++---
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-13 00:13:26 UTC (rev 1150460)
+++ PKGBUILD2022-03-13 00:13:51 UTC (rev 1150461)
@@ -1,53 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.5.2
-pkgrel=1
-pkgdesc='Official Telegram Desktop client'
-arch=('x86_64')
-url="https://desktop.telegram.org/;
-license=('GPL3')
-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'
- '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=('adb95fb37fedba6344107e4dd789b88563e24e6a01c7b944d9e5365ceccff60d774eb31a2c1e39cd200ef6de83317fe654956cfecaa1e13c7b2fdbf4c38f057e')
-
-build() {
-cd tdesktop-$pkgver-full
-
-# Fix https://bugs.archlinux.org/task/73220
-export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS"
-
-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!
-cmake \
--B build \
--G Ninja \
--DCMAKE_INSTALL_PREFIX="/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_ID=611335 \
--DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
-# 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
-}
-
-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 1150460, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-13 00:13:51 UTC (rev 1150461)
@@ -0,0 +1,53 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.6.0
+pkgrel=1
+pkgdesc='Official Telegram Desktop client'
+arch=('x86_64')
+url="https://desktop.telegram.org/;
+license=('GPL3')
+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'
+ '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=('e5d4278229dc6033e1d40509d54fe52844dd8bad036bfec1fb9683505c9a626e821c15a487db5f1be5951dd5ed0db3ff5a4cbcbba73627f5e527e88cb06925f3')
+
+build() {
+cd tdesktop-$pkgver-full
+
+# Fix https://bugs.archlinux.org/task/73220
+export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS"
+
+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:
+# 

[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-01-31 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, February 1, 2022 @ 06:06:36
  Author: svenstaro
Revision: 1121763

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-01 06:06:30 UTC (rev 1121762)
+++ PKGBUILD2022-02-01 06:06:36 UTC (rev 1121763)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.4.8
-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'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
-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=('cdeb5a83a375a494d805bf4198beee1c4bfc94bd9626535721a0cf04a590c70bfdb20e76baaa2a4c8c6db54c5813f22ce2a8c6291786b6b6db3dcde10b266fe1')
-
-build() {
-cd tdesktop-$pkgver-full
-
-export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS"
-# 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 1121762, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-01 06:06:36 UTC (rev 1121763)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.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'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp' 
'libdispatch')
+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=('5a86f8e3dd1b7fca2a615a2de86f9640f14bbf27b7e73f735dad60629ddb99bd5c951d7311f99c044ab6178a49ff997aae5e8da0f8bb6753fa7eecfb12562cef')
+
+build() {
+cd tdesktop-$pkgver-full
+
+export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS"
+# 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"
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-01-20 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, January 20, 2022 @ 10:49:41
  Author: svenstaro
Revision: 262

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   82 +++--
 1 file changed, 42 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-20 10:49:26 UTC (rev 261)
+++ PKGBUILD2022-01-20 10:49:41 UTC (rev 262)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.4.3
-pkgrel=2
-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'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- '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=('6b27eb14570b55fb14c77f1d557591985a4791712897c2e144196c54c2a98b10c7ece9dac7d039a6bb56f39e3062e4fbfbb60f6822e52b76f927bbf419d88a6b')
-
-build() {
-cd tdesktop-$pkgver-full
-
-export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS"
-# 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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 261, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-20 10:49:41 UTC (rev 262)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.4.8
+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'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
+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=('cdeb5a83a375a494d805bf4198beee1c4bfc94bd9626535721a0cf04a590c70bfdb20e76baaa2a4c8c6db54c5813f22ce2a8c6291786b6b6db3dcde10b266fe1')
+
+build() {
+cd tdesktop-$pkgver-full
+
+export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS"
+# 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"
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-01-04 Thread Jiachen Yang via arch-commits
Date: Tuesday, January 4, 2022 @ 17:11:55
  Author: farseerfc
Revision: 1093013

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   79 ++---
 1 file changed, 40 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-04 17:11:22 UTC (rev 1093012)
+++ PKGBUILD2022-01-04 17:11:55 UTC (rev 1093013)
@@ -1,39 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.4.3
-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'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- '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=('6b27eb14570b55fb14c77f1d557591985a4791712897c2e144196c54c2a98b10c7ece9dac7d039a6bb56f39e3062e4fbfbb60f6822e52b76f927bbf419d88a6b')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1093012, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-04 17:11:55 UTC (rev 1093013)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.4.3
+pkgrel=2
+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'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ '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=('6b27eb14570b55fb14c77f1d557591985a4791712897c2e144196c54c2a98b10c7ece9dac7d039a6bb56f39e3062e4fbfbb60f6822e52b76f927bbf419d88a6b')
+
+build() {
+cd tdesktop-$pkgver-full
+
+export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS"
+# 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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-01-04 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, January 4, 2022 @ 10:57:06
  Author: svenstaro
Revision: 1092877

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   78 ++---
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-04 10:57:01 UTC (rev 1092876)
+++ PKGBUILD2022-01-04 10:57:06 UTC (rev 1092877)
@@ -1,39 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.4.2
-pkgrel=2
-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'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- '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=('00cec3bcabea78bed516940d9b048c02227c816a6455714ef1f6ecf97418e86ecf0a534e5f72c3d48377299602b06000804ec5d8cd3a640441192da249f0266e')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1092876, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-04 10:57:06 UTC (rev 1092877)
@@ -0,0 +1,39 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.4.3
+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'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ '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=('6b27eb14570b55fb14c77f1d557591985a4791712897c2e144196c54c2a98b10c7ece9dac7d039a6bb56f39e3062e4fbfbb60f6822e52b76f927bbf419d88a6b')
+
+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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-12-31 Thread Jiachen Yang via arch-commits
Date: Saturday, January 1, 2022 @ 01:31:49
  Author: farseerfc
Revision: 1091354

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-01-01 01:31:17 UTC (rev 1091353)
+++ PKGBUILD2022-01-01 01:31:49 UTC (rev 1091354)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.4.1
-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'
- 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk' 'libtg_owt')
-optdepends=('gtk3: GTK environment integration'
-'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=('e8cb3a5e26e04fe64d1eae84422f8ad2e0abae28569151e88162567a5a66a7335583b7a9a35cb74a16d02188a0c89261b84495889c879ea3dad5fe0f102ebfa1')
-
-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 \
--DDESKTOP_APP_QT6=off \
--DCMAKE_INSTALL_PREFIX="/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_ID=611335 \
--DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
-# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1091353, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-01-01 01:31:49 UTC (rev 1091354)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.4.2
+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'
+ 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk' 'libtg_owt')
+optdepends=('gtk3: GTK environment integration'
+'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=('00cec3bcabea78bed516940d9b048c02227c816a6455714ef1f6ecf97418e86ecf0a534e5f72c3d48377299602b06000804ec5d8cd3a640441192da249f0266e')
+
+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 \
+-DDESKTOP_APP_QT6=off \
+-DCMAKE_INSTALL_PREFIX="/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_ID=611335 \
+-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
+# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-12-31 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, December 31, 2021 @ 13:27:50
  Author: svenstaro
Revision: 1090230

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-31 13:27:42 UTC (rev 1090229)
+++ PKGBUILD2021-12-31 13:27:50 UTC (rev 1090230)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.4.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'
- 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk' 'libtg_owt')
-optdepends=('gtk3: GTK environment integration'
-'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=('3ad3beb8a63bae98eb85127fdc1cce55baba0f9b0475904e54d4dc3a7679fbbb93e737b98c22c0737ed16204abff0eedd770be0f522de6c9cf8901574cade2c4')
-
-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 \
--DDESKTOP_APP_QT6=off \
--DCMAKE_INSTALL_PREFIX="/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_ID=611335 \
--DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
-# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1090229, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-31 13:27:50 UTC (rev 1090230)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.4.1
+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'
+ 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk' 'libtg_owt')
+optdepends=('gtk3: GTK environment integration'
+'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=('e8cb3a5e26e04fe64d1eae84422f8ad2e0abae28569151e88162567a5a66a7335583b7a9a35cb74a16d02188a0c89261b84495889c879ea3dad5fe0f102ebfa1')
+
+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 \
+-DDESKTOP_APP_QT6=off \
+-DCMAKE_INSTALL_PREFIX="/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_ID=611335 \
+-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
+# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-12-30 Thread Jiachen Yang via arch-commits
Date: Friday, December 31, 2021 @ 01:06:58
  Author: farseerfc
Revision: 1089072

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-31 01:06:29 UTC (rev 1089071)
+++ PKGBUILD2021-12-31 01:06:58 UTC (rev 1089072)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.3.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'
- 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk' 'libtg_owt')
-optdepends=('gtk3: GTK environment integration'
-'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=('ff0ac1abe264f19812c2e0b40d4861caddd6c01a3f863ccb68de9c5227282872b2bde878dcf751d7d04d36c6e0e77912619ac7863d54f25f739f3744e9bca53a')
-
-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 \
--DDESKTOP_APP_QT6=off \
--DCMAKE_INSTALL_PREFIX="/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_ID=611335 \
--DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
-# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1089071, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-31 01:06:58 UTC (rev 1089072)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.4.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'
+ 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk' 'libtg_owt')
+optdepends=('gtk3: GTK environment integration'
+'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=('3ad3beb8a63bae98eb85127fdc1cce55baba0f9b0475904e54d4dc3a7679fbbb93e737b98c22c0737ed16204abff0eedd770be0f522de6c9cf8901574cade2c4')
+
+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 \
+-DDESKTOP_APP_QT6=off \
+-DCMAKE_INSTALL_PREFIX="/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_ID=611335 \
+-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
+# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-12-13 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, December 13, 2021 @ 17:22:43
  Author: svenstaro
Revision: 1071999

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-13 17:22:32 UTC (rev 1071998)
+++ PKGBUILD2021-12-13 17:22:43 UTC (rev 1071999)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.2.5
-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'
- 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('37405780239d2bbc14762299ddca3a5d9cd61ecad70ce960c9f4ed27a31a55f01ccd2e366ca976695a0f1e90bdf57da2344059157df076820933c475043fa0f6')
-
-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 \
--DDESKTOP_APP_QT6=off \
--DCMAKE_INSTALL_PREFIX="/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_ID=611335 \
--DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
-# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1071998, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-13 17:22:43 UTC (rev 1071999)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.3.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'
+ 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk' 'libtg_owt')
+optdepends=('gtk3: GTK environment integration'
+'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=('ff0ac1abe264f19812c2e0b40d4861caddd6c01a3f863ccb68de9c5227282872b2bde878dcf751d7d04d36c6e0e77912619ac7863d54f25f739f3744e9bca53a')
+
+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 \
+-DDESKTOP_APP_QT6=off \
+-DCMAKE_INSTALL_PREFIX="/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_ID=611335 \
+-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
+# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-11-16 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, November 16, 2021 @ 12:10:19
  Author: svenstaro
Revision: 1048746

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-16 12:10:12 UTC (rev 1048745)
+++ PKGBUILD2021-11-16 12:10:19 UTC (rev 1048746)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.2.4
-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'
- 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('a4651e0af49195f4f3ff15d74a616a5ccd056f15d0448687138947ab0f816b45c05dec81029b59c5e7b5eefed3059618245ad1b3b3f27f894c6accad697ecd94')
-
-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 \
--DDESKTOP_APP_QT6=off \
--DCMAKE_INSTALL_PREFIX="/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_ID=611335 \
--DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
-# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1048745, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-16 12:10:19 UTC (rev 1048746)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.2.5
+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'
+ 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('37405780239d2bbc14762299ddca3a5d9cd61ecad70ce960c9f4ed27a31a55f01ccd2e366ca976695a0f1e90bdf57da2344059157df076820933c475043fa0f6')
+
+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 \
+-DDESKTOP_APP_QT6=off \
+-DCMAKE_INSTALL_PREFIX="/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_ID=611335 \
+-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
+# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-11-15 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, November 15, 2021 @ 09:13:27
  Author: svenstaro
Revision: 1048008

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-15 09:13:17 UTC (rev 1048007)
+++ PKGBUILD2021-11-15 09:13:27 UTC (rev 1048008)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.2.3
-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'
- 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('b0ef14119b19a37913424ba2e5885979544fb2f4ee332efcdef1053fbad3399f3fdf0d5c2bacf7b320032cc1ec1b73f3f1e9c765743838b30f5b01f4d094769d')
-
-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 \
--DDESKTOP_APP_QT6=off \
--DCMAKE_INSTALL_PREFIX="/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_ID=611335 \
--DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
-# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1048007, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-15 09:13:27 UTC (rev 1048008)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.2.4
+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'
+ 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('a4651e0af49195f4f3ff15d74a616a5ccd056f15d0448687138947ab0f816b45c05dec81029b59c5e7b5eefed3059618245ad1b3b3f27f894c6accad697ecd94')
+
+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 \
+-DDESKTOP_APP_QT6=off \
+-DCMAKE_INSTALL_PREFIX="/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_ID=611335 \
+-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
+# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-11-09 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, November 9, 2021 @ 09:26:15
  Author: svenstaro
Revision: 1039112

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-09 09:26:05 UTC (rev 1039111)
+++ PKGBUILD2021-11-09 09:26:15 UTC (rev 1039112)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.2.2
-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'
- 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('300ffb75994df28041990dae662e8031da972d0ced8aa9770c026fba61edbb87f2a2176e173febbdd2b859876e0d64b490b45c93408e7f41113d13abab1f2de6')
-
-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 \
--DDESKTOP_APP_QT6=off \
--DCMAKE_INSTALL_PREFIX="/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_ID=611335 \
--DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
-# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1039111, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-09 09:26:15 UTC (rev 1039112)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.2.3
+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'
+ 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('b0ef14119b19a37913424ba2e5885979544fb2f4ee332efcdef1053fbad3399f3fdf0d5c2bacf7b320032cc1ec1b73f3f1e9c765743838b30f5b01f4d094769d')
+
+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 \
+-DDESKTOP_APP_QT6=off \
+-DCMAKE_INSTALL_PREFIX="/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_ID=611335 \
+-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
+# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-11-05 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, November 5, 2021 @ 19:34:08
  Author: svenstaro
Revision: 1037268

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-05 19:33:54 UTC (rev 1037267)
+++ PKGBUILD2021-11-05 19:34:08 UTC (rev 1037268)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.2.1
-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'
- 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('a87f2feccce7bd63bffa0eb043b4bd3e574077346841c77db5166fb47ec234ed196bc0a96942257aee2e6343b14179e8ea340ac0cbe073e317b313d7b079b753')
-
-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 \
--DDESKTOP_APP_QT6=off \
--DCMAKE_INSTALL_PREFIX="/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_ID=611335 \
--DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
-# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1037267, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-05 19:34:08 UTC (rev 1037268)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.2.2
+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'
+ 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('300ffb75994df28041990dae662e8031da972d0ced8aa9770c026fba61edbb87f2a2176e173febbdd2b859876e0d64b490b45c93408e7f41113d13abab1f2de6')
+
+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 \
+-DDESKTOP_APP_QT6=off \
+-DCMAKE_INSTALL_PREFIX="/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_ID=611335 \
+-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
+# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-11-04 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, November 5, 2021 @ 05:16:05
  Author: svenstaro
Revision: 1037044

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   82 +++--
 1 file changed, 42 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-05 05:15:54 UTC (rev 1037043)
+++ PKGBUILD2021-11-05 05:16:05 UTC (rev 1037044)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.1.11
-pkgrel=2
-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'
- 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('7d67f2895797d4f7f1edd5e5e7e8509044fad5d5cfe6bbdb5613689da9519dab2fde707a452aad6788193addf84f2ebcc69342955607e0be8507397c22557709')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1037043, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-11-05 05:16:05 UTC (rev 1037044)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.2.1
+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'
+ 'qt5-imageformats' 'qt5-svg' 'qt5-wayland' 'libdbusmenu-qt5' 'xxhash' 
'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('a87f2feccce7bd63bffa0eb043b4bd3e574077346841c77db5166fb47ec234ed196bc0a96942257aee2e6343b14179e8ea340ac0cbe073e317b313d7b079b753')
+
+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 \
+-DDESKTOP_APP_QT6=off \
+-DCMAKE_INSTALL_PREFIX="/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_ID=611335 \
+-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
+# Use Qt5 for the time being until kwayland has an easier way to work with 
Qt6.
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-10-31 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, October 31, 2021 @ 18:26:22
  Author: svenstaro
Revision: 1035111

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-10-31 18:26:10 UTC (rev 1035110)
+++ PKGBUILD2021-10-31 18:26:22 UTC (rev 1035111)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.1.11
-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'
- 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('7d67f2895797d4f7f1edd5e5e7e8509044fad5d5cfe6bbdb5613689da9519dab2fde707a452aad6788193addf84f2ebcc69342955607e0be8507397c22557709')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1035110, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-10-31 18:26:22 UTC (rev 1035111)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.1.11
+pkgrel=2
+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'
+ 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('7d67f2895797d4f7f1edd5e5e7e8509044fad5d5cfe6bbdb5613689da9519dab2fde707a452aad6788193addf84f2ebcc69342955607e0be8507397c22557709')
+
+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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-10-30 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, October 31, 2021 @ 01:42:41
  Author: svenstaro
Revision: 1035031

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-10-31 01:42:29 UTC (rev 1035030)
+++ PKGBUILD2021-10-31 01:42:41 UTC (rev 1035031)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.1.9
-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'
- 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('0c3ffad547fd9767dd81ea152551dac3e662344d2ac2d3422f5b78e5bd8c3818500580fbec6cd6d50d70f3a8d7bc39d942d83b50d9353059ff42b5a9ac08e16d')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1035030, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-10-31 01:42:41 UTC (rev 1035031)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.1.11
+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'
+ 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('7d67f2895797d4f7f1edd5e5e7e8509044fad5d5cfe6bbdb5613689da9519dab2fde707a452aad6788193addf84f2ebcc69342955607e0be8507397c22557709')
+
+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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-10-08 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, October 8, 2021 @ 22:42:12
  Author: svenstaro
Revision: 1028102

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-10-08 22:41:53 UTC (rev 1028101)
+++ PKGBUILD2021-10-08 22:42:12 UTC (rev 1028102)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.1.1
-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'
- 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('68b30792270b9f3cd0df3388243818c987be970545685dd4e5793d0ff0df6523c9298173da61f8a4951bae481ca6fa04f0813f987a2fec7a336593aa6c145c9e')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1028101, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-10-08 22:42:12 UTC (rev 1028102)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.1.9
+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'
+ 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('0c3ffad547fd9767dd81ea152551dac3e662344d2ac2d3422f5b78e5bd8c3818500580fbec6cd6d50d70f3a8d7bc39d942d83b50d9353059ff42b5a9ac08e16d')
+
+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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-09-25 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, September 25, 2021 @ 12:12:48
  Author: svenstaro
Revision: 1024432

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-25 12:12:35 UTC (rev 1024431)
+++ PKGBUILD2021-09-25 12:12:48 UTC (rev 1024432)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.1.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'
- 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('7fbb5722917c482aed820154e425642c4a3c7649defebae7076e48ac25da8744933877b70539d5cd6952e9f80493ccc5f144bf2c0c01083bade3473f00a23ec4')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1024431, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-25 12:12:48 UTC (rev 1024432)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.1.1
+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'
+ 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('68b30792270b9f3cd0df3388243818c987be970545685dd4e5793d0ff0df6523c9298173da61f8a4951bae481ca6fa04f0813f987a2fec7a336593aa6c145c9e')
+
+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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-09-20 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, September 20, 2021 @ 20:28:13
  Author: svenstaro
Revision: 1019696

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-20 20:28:07 UTC (rev 1019695)
+++ PKGBUILD2021-09-20 20:28:13 UTC (rev 1019696)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.0.1
-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'
- 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('6bff6be5f2c0c7a17df61dccc5a3216dcbb95a1c6d3176442c530e2c1b525e6d15079b230d40751f20684da2a1067d4518a9a1ab90d49d1a7338d3e05239d447')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1019695, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-20 20:28:13 UTC (rev 1019696)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.1.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'
+ 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('7fbb5722917c482aed820154e425642c4a3c7649defebae7076e48ac25da8744933877b70539d5cd6952e9f80493ccc5f144bf2c0c01083bade3473f00a23ec4')
+
+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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-09-04 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, September 4, 2021 @ 20:56:03
  Author: svenstaro
Revision: 1011771

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-04 20:55:50 UTC (rev 1011770)
+++ PKGBUILD2021-09-04 20:56:03 UTC (rev 1011771)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.0.1
-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'
- 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('6bff6be5f2c0c7a17df61dccc5a3216dcbb95a1c6d3176442c530e2c1b525e6d15079b230d40751f20684da2a1067d4518a9a1ab90d49d1a7338d3e05239d447')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1011770, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-04 20:56:03 UTC (rev 1011771)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.0.1
+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'
+ 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('6bff6be5f2c0c7a17df61dccc5a3216dcbb95a1c6d3176442c530e2c1b525e6d15079b230d40751f20684da2a1067d4518a9a1ab90d49d1a7338d3e05239d447')
+
+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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-09-04 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, September 4, 2021 @ 20:55:50
  Author: svenstaro
Revision: 1011770

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-09-04 20:55:39 UTC (rev 1011769)
+++ PKGBUILD2021-09-04 20:55:50 UTC (rev 1011770)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=3.0.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'
- 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('2439de9e11fa6150f4306a0da79a20b1552e4432cf669764669e4bf2eca7311b031e8b22c23cde1efe640e1ef2ac71916fd7151d31b475cbaabc78d79ee50415')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1011769, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-09-04 20:55:50 UTC (rev 1011770)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.0.1
+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'
+ 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('6bff6be5f2c0c7a17df61dccc5a3216dcbb95a1c6d3176442c530e2c1b525e6d15079b230d40751f20684da2a1067d4518a9a1ab90d49d1a7338d3e05239d447')
+
+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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-08-31 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, August 31, 2021 @ 22:44:49
  Author: svenstaro
Revision: 1010232

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-31 22:44:45 UTC (rev 1010231)
+++ PKGBUILD2021-08-31 22:44:49 UTC (rev 1010232)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.9.3
-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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('810cfac5d7e6ce9413b1b2406927e89c1383ea5b725233a68b2cb29dd374b4c3386c22186640afde4492c844516c9a5db8e5b167a09d6d6c1270ac965ac4')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 1010231, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-31 22:44:49 UTC (rev 1010232)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=3.0.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'
+ 'qt5-imageformats' 'qt5-svg' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 
'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('2439de9e11fa6150f4306a0da79a20b1552e4432cf669764669e4bf2eca7311b031e8b22c23cde1efe640e1ef2ac71916fd7151d31b475cbaabc78d79ee50415')
+
+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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-08-12 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, August 12, 2021 @ 19:47:54
  Author: svenstaro
Revision: 997790

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-12 19:47:40 UTC (rev 997789)
+++ PKGBUILD2021-08-12 19:47:54 UTC (rev 997790)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.9.2
-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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('df839bed216eae3231a5600f209f8c14dc7026a421c18dce5b6da25084c2f314c70a182349909291f117b1d6801fdd7fd564a780adea1782d5e5b1ae6f945337')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 997789, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-12 19:47:54 UTC (rev 997790)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=2.9.3
+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'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('810cfac5d7e6ce9413b1b2406927e89c1383ea5b725233a68b2cb29dd374b4c3386c22186640afde4492c844516c9a5db8e5b167a09d6d6c1270ac965ac4')
+
+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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-08-11 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, August 12, 2021 @ 04:33:50
  Author: svenstaro
Revision: 997496

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-12 04:33:41 UTC (rev 997495)
+++ PKGBUILD2021-08-12 04:33:50 UTC (rev 997496)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.9.0
-pkgrel=4
-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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'glibmm'
- 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
-optdepends=('gtk3: GTK environment integration'
-'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=('e9be60cdaeffa4efa95ea1e5d8fe50308bff5612b546fa92c02f824f479b42e098fb8fbe713e652578ee2308e3faadaf82e4c101dee0e58b6f3c70d8dcb0bd8e')
-
-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
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 997495, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-12 04:33:50 UTC (rev 997496)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=2.9.2
+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'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'glibmm'
+ 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'libtg_owt')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'extra-cmake-modules' 'gtk3' 'webkit2gtk')
+optdepends=('gtk3: GTK environment integration'
+'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=('df839bed216eae3231a5600f209f8c14dc7026a421c18dce5b6da25084c2f314c70a182349909291f117b1d6801fdd7fd564a780adea1782d5e5b1ae6f945337')
+
+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
+}



[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-08-01 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, August 1, 2021 @ 22:14:29
  Author: svenstaro
Revision: 992014

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   92 +
 1 file changed, 45 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-01 22:14:24 UTC (rev 992013)
+++ PKGBUILD2021-08-01 22:14:29 UTC (rev 992014)
@@ -1,47 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.9.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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3' 
'glibmm'
- 'webkit2gtk' 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'libtg_owt' 'extra-cmake-modules')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;)
-sha512sums=('e9be60cdaeffa4efa95ea1e5d8fe50308bff5612b546fa92c02f824f479b42e098fb8fbe713e652578ee2308e3faadaf82e4c101dee0e58b6f3c70d8dcb0bd8e')
-
-prepare() {
-cd tdesktop-$pkgver-full/cmake
-# force webrtc link to libjpeg and X11 libs
-echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
-echo "find_package(X11 REQUIRED COMPONENTS Xcomposite Xdamage Xext Xfixes 
Xrender Xrandr Xtst)" | tee -a external/webrtc/CMakeLists.txt
-echo "target_link_libraries(external_webrtc INTERFACE Xcomposite Xdamage 
Xext Xfixes Xrandr Xrender Xtst)" | tee -a external/webrtc/CMakeLists.txt
-}
-
-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 \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
--DDESKTOP_APP_SPECIAL_TARGET=""
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 992013, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-01 22:14:29 UTC (rev 992014)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=2.9.0
+pkgrel=2
+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'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3' 
'glibmm'
+ 'webkit2gtk' 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'libtg_owt' 'extra-cmake-modules')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;)
+sha512sums=('e9be60cdaeffa4efa95ea1e5d8fe50308bff5612b546fa92c02f824f479b42e098fb8fbe713e652578ee2308e3faadaf82e4c101dee0e58b6f3c70d8dcb0bd8e')
+
+prepare() {
+cd tdesktop-$pkgver-full/cmake
+# force webrtc link to libjpeg and X11 libs
+echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
+echo "find_package(X11 REQUIRED COMPONENTS Xcomposite Xdamage Xext Xfixes 
Xrender Xrandr Xtst)" | tee -a external/webrtc/CMakeLists.txt
+echo "target_link_libraries(external_webrtc INTERFACE Xcomposite Xdamage 
Xext Xfixes Xrandr Xrender Xtst)" | tee -a external/webrtc/CMakeLists.txt
+}
+
+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
+

[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-07-30 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, July 30, 2021 @ 23:50:58
  Author: svenstaro
Revision: 991050

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  100 -
 1 file changed, 47 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-30 23:50:53 UTC (rev 991049)
+++ PKGBUILD2021-07-30 23:50:58 UTC (rev 991050)
@@ -1,53 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.8.11
-pkgrel=2
-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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3' 
'glibmm'
- 'webkit2gtk' 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'libtg_owt' 'extra-cmake-modules')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
-
"fix-webview-extern-C-linkage.patch::https://patch-diff.githubusercontent.com/raw/desktop-app/lib_webview/pull/9.patch;)
-sha512sums=('a553313b04fbb562745be2381a84117657172952e46e280980a73c9fcfe2a7cf29c0e012e4b1259816d1e6652418e7a1ddfc4e394544fcc3aeb33704cbe80860'
-
'6f405d48457f8839c9759ec1024db20251f0d42a3ec0026d1334d56511877f830213ac4b3c2396319dc8811e330324a4d62a0973221e280063aa69c18fd09a0e')
-
-prepare() {
-cd tdesktop-$pkgver-full/cmake
-# force webrtc link to libjpeg and X11 libs
-echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
-echo "find_package(X11 REQUIRED COMPONENTS Xcomposite Xdamage Xext Xfixes 
Xrender Xrandr Xtst)" | tee -a external/webrtc/CMakeLists.txt
-echo "target_link_libraries(external_webrtc INTERFACE Xcomposite Xdamage 
Xext Xfixes Xrandr Xrender Xtst)" | tee -a external/webrtc/CMakeLists.txt
-# fix webview extern "C" linkage error
-cd ..
-patch -b -d Telegram/lib_webview/ -Np1 -i 
${srcdir}/fix-webview-extern-C-linkage.patch
-
-}
-
-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 \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
--DDESKTOP_APP_SPECIAL_TARGET=""
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 991049, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-30 23:50:58 UTC (rev 991050)
@@ -0,0 +1,47 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=2.9.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'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3' 
'glibmm'
+ 'webkit2gtk' 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'libtg_owt' 'extra-cmake-modules')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;)
+sha512sums=('e9be60cdaeffa4efa95ea1e5d8fe50308bff5612b546fa92c02f824f479b42e098fb8fbe713e652578ee2308e3faadaf82e4c101dee0e58b6f3c70d8dcb0bd8e')
+
+prepare() {
+cd tdesktop-$pkgver-full/cmake
+# force webrtc link to libjpeg and X11 libs
+echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
+echo "find_package(X11 REQUIRED COMPONENTS Xcomposite Xdamage Xext Xfixes 
Xrender Xrandr Xtst)" | tee -a external/webrtc/CMakeLists.txt
+echo "target_link_libraries(external_webrtc INTERFACE Xcomposite Xdamage 
Xext Xfixes Xrandr Xrender Xtst)" | tee -a external/webrtc/CMakeLists.txt
+}
+
+build() {
+cd tdesktop-$pkgver-full
+
+# Turns out we're allowed to use the official API key that 

[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-07-19 Thread Jiachen Yang via arch-commits
Date: Monday, July 19, 2021 @ 11:52:13
  Author: farseerfc
Revision: 978625

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  110 +
 1 file changed, 53 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-19 11:51:37 UTC (rev 978624)
+++ PKGBUILD2021-07-19 11:52:13 UTC (rev 978625)
@@ -1,57 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.8.11
-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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3' 
'glibmm'
- 'webkit2gtk' 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
- 'libtg_owt' 'extra-cmake-modules')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
-
"fix-webview-extern-C-linkage.patch::https://patch-diff.githubusercontent.com/raw/desktop-app/lib_webview/pull/9.patch;)
-sha512sums=('a553313b04fbb562745be2381a84117657172952e46e280980a73c9fcfe2a7cf29c0e012e4b1259816d1e6652418e7a1ddfc4e394544fcc3aeb33704cbe80860'
-
'6f405d48457f8839c9759ec1024db20251f0d42a3ec0026d1334d56511877f830213ac4b3c2396319dc8811e330324a4d62a0973221e280063aa69c18fd09a0e')
-
-prepare() {
-cd tdesktop-$pkgver-full/cmake
-# force webrtc link to libjpeg and X11 libs
-echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
-echo "find_package(X11 REQUIRED COMPONENTS Xcomposite Xdamage Xext Xfixes 
Xrender Xrandr Xtst)" | tee -a external/webrtc/CMakeLists.txt
-echo "target_link_libraries(external_webrtc INTERFACE Xcomposite Xdamage 
Xext Xfixes Xrandr Xrender Xtst)" | tee -a external/webrtc/CMakeLists.txt
-
-# cp libjemalloc from jemalloc package
-mkdir -p external/jemalloc/jemalloc-prefix/src/jemalloc/lib/
-cp /usr/lib/libjemalloc_pic.a 
external/jemalloc/jemalloc-prefix/src/jemalloc/lib/libjemalloc.a
-# fix webview extern "C" linkage error
-cd ..
-patch -b -d Telegram/lib_webview/ -Np1 -i 
${srcdir}/fix-webview-extern-C-linkage.patch
-
-}
-
-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 \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
--DDESKTOP_APP_SPECIAL_TARGET=""
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 978624, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-19 11:52:13 UTC (rev 978625)
@@ -0,0 +1,53 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=2.8.11
+pkgrel=2
+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'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3' 
'glibmm'
+ 'webkit2gtk' 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl'
+ 'libtg_owt' 'extra-cmake-modules')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
+
"fix-webview-extern-C-linkage.patch::https://patch-diff.githubusercontent.com/raw/desktop-app/lib_webview/pull/9.patch;)
+sha512sums=('a553313b04fbb562745be2381a84117657172952e46e280980a73c9fcfe2a7cf29c0e012e4b1259816d1e6652418e7a1ddfc4e394544fcc3aeb33704cbe80860'
+
'6f405d48457f8839c9759ec1024db20251f0d42a3ec0026d1334d56511877f830213ac4b3c2396319dc8811e330324a4d62a0973221e280063aa69c18fd09a0e')
+
+prepare() {
+cd tdesktop-$pkgver-full/cmake
+# force webrtc link to libjpeg and X11 libs
+echo 

[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-02-25 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, February 25, 2021 @ 19:26:14
  Author: svenstaro
Revision: 874166

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   86 ++---
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-25 19:26:09 UTC (rev 874165)
+++ PKGBUILD2021-02-25 19:26:14 UTC (rev 874166)
@@ -1,43 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.6.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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libtg_owt')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;)
-sha512sums=('9dd37e14dc95dac7b7ab585b7491004d9d9ffb0c11ef265c3e2dee4adf77cfdeec226e9185d5052a177596951da5247fdf4583c225d70f3c6dca08b541cedcee')
-
-prepare() {
-cd tdesktop-$pkgver-full/cmake
-# force webrtc link to libjpeg
-echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
-}
-
-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 \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
--DDESKTOP_APP_SPECIAL_TARGET=""
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 874165, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-25 19:26:14 UTC (rev 874166)
@@ -0,0 +1,43 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=2.6.1
+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'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libtg_owt')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;)
+sha512sums=('92506477ee1778f7528d8b914406cbf04abf1941d4f1a5d61b75dbf393df2184da1f4f83bbc343e221a539c7a01d3e3b3fe5286453d2bf1863b75ea922b70d5a')
+
+prepare() {
+cd tdesktop-$pkgver-full/cmake
+# force webrtc link to libjpeg
+echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
+}
+
+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 \
+-DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
+-DDESKTOP_APP_SPECIAL_TARGET=""
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}


[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-02-23 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, February 23, 2021 @ 21:18:26
  Author: svenstaro
Revision: 870724

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   86 ++---
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-23 21:18:17 UTC (rev 870723)
+++ PKGBUILD2021-02-23 21:18:26 UTC (rev 870724)
@@ -1,43 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.5.9
-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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libtg_owt')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;)
-sha512sums=('1824a5cc17644e2f3d971a6bf882f90f209fcb174826f6e59dbe73301e22b4983e77830c41fe27953049af116a5698a29bec1e5e9957e8905f8f6264722e1c9f')
-
-prepare() {
-cd tdesktop-$pkgver-full/cmake
-# force webrtc link to libjpeg
-echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
-}
-
-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 \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
--DDESKTOP_APP_SPECIAL_TARGET=""
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 870723, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-23 21:18:26 UTC (rev 870724)
@@ -0,0 +1,43 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=2.6.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'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libtg_owt')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;)
+sha512sums=('9dd37e14dc95dac7b7ab585b7491004d9d9ffb0c11ef265c3e2dee4adf77cfdeec226e9185d5052a177596951da5247fdf4583c225d70f3c6dca08b541cedcee')
+
+prepare() {
+cd tdesktop-$pkgver-full/cmake
+# force webrtc link to libjpeg
+echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
+}
+
+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 \
+-DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
+-DDESKTOP_APP_SPECIAL_TARGET=""
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}


[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-02-17 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, February 17, 2021 @ 23:32:28
  Author: svenstaro
Revision: 863088

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   86 ++---
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-17 23:32:23 UTC (rev 863087)
+++ PKGBUILD2021-02-17 23:32:28 UTC (rev 863088)
@@ -1,43 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.5.8
-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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libtg_owt')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;)
-sha512sums=('12258eb5119fcd9db6d1be38224678ed67c76a24de59909d2ef0268587df2432f6f076273581f016f8ba593b95bb7c0e02062b77bad194ff5a211b35fa743d7b')
-
-prepare() {
-cd tdesktop-$pkgver-full/cmake
-# force webrtc link to libjpeg
-echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
-}
-
-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 \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
--DDESKTOP_APP_SPECIAL_TARGET=""
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 863087, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-17 23:32:28 UTC (rev 863088)
@@ -0,0 +1,43 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=2.5.9
+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'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libtg_owt')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;)
+sha512sums=('1824a5cc17644e2f3d971a6bf882f90f209fcb174826f6e59dbe73301e22b4983e77830c41fe27953049af116a5698a29bec1e5e9957e8905f8f6264722e1c9f')
+
+prepare() {
+cd tdesktop-$pkgver-full/cmake
+# force webrtc link to libjpeg
+echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
+}
+
+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 \
+-DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
+-DDESKTOP_APP_SPECIAL_TARGET=""
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}


[arch-commits] Commit in telegram-desktop/repos/community-x86_64 (PKGBUILD PKGBUILD)

2021-01-30 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, January 30, 2021 @ 15:39:29
  Author: svenstaro
Revision: 836041

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   86 ++---
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-01-30 15:39:22 UTC (rev 836040)
+++ PKGBUILD2021-01-30 15:39:29 UTC (rev 836041)
@@ -1,43 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.5.7
-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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libtg_owt')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;)
-sha512sums=('bb57ea735f80d8cd97d550e8e1f41dc0c1db20d8d11f1f64ee78f9c35a1453c47e89a694e9df34bc0149ae283d6566ab5589507a3f9dcbcc5c0b683247d10794')
-
-prepare() {
-cd tdesktop-$pkgver-full/cmake
-# force webrtc link to libjpeg
-echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
-}
-
-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 \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
--DDESKTOP_APP_SPECIAL_TARGET=""
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 836040, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-01-30 15:39:29 UTC (rev 836041)
@@ -0,0 +1,43 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=2.5.8
+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'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libtg_owt')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;)
+sha512sums=('12258eb5119fcd9db6d1be38224678ed67c76a24de59909d2ef0268587df2432f6f076273581f016f8ba593b95bb7c0e02062b77bad194ff5a211b35fa743d7b')
+
+prepare() {
+cd tdesktop-$pkgver-full/cmake
+# force webrtc link to libjpeg
+echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a 
external/webrtc/CMakeLists.txt
+}
+
+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 \
+-DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
+-DDESKTOP_APP_SPECIAL_TARGET=""
+ninja -C build
+}
+
+package() {
+cd tdesktop-$pkgver-full
+DESTDIR=$pkgdir ninja -C build install
+}