summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2022-11-06 17:27:07 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-11-25 08:41:17 +0200
commit6b793c5429c7eb3c6d629f9cea4e81b7190af865 (patch)
treea0c5fe24d3ebb4e97a785ece9a7918ccf2a95d0f /net-im
parentdev-lang/elixir: drop 1.13.3 (diff)
downloadgentoo-6b793c5429c7eb3c6d629f9cea4e81b7190af865.tar.gz
gentoo-6b793c5429c7eb3c6d629f9cea4e81b7190af865.tar.bz2
gentoo-6b793c5429c7eb3c6d629f9cea4e81b7190af865.zip
net-im/telegram-desktop-bin: bump version to 4.3.1
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/28160 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop-bin/Manifest2
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-4.3.1.ebuild52
2 files changed, 54 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 5e1dc86544b3..b8c563748df1 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,2 +1,4 @@
DIST tdesktop-4.2.4.tar.gz 17065673 BLAKE2B d2fd5db5d216b369902f697f8b2613fbb62ae7b788e08dc33f410a62547c335a8c20f2099989bb8eaaf92a81320e4fc24a3aaf266c6632b2264271e95c8b01ec SHA512 cc4cc3be490de750cb3a048a861d492bea1d2484160ee70b102979b8b446349333effe29f1b51fa014c7a65a4901779fa58f6b0d86ae12864f85d014e8f36d20
+DIST tdesktop-4.3.1.tar.gz 17160532 BLAKE2B a7bdfc0bc74772ed206ab20663837c6245723b1dc7e934bc722079f22adee5474380b2d1ca518154ad1ebda4da7c61e2f8013c024541c5ebc4b3549bc083e0c5 SHA512 7032d5ba176e740279304fa91e74ab780f2bb102f29041bde4a2a8fa53a698f85410a6822bf95747b870476a608dfab7aafb5512f21820727b86151346960662
DIST tsetup.4.2.4.tar.xz 46792948 BLAKE2B 20ebef199dc526de1e786ebd76dfd40d557f4211ae4c37d080f010738a710efe4ed2e5100c81249d49efb4902f7333f4548bff00a50eb284269dbd2aaff1bd21 SHA512 3397e480334605ebe7a8a3f3c6211adea8be0b759749e4beb579a6c4a75cb13accc3be5fa62c1d784fd6f0b92c66be15e986ed83c4fde29a38766b48a013b104
+DIST tsetup.4.3.1.tar.xz 49562348 BLAKE2B 7e6d390e76f0ffe25896faf57d8c1e6a8b9f405e9af9f9493c586b2aefb0d244cb4aaf77b2a1da3f226b6954abb4e376d0c09500abc212767b29813f3303b58a SHA512 c9d2f8124dcb5e1709d79e29f0f13eb9491a81aa642c34e32dd1a9a57cc980fdd3f5f5d7095ccc843af2300b27abe1fa5bb874a7a43f97b8861a47ab369c4844
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.3.1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.3.1.ebuild
new file mode 100644
index 000000000000..6916ecaa22df
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.3.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 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="
+ sys-libs/glibc
+ dev-libs/glib:2
+ >=media-libs/fontconfig-2.13
+ media-libs/freetype:2
+ virtual/opengl
+ x11-libs/libX11
+ >=x11-libs/libxcb-1.10
+"
+
+S="${WORKDIR}/Telegram"
+
+src_install() {
+ newbin Telegram telegram-desktop
+
+ insinto /etc/tdesktop
+ 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/telegramdesktop.desktop
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ optfeature "spell checker support" app-text/enchant
+}