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

2020-11-05 Thread Jiachen Yang via arch-commits
Date: Friday, November 6, 2020 @ 02:28:54
  Author: farseerfc
Revision: 743877

archrelease: copy trunk to community-x86_64

Added:
  telegram-desktop/repos/community-x86_64/PKGBUILD
(from rev 743876, telegram-desktop/trunk/PKGBUILD)
  telegram-desktop/repos/community-x86_64/Use-tg_owt-webrtc-fork.patch
(from rev 743876, telegram-desktop/trunk/Use-tg_owt-webrtc-fork.patch)
Deleted:
  telegram-desktop/repos/community-x86_64/PKGBUILD
  telegram-desktop/repos/community-x86_64/Use-tg_owt-webrtc-fork.patch

--+
 PKGBUILD |  110 ++--
 Use-tg_owt-webrtc-fork.patch |  122 -
 2 files changed, 116 insertions(+), 116 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-11-06 02:28:10 UTC (rev 743876)
+++ PKGBUILD2020-11-06 02:28:54 UTC (rev 743877)
@@ -1,55 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.4.6
-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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'qt5-wayland' 'gtk3')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libwebrtc')
-optdepends=('ttf-opensans: default Open Sans font family')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
-"Use-tg_owt-webrtc-fork.patch"
-"Update-webrtc-packaged-build-for-tg_owt.patch::https://github.com/desktop-app/cmake_helpers/commit/d955882cb4d4c94f61a9b1df62b7f93d3c5bff7d.patch;
-"Add_external_jpeg.patch::https://github.com/desktop-app/cmake_helpers/commit/ed9fa2e798a1f175840479417d760c51181959b8.patch;
-)
-sha512sums=('922b9d00a90866899c2817aaa24273b2ac8525bb18543598c8f203846d2e2e3849485cfcbce081d4dfbd45ebafe40dd57434f08849781a4f1d011b3518d03a6b'
-
'071591c6bb71435f8186dcaf570703718051f00366dbbe3f13c4df3706d3de1f168bff4bfa707ad1d6f09f5505c925f0b01d76fd65efe904f3ba7db693d63f43'
-
'b3c44e76a3907f7acc197746b471564577e912bf0561e9576dc8459211c88f400716437bcaa10967376461c69c8a98a56477d26d3feb9ca34747d9208bf5f6c6'
-
'3891f191f720e77d463365d1415ff8c20866d0d898909dcbe757d334c582c38975d47c33e82ae54e3cfbce7f46c257e9f2eb76b673a76c37446ecf1e9a9c681b')
-
-prepare() {
-cd tdesktop-$pkgver-full/cmake
-patch -R -Np1 -i ${srcdir}/Add_external_jpeg.patch
-patch -R -Np1 -i ${srcdir}/Update-webrtc-packaged-build-for-tg_owt.patch
-patch -R -Np1 -i ${srcdir}/Use-tg_owt-webrtc-fork.patch
-sed 's|set(webrtc_build_loc 
${webrtc_loc}/out/$/obj)|set(webrtc_build_loc /usr/lib)|' -i 
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_DISABLE_REGISTER_CUSTOM_SCHEME=ON \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
--DDESKTOP_APP_SPECIAL_TARGET="" \
--DDESKTOP_APP_WEBRTC_LOCATION=/usr/include/libwebrtc
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 743876, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-11-06 02:28:54 UTC (rev 743877)
@@ -0,0 +1,55 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=2.4.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'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'qt5-wayland' 'gtk3')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libwebrtc')
+optdepends=('ttf-opensans: default Open Sans font family')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
+"Use-tg_owt-webrtc-fork.patch"
+"Update-webrtc-packaged-build-for-tg_owt.patch::https://github.com/desktop-app/cmake_helpers/commit/d955882cb4d4c94f61a9b1df62b7f93d3c5bff7d.patch;

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

2020-11-02 Thread Jiachen Yang via arch-commits
Date: Tuesday, November 3, 2020 @ 01:29:55
  Author: farseerfc
Revision: 740103

archrelease: copy trunk to community-x86_64

Added:
  telegram-desktop/repos/community-x86_64/PKGBUILD
(from rev 740102, telegram-desktop/trunk/PKGBUILD)
  telegram-desktop/repos/community-x86_64/Use-tg_owt-webrtc-fork.patch
(from rev 740102, telegram-desktop/trunk/Use-tg_owt-webrtc-fork.patch)
Deleted:
  telegram-desktop/repos/community-x86_64/PKGBUILD
  telegram-desktop/repos/community-x86_64/Use-tg_owt-webrtc-fork.patch

--+
 PKGBUILD |  110 ++--
 Use-tg_owt-webrtc-fork.patch |  122 -
 2 files changed, 116 insertions(+), 116 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-11-03 01:28:58 UTC (rev 740102)
+++ PKGBUILD2020-11-03 01:29:55 UTC (rev 740103)
@@ -1,55 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-pkgname=telegram-desktop
-pkgver=2.4.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'
- 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'qt5-wayland' 'gtk3')
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libwebrtc')
-optdepends=('ttf-opensans: default Open Sans font family')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
-"Use-tg_owt-webrtc-fork.patch"
-"Update-webrtc-packaged-build-for-tg_owt.patch::https://github.com/desktop-app/cmake_helpers/commit/d955882cb4d4c94f61a9b1df62b7f93d3c5bff7d.patch;
-"Add_external_jpeg.patch::https://github.com/desktop-app/cmake_helpers/commit/ed9fa2e798a1f175840479417d760c51181959b8.patch;
-)
-sha512sums=('d0c792fcd890a95b24233f37cdfc34008e814f6f0730722a41916e25d2efff405fd472bd6b45bbfc79787ed117dc5f87271c438d92ec1ce29335cabe76a1062e'
-
'071591c6bb71435f8186dcaf570703718051f00366dbbe3f13c4df3706d3de1f168bff4bfa707ad1d6f09f5505c925f0b01d76fd65efe904f3ba7db693d63f43'
-
'b3c44e76a3907f7acc197746b471564577e912bf0561e9576dc8459211c88f400716437bcaa10967376461c69c8a98a56477d26d3feb9ca34747d9208bf5f6c6'
-
'3891f191f720e77d463365d1415ff8c20866d0d898909dcbe757d334c582c38975d47c33e82ae54e3cfbce7f46c257e9f2eb76b673a76c37446ecf1e9a9c681b')
-
-prepare() {
-cd tdesktop-$pkgver-full/cmake
-patch -R -Np1 -i ${srcdir}/Add_external_jpeg.patch
-patch -R -Np1 -i ${srcdir}/Update-webrtc-packaged-build-for-tg_owt.patch
-patch -R -Np1 -i ${srcdir}/Use-tg_owt-webrtc-fork.patch
-sed 's|set(webrtc_build_loc 
${webrtc_loc}/out/$/obj)|set(webrtc_build_loc /usr/lib)|' -i 
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_DISABLE_REGISTER_CUSTOM_SCHEME=ON \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
--DDESKTOP_APP_SPECIAL_TARGET="" \
--DDESKTOP_APP_WEBRTC_LOCATION=/usr/include/libwebrtc
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-DESTDIR=$pkgdir ninja -C build install
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 740102, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-11-03 01:29:55 UTC (rev 740103)
@@ -0,0 +1,55 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+pkgname=telegram-desktop
+pkgver=2.4.6
+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'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'qt5-wayland' 'gtk3')
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libwebrtc')
+optdepends=('ttf-opensans: default Open Sans font family')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
+"Use-tg_owt-webrtc-fork.patch"
+"Update-webrtc-packaged-build-for-tg_owt.patch::https://github.com/desktop-app/cmake_helpers/commit/d955882cb4d4c94f61a9b1df62b7f93d3c5bff7d.patch;

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

2020-02-23 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, February 23, 2020 @ 15:53:04
  Author: svenstaro
Revision: 579792

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  109 +-
 telegram-desktop.sh |6 +-
 2 files changed, 58 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-02-23 15:52:54 UTC (rev 579791)
+++ PKGBUILD2020-02-23 15:53:04 UTC (rev 579792)
@@ -1,54 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-
-# Thanks Nicholas Guriev  for the patches!
-# https://github.com/mymedia2/tdesktop
-
-pkgname=telegram-desktop
-pkgver=1.9.14
-pkgrel=1
-pkgdesc='Official Telegram Desktop client'
-arch=('x86_64')
-url="https://desktop.telegram.org/;
-license=('GPL3')
-depends=('enchant' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
- 'qt5-imageformats' 'xxhash' 'libappindicator-gtk3' 'libdbusmenu-qt5')
-# for libappindicator-gtk3 see https://bugs.archlinux.org/task/65080
-
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl')
-optdepends=('ttf-opensans: default Open Sans font family')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
-telegram-desktop.sh)
-sha512sums=('56efa64048d23b280782b51319c0071c6cef833cb7e2584e52c6e45488577755beb85185ec9187029c425cc8d4c9c1887142687c744697e7731a15abe2846056'
-
'3c21c871e28bac365400f7bc439a16ad1a9a8d87590ad764ce262f1db968c10387caed372d4e064cb50f43da726cebaa9b24bcbcc7c6d5489515620f44dbf56b')
-
-build() {
-cd tdesktop-$pkgver-full
-
-export CXXFLAGS="$CXXFLAGS 
-ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
-cmake -B build -G Ninja . \
--Ddisable_autoupdate=1 \
--DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_TEST=ON \
--DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \
--DDESKTOP_APP_USE_PACKAGED=ON \
--DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
--DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF \
--DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
--DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON \
--DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON \
--DTDESKTOP_USE_PACKAGED_TGVOIP=OFF \
--DDESKTOP_APP_SPECIAL_TARGET="" \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop"
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-ninja -C build install
-
-mv "$pkgdir/usr/bin/telegram-desktop"{,-bin}
-install -dm755 "$pkgdir/usr/bin"
-install -m755 "$srcdir/telegram-desktop.sh" 
"$pkgdir/usr/bin/telegram-desktop"
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 579791, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-02-23 15:53:04 UTC (rev 579792)
@@ -0,0 +1,55 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+
+# Thanks Nicholas Guriev  for the patches!
+# https://github.com/mymedia2/tdesktop
+
+pkgname=telegram-desktop
+pkgver=1.9.14
+pkgrel=2
+pkgdesc='Official Telegram Desktop client'
+arch=('x86_64')
+url="https://desktop.telegram.org/;
+license=('GPL3')
+depends=('enchant' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
+ 'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5')
+# We used to have libappindicator-gtk3 as a hard-dep here (see 
https://bugs.archlinux.org/task/65080)
+# but it seems that it's better to have as an opt-dep (see 
https://bugs.archlinux.org/task/65336)
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl' 'libappindicator-gtk3')
+optdepends=('ttf-opensans: default Open Sans font family'
+'libappindicator-gtk3: AppIndicator-based tray icon')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
+telegram-desktop.sh)
+sha512sums=('56efa64048d23b280782b51319c0071c6cef833cb7e2584e52c6e45488577755beb85185ec9187029c425cc8d4c9c1887142687c744697e7731a15abe2846056'
+
'3c21c871e28bac365400f7bc439a16ad1a9a8d87590ad764ce262f1db968c10387caed372d4e064cb50f43da726cebaa9b24bcbcc7c6d5489515620f44dbf56b')
+
+build() {
+cd tdesktop-$pkgver-full
+
+export CXXFLAGS="$CXXFLAGS 
-ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
+cmake -B build -G Ninja . \
+-Ddisable_autoupdate=1 \
+-DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+-DCMAKE_BUILD_TYPE=Release \

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

2020-02-19 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, February 19, 2020 @ 16:53:50
  Author: svenstaro
Revision: 576694

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  108 +-
 telegram-desktop.sh |6 +-
 2 files changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-02-19 16:53:40 UTC (rev 576693)
+++ PKGBUILD2020-02-19 16:53:50 UTC (rev 576694)
@@ -1,54 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-
-# Thanks Nicholas Guriev  for the patches!
-# https://github.com/mymedia2/tdesktop
-
-pkgname=telegram-desktop
-pkgver=1.9.13
-pkgrel=1
-pkgdesc='Official Telegram Desktop client'
-arch=('x86_64')
-url="https://desktop.telegram.org/;
-license=('GPL3')
-depends=('enchant' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
- 'qt5-imageformats' 'xxhash' 'libappindicator-gtk3' 'libdbusmenu-qt5')
-# for libappindicator-gtk3 see https://bugs.archlinux.org/task/65080
-
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl')
-optdepends=('ttf-opensans: default Open Sans font family')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
-telegram-desktop.sh)
-sha512sums=('995face8a2ffb54f9f31aaa8d5a26421f4915e73360945553b6fa4e4b02431ca83ec1e72d6d2ce77f5b9daa39892859c88f7ea53c3ddbeec2cb37f27451878d2'
-
'3c21c871e28bac365400f7bc439a16ad1a9a8d87590ad764ce262f1db968c10387caed372d4e064cb50f43da726cebaa9b24bcbcc7c6d5489515620f44dbf56b')
-
-build() {
-cd tdesktop-$pkgver-full
-
-export CXXFLAGS="$CXXFLAGS 
-ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
-cmake -B build -G Ninja . \
--Ddisable_autoupdate=1 \
--DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_TEST=ON \
--DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \
--DDESKTOP_APP_USE_PACKAGED=ON \
--DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
--DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF \
--DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
--DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON \
--DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON \
--DTDESKTOP_USE_PACKAGED_TGVOIP=OFF \
--DDESKTOP_APP_SPECIAL_TARGET="" \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop"
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-ninja -C build install
-
-mv "$pkgdir/usr/bin/telegram-desktop"{,-bin}
-install -dm755 "$pkgdir/usr/bin"
-install -m755 "$srcdir/telegram-desktop.sh" 
"$pkgdir/usr/bin/telegram-desktop"
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 576693, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-02-19 16:53:50 UTC (rev 576694)
@@ -0,0 +1,54 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+
+# Thanks Nicholas Guriev  for the patches!
+# https://github.com/mymedia2/tdesktop
+
+pkgname=telegram-desktop
+pkgver=1.9.14
+pkgrel=1
+pkgdesc='Official Telegram Desktop client'
+arch=('x86_64')
+url="https://desktop.telegram.org/;
+license=('GPL3')
+depends=('enchant' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
+ 'qt5-imageformats' 'xxhash' 'libappindicator-gtk3' 'libdbusmenu-qt5')
+# for libappindicator-gtk3 see https://bugs.archlinux.org/task/65080
+
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl')
+optdepends=('ttf-opensans: default Open Sans font family')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
+telegram-desktop.sh)
+sha512sums=('56efa64048d23b280782b51319c0071c6cef833cb7e2584e52c6e45488577755beb85185ec9187029c425cc8d4c9c1887142687c744697e7731a15abe2846056'
+
'3c21c871e28bac365400f7bc439a16ad1a9a8d87590ad764ce262f1db968c10387caed372d4e064cb50f43da726cebaa9b24bcbcc7c6d5489515620f44dbf56b')
+
+build() {
+cd tdesktop-$pkgver-full
+
+export CXXFLAGS="$CXXFLAGS 
-ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
+cmake -B build -G Ninja . \
+-Ddisable_autoupdate=1 \
+-DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_TEST=ON \
+-DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \
+-DDESKTOP_APP_USE_PACKAGED=ON \
+-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
+

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

2020-02-12 Thread Jiachen Yang via arch-commits
Date: Thursday, February 13, 2020 @ 05:38:35
  Author: farseerfc
Revision: 569847

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  108 +-
 telegram-desktop.sh |6 +-
 2 files changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-02-13 05:37:44 UTC (rev 569846)
+++ PKGBUILD2020-02-13 05:38:35 UTC (rev 569847)
@@ -1,54 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-
-# Thanks Nicholas Guriev  for the patches!
-# https://github.com/mymedia2/tdesktop
-
-pkgname=telegram-desktop
-pkgver=1.9.12
-pkgrel=1
-pkgdesc='Official Telegram Desktop client'
-arch=('x86_64')
-url="https://desktop.telegram.org/;
-license=('GPL3')
-depends=('enchant' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
- 'qt5-imageformats' 'xxhash' 'libappindicator-gtk3' 'libdbusmenu-qt5')
-# for libappindicator-gtk3 see https://bugs.archlinux.org/task/65080
-
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl')
-optdepends=('ttf-opensans: default Open Sans font family')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
-telegram-desktop.sh)
-sha512sums=('11b6be5fa4db95a8b329b492edcdeca2cf834c274a86a26fac3e62254649e5767da6b2442eff6f7b48b975f4b319fee46d10e9430e28a3ef080146a8deb3bfb2'
-
'3c21c871e28bac365400f7bc439a16ad1a9a8d87590ad764ce262f1db968c10387caed372d4e064cb50f43da726cebaa9b24bcbcc7c6d5489515620f44dbf56b')
-
-build() {
-cd tdesktop-$pkgver-full
-
-export CXXFLAGS="$CXXFLAGS 
-ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
-cmake -B build -G Ninja . \
--Ddisable_autoupdate=1 \
--DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_TEST=ON \
--DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \
--DDESKTOP_APP_USE_PACKAGED=ON \
--DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
--DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF \
--DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
--DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON \
--DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON \
--DTDESKTOP_USE_PACKAGED_TGVOIP=OFF \
--DDESKTOP_APP_SPECIAL_TARGET="" \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop"
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-ninja -C build install
-
-mv "$pkgdir/usr/bin/telegram-desktop"{,-bin}
-install -dm755 "$pkgdir/usr/bin"
-install -m755 "$srcdir/telegram-desktop.sh" 
"$pkgdir/usr/bin/telegram-desktop"
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 569846, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-02-13 05:38:35 UTC (rev 569847)
@@ -0,0 +1,54 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+
+# Thanks Nicholas Guriev  for the patches!
+# https://github.com/mymedia2/tdesktop
+
+pkgname=telegram-desktop
+pkgver=1.9.13
+pkgrel=1
+pkgdesc='Official Telegram Desktop client'
+arch=('x86_64')
+url="https://desktop.telegram.org/;
+license=('GPL3')
+depends=('enchant' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
+ 'qt5-imageformats' 'xxhash' 'libappindicator-gtk3' 'libdbusmenu-qt5')
+# for libappindicator-gtk3 see https://bugs.archlinux.org/task/65080
+
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl')
+optdepends=('ttf-opensans: default Open Sans font family')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
+telegram-desktop.sh)
+sha512sums=('995face8a2ffb54f9f31aaa8d5a26421f4915e73360945553b6fa4e4b02431ca83ec1e72d6d2ce77f5b9daa39892859c88f7ea53c3ddbeec2cb37f27451878d2'
+
'3c21c871e28bac365400f7bc439a16ad1a9a8d87590ad764ce262f1db968c10387caed372d4e064cb50f43da726cebaa9b24bcbcc7c6d5489515620f44dbf56b')
+
+build() {
+cd tdesktop-$pkgver-full
+
+export CXXFLAGS="$CXXFLAGS 
-ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
+cmake -B build -G Ninja . \
+-Ddisable_autoupdate=1 \
+-DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_TEST=ON \
+-DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \
+-DDESKTOP_APP_USE_PACKAGED=ON \
+-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
+

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

2020-02-11 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, February 11, 2020 @ 22:56:18
  Author: svenstaro
Revision: 568168

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  107 +-
 telegram-desktop.sh |6 +-
 2 files changed, 57 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-02-11 22:56:12 UTC (rev 568167)
+++ PKGBUILD2020-02-11 22:56:18 UTC (rev 568168)
@@ -1,53 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: hexchain 
-
-# Thanks Nicholas Guriev  for the patches!
-# https://github.com/mymedia2/tdesktop
-
-pkgname=telegram-desktop
-pkgver=1.9.9
-pkgrel=1
-pkgdesc='Official Telegram Desktop client'
-arch=('x86_64')
-url="https://desktop.telegram.org/;
-license=('GPL3')
-depends=('enchant' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
- 'qt5-imageformats' 'xxhash' 'libappindicator-gtk3')
-# for libappindicator-gtk3 see https://bugs.archlinux.org/task/65080
-
-makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3')
-optdepends=('ttf-opensans: default Open Sans font family')
-source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
-telegram-desktop.sh)
-sha512sums=('ba6400e6f5eec5bda6e8a54b43846e695b2cce731cb6b39f17407cc39e3e9b8078d977253d29962671f30e33dbe012f8e40f340f781fd8ca73487e5f2d42e3de'
-
'3c21c871e28bac365400f7bc439a16ad1a9a8d87590ad764ce262f1db968c10387caed372d4e064cb50f43da726cebaa9b24bcbcc7c6d5489515620f44dbf56b')
-
-build() {
-cd tdesktop-$pkgver-full
-
-export CXXFLAGS="$CXXFLAGS 
-ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
-cmake -B build -G Ninja . \
--Ddisable_autoupdate=1 \
--DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
--DCMAKE_BUILD_TYPE=Release \
--DTDESKTOP_API_TEST=ON \
--DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \
--DDESKTOP_APP_USE_PACKAGED=ON \
--DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
--DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
--DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON \
--DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON \
--DTDESKTOP_USE_PACKAGED_TGVOIP=OFF \
--DDESKTOP_APP_SPECIAL_TARGET="" \
--DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop"
-ninja -C build
-}
-
-package() {
-cd tdesktop-$pkgver-full
-ninja -C build install
-
-mv "$pkgdir/usr/bin/telegram-desktop"{,-bin}
-install -dm755 "$pkgdir/usr/bin"
-install -m755 "$srcdir/telegram-desktop.sh" 
"$pkgdir/usr/bin/telegram-desktop"
-}

Copied: telegram-desktop/repos/community-x86_64/PKGBUILD (from rev 568167, 
telegram-desktop/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-02-11 22:56:18 UTC (rev 568168)
@@ -0,0 +1,54 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: hexchain 
+
+# Thanks Nicholas Guriev  for the patches!
+# https://github.com/mymedia2/tdesktop
+
+pkgname=telegram-desktop
+pkgver=1.9.12
+pkgrel=1
+pkgdesc='Official Telegram Desktop client'
+arch=('x86_64')
+url="https://desktop.telegram.org/;
+license=('GPL3')
+depends=('enchant' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal'
+ 'qt5-imageformats' 'xxhash' 'libappindicator-gtk3' 'libdbusmenu-qt5')
+# for libappindicator-gtk3 see https://bugs.archlinux.org/task/65080
+
+makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 
'microsoft-gsl')
+optdepends=('ttf-opensans: default Open Sans font family')
+source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz;
+telegram-desktop.sh)
+sha512sums=('11b6be5fa4db95a8b329b492edcdeca2cf834c274a86a26fac3e62254649e5767da6b2442eff6f7b48b975f4b319fee46d10e9430e28a3ef080146a8deb3bfb2'
+
'3c21c871e28bac365400f7bc439a16ad1a9a8d87590ad764ce262f1db968c10387caed372d4e064cb50f43da726cebaa9b24bcbcc7c6d5489515620f44dbf56b')
+
+build() {
+cd tdesktop-$pkgver-full
+
+export CXXFLAGS="$CXXFLAGS 
-ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
+cmake -B build -G Ninja . \
+-Ddisable_autoupdate=1 \
+-DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+-DCMAKE_BUILD_TYPE=Release \
+-DTDESKTOP_API_TEST=ON \
+-DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \
+-DDESKTOP_APP_USE_PACKAGED=ON \
+-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
+-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF \
+-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
+