summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2024-01-22 10:23:52 +0100
committerYixun Lan <dlan@gentoo.org>2024-01-23 03:45:24 +0000
commit4609e698e7d0100c446b2608566d581ee2e8ed57 (patch)
treeb413576ceae539c9cde0e2416c1a541cb75e75fe /net-im/telegram-desktop-bin
parentapp-containers/earthly: bump to 0.8.0 (diff)
downloadgentoo-4609e698e7d0100c446b2608566d581ee2e8ed57.tar.gz
gentoo-4609e698e7d0100c446b2608566d581ee2e8ed57.tar.bz2
gentoo-4609e698e7d0100c446b2608566d581ee2e8ed57.zip
net-im/telegram-desktop-bin: add 4.14.9
Signed-off-by: Henning Schild <henning@hennsch.de> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r--net-im/telegram-desktop-bin/Manifest2
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.9.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 8dbdd1de4a37..caf11bb2756c 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,4 +1,6 @@
DIST tdesktop-4.11.7.tar.gz 18321400 BLAKE2B 5e7a22f7b20e9a14f15cc9d0e054bb303eca96777c47c0a4d9aaa4de3840049f0b2901d16b7f794d523db452eef2846454523424adcb7c7f02949ed33777c241 SHA512 a3f689181e54eea3278ec9b84861e416b51702464f9cb848a12365ad610dc5cc5846be9494aa0dfe7c626dbacc1b9e1271ba23bcd8fa97ae26884b0f0506e882
DIST tdesktop-4.14.2.tar.gz 18605135 BLAKE2B 864145f499d9a7682964c3281851f274aa401d4a770f61f4c2f15d2b3fb96a1be9b1d242f38ea12ef0821c00fb913f1d3b4a726e1e255e2721b7c305944d7939 SHA512 975a32fdda9e32e5c13882f736b0f495fd7294bd7b8c4c6108c6bdff09c2df21248f5abe673158b9ac8ba6b3f699a5b9bdb600a70b0be37dfee991c99cfe107a
+DIST tdesktop-4.14.9.tar.gz 18681186 BLAKE2B 12e3f0d0aed62c76f2b0976ce25ff10d50e1e0040e302bb2d2d93c948caee78d69e256cb6f015b23304de556fcca98e0e91ab705d693edab0fba869c76b4f1a3 SHA512 0a1adcb816f8d7d483853e9467554d097ef849b7e55ff677314b776fc524d17ba56bf6d16f9485be895b47834841916208f1d70d22db6f2661e09099e077e291
DIST tsetup.4.11.7.tar.xz 53219368 BLAKE2B 704c12bced7c7d229f00828488c3a5426a85c9cf49a9883a46f642ebe4f280d78e143443495d98a12e68c6d1e9c4dcde67c7e53c08dbc03616352d0f7de88046 SHA512 adf023e3b4fbff87156fc1e15748ffc29b2d7007d04aecd64b60f66c05db4b325cd0f53cd1256ee7bd002906946bef0e702024a8113a143c591cc81933d93d9e
DIST tsetup.4.14.2.tar.xz 52969644 BLAKE2B 677e534301f0d677622c008b11b65ed610dc4c897cb01ec9236aecb2edf1d66306c38e1cd3f8fd36e867ba1bbb95024cdd3825f0647b82fff2a4efc6c4effd02 SHA512 eeaeaac9835c144ba2b06f231ea223a1a096cd53d9c1e0765f7c33afddc7f067c6c2bc6ede279ef2ed850809fa28a5a73d4f314bba803195acd25fb4b7729291
+DIST tsetup.4.14.9.tar.xz 53134928 BLAKE2B fc1984011418863c174cb32706751889baa8255968a4f008e0a97e6119d4f8ab65f80d9ff4d71c676bf35b4eab233d6b7021aad272638456ca91a8d7e606b847 SHA512 47cb89485bcf0b72a857f7597f3027848a94006e339e7f66c27426dc516dc31d40cf0d91dc61f18889bda78a24387127df2c17942f215942ae5452f057237d38
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.9.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.9.ebuild
new file mode 100644
index 000000000000..f42ba6d6aee0
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.9.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature xdg
+
+DESCRIPTION="Official desktop client for Telegram (binary package)"
+HOMEPAGE="https://desktop.telegram.org"
+SRC_URI="
+ https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz
+ amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz )
+"
+
+LICENSE="GPL-3-with-openssl-exception"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+QA_PREBUILT="usr/bin/telegram-desktop"
+
+RDEPEND="
+ !net-im/telegram-desktop
+ sys-libs/glibc
+ dev-libs/glib:2
+ >=media-libs/fontconfig-2.13
+ media-libs/freetype:2
+ virtual/opengl
+ x11-libs/gtk+:3[X,wayland]
+ x11-libs/libX11
+ >=x11-libs/libxcb-1.10
+"
+
+S="${WORKDIR}/Telegram"
+
+src_prepare() {
+ default
+
+ sed -i -e 's/^Exec=@CMAKE_INSTALL_FULL_BINDIR@\/telegram-desktop/Exec=\/usr\/bin\/telegram-desktop/' "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service || die
+}
+
+src_install() {
+ newbin Telegram telegram-desktop
+
+ insinto /usr/share/TelegramDesktop/externalupdater.d/
+ newins - externalupdater <<<"${EPREFIX}/usr/bin/telegram-desktop"
+
+ local icon_size
+ for icon_size in 16 32 48 64 128 256 512; do
+ newicon -s "${icon_size}" \
+ "${WORKDIR}/tdesktop-${PV}/Telegram/Resources/art/icon${icon_size}.png" \
+ telegram.png
+ done
+
+ domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.desktop
+ insinto /usr/share/dbus-1/services
+ doins "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ optfeature "spell checker support" app-text/enchant
+}