mercurygram-desktop

LOW
maintainer tredaelli 0 votes scanned 2026-09-04 11:57:41.730550
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Timothy Redaelli <timothy@fsfe.org>
2
3# Based on telegram-desktop PKGBUILD
4# Contributor: Sven-Hendrik Haase <svenstaro@archlinux.org>
5# Contributor: hexchain <i@hexchain.org>
6
7pkgname=mercurygram-desktop
8pkgver=7.1.5.1
9_td_commit=bc9c263e2bfee06aaab41e82db51a103376030bc
10pkgrel=1
11pkgdesc='Privacy-focused Telegram Desktop fork'
12arch=('x86_64')
13url="https://mercurygram.org/"
14license=('GPL-3.0-or-later WITH OpenSSL-exception')
15depends=(
16 'abseil-cpp'
17 'ada'
18 'ffmpeg'
19 'glib2'
20 'glibc'
21 'hicolor-icon-theme'
22 'hunspell'
23 'kcoreaddons'
24 'libavif'
25 'libfido2'
26 'libgcc'
27 'libheif'
28 'libjpeg-turbo'
29 'libjxl'
30 'libpipewire'
31 'libsrtp'
32 'libstdc++'
33 'libxcb'
34 'libxcomposite'
35 'libxdamage'
36 'libxext'
37 'libxfixes'
38 'libxkbcommon'
39 'libxrandr'
40 'libxtst'
41 'lz4'
42 'minizip'
43 'openal'
44 'openh264'
45 'openssl'
46 'pipewire'
47 'qt6-base'
48 'qt6-imageformats'
49 'qt6-svg'
50 'qt6-wayland'
51 'rnnoise'
52 'xxhash'
53 'zlib'
54)
55makedepends=(
56 'boost'
57 'boost-libs'
58 'cmake'
59 'git'
60 'glib2-devel'
61 'gobject-introspection'
62 'qt6-shadertools'
63 'gperf'
64 'libtg_owt'
65 'microsoft-gsl'
66 'ninja'
67 'python'
68 'range-v3'
69 'tl-expected'
70 'vulkan-headers'
71)
72optdepends=(
73 'geoclue: geoinformation support'
74 'crow-translate: translation provider'
75 'webkit2gtk-4.1: embedded browser features provided by webkit2gtk-4.1 (gtk3)'
76 'webkitgtk-6.0: embedded browser features provided by webkitgtk-6.0 (gtk4)'
77 'xdg-desktop-portal: desktop integration'
78)
79source=(
80 "https://github.com/Mercurygram/mdesktop/releases/download/v${pkgver}/Mercurygram-${pkgver}-source-full.tar.gz"
81 "git+https://github.com/tdlib/td.git#commit=${_td_commit}"
82)
83sha512sums=('9ee64f75c4261afebe30317eaaeb63e66cac0b7cf16973a621a16444596e50ae9f4427af6951f0bb7c4ff2fcb7ed713406a1019a6cb7c198714ff514b88091b9'
84 '12d3b77dbb2a7b7deaef0e173626b9d16acfbdde5b1df4bd58a70a7541a5d8032f25ecbc14604b0e47aa3d6d76704c56409d432717412c6046efebd0ab6180f1')
85
86build() {
87 cmake -S td -B td/build \
88 -DCMAKE_BUILD_TYPE=None \
89 -DCMAKE_INSTALL_PREFIX="$PWD/td/install" \
90 -Wno-dev \
91 -DTD_E2E_ONLY=ON
92 cmake --build td/build
93 cmake --install td/build
94
95 cmake -B build -S tdesktop-$pkgver-full -G Ninja \
96 -DCMAKE_VERBOSE_MAKEFILE=ON \
97 -DCMAKE_INSTALL_PREFIX="/usr" \
98 -Dtde2e_DIR="$PWD/td/install/lib/cmake/tde2e" \
99 -DCMAKE_BUILD_TYPE=Release \
100 -DTDESKTOP_API_ID=575730 \
101 -DTDESKTOP_API_HASH=723c7927097f8487d229438af766e329
102 cmake --build build
103}
104
105package() {
106 DESTDIR="$pkgdir" cmake --install build
107}
108

Scan history

Scanned at (UTC)SeverityRules
2026-09-04 11:57:41 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion