summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Kappus <joe@wt.gd>2022-08-17 05:59:13 -0400
committerJoonas Niilola <juippis@gentoo.org>2022-09-17 09:50:03 +0300
commitba5d471640327f75bde34aa485d309e3859d7ffb (patch)
treebf1c45e713a6d1b9b04cfb3b8ad282f8a57ebadd /net-im/telegram-desktop-bin
parentsys-apps/pkgcore: drop 0.12.12 (diff)
downloadgentoo-ba5d471640327f75bde34aa485d309e3859d7ffb.tar.gz
gentoo-ba5d471640327f75bde34aa485d309e3859d7ffb.tar.bz2
gentoo-ba5d471640327f75bde34aa485d309e3859d7ffb.zip
net-im/telegram-desktop-bin: bump 4.2.0
Signed-off-by: Joe Kappus <joe@wt.gd> Closes: https://github.com/gentoo/gentoo/pull/26894 Signed-off-by: Joonas Niilola <juippis@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.2.0.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 2eb12c8ecc79..8cf992ceb6cb 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,6 +1,8 @@
DIST tdesktop-3.7.3.tar.gz 16335926 BLAKE2B 7e7760a3684b50541144c72c1b0e3e36f1b1e9bc6eef20c3fdc151f0658f7d3c867eb895242efdf916fa6057ee61ea54ce822bab8fc82a6e17e41c26f9dfdd84 SHA512 359325cf6fefc29234b7032235cc033b9844ff597aeb7b3c6b99e8e6923d52994e8767524ff37afd5d098e4005e03d1f9c8308d6a04481831fa53e22935ee049
DIST tdesktop-4.0.2.tar.gz 16636296 BLAKE2B afd9e8277532b21367b9f75059e9bb4efa69231dae2ad9a78119fee3eddfd804507a647da663a26bcdf7ca0749eb1ab4e2824d81452836f4804dd7a19dedd0e6 SHA512 0a8f587e55e634b500346cd77508fc9b4f76f75eaf080d50c4f2a6867eeabcecb3f814624971b97cc465f6f8d88aa79998899c299b70ada43a43904a830b5ad0
DIST tdesktop-4.1.0.tar.gz 16990380 BLAKE2B f037dbd8a3a7e30d906a8b4a1244b15fbad7304924033751dd89a0d7aa4db7d17d08821cfed53ff00977793d0974c675c7fea96e614d9a5cbf4d7026beac7ec1 SHA512 50c61a22d0953992cfd6a9eab0ca1ed87e2367e06cf47d51ce7339b93cd49a57ec6a6b5a4a4496f2e8ab71fdf968dc1850844e005eae48fb34ae35040225fbb1
+DIST tdesktop-4.2.0.tar.gz 17060742 BLAKE2B 3f85f903e07bf3a18357c7ec184f9a87863f50306715ad1c1dd03a88b6dff245b2bb7bdf7caf9d31e841f4dbee91be23dcd7d733f53c71b66ede5b9ec252d594 SHA512 48164145da0b6ff54260cfa9c07750da2461ff1c9b6abe0579f35e59dc16f87caa050a464c705b0f6afb186b8d7ee5d30e01be8033c777a4db4c0cd2dcd36382
DIST tsetup.3.7.3.tar.xz 41978536 BLAKE2B 1ab5b63479acedee3b3059382761e887c7a9eca899e6496b223f32758a4f23a17da296940203765593cdac9df8a4d80264adbdf9a51b7f70d9ffc90a41661346 SHA512 05339778ea218c84406cceff7b6dfd357ff55d02f8082d222a9430aebe0a34561e9801fb4ebb44ce01c127cbca17ea53e3d61ab4d9288976d556453b9d06bce8
DIST tsetup.4.0.2.tar.xz 43401944 BLAKE2B 705da23c4c68498c693e6908374447fd24a24434a866b4a51a11b7dbe250f6268d56f0a16a64b5aefb8ed5d4ca13fd1dacc4b1e0cf57df873403eb07f96e34cc SHA512 790a1bcc0e34ddc8d483978d9c32fe3409b1e42092647e106fef3731066cb5bd5b7c045143ef949d341be7981a8ba5d3906dd2b50eaf22c4e0b2d23ab4805c36
DIST tsetup.4.1.0.tar.xz 43918764 BLAKE2B 05a34d44583aace5ae261d46a1c7382a63bb8a52f8ca07513011d6221b67f835a3f5a4f38a0c9036614cf8e944c71c9be16e344b24c5cf41b293f3b02bdd8170 SHA512 f226a98ea4ba97a3643adcbe2c883082dff72de25a5aa3a246beef78930eaed4e45fa1b4e46a179444660c7be06c124dbe27802271fa6ff0991ab3ac60f8e470
+DIST tsetup.4.2.0.tar.xz 44483976 BLAKE2B ca48fe1e4e92d4cfcfc7601a46ce72dbc3db3fb434ce5c04a4cfdaa6f6b9facc8d5973132798d456401125968a404a5f8b22f872dcb4f7ae07a925d6b8d68469 SHA512 e07f8db5eaa0c46a795887f0bf9ea96bd10c0d48fb1d4a496eb51beb487e92432512839466126067707f2314a6b9d021e15958271f8eeb2a9ad6db86780b997d
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.0.ebuild
new file mode 100644
index 000000000000..d0558b783945
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.0.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[xkb]
+"
+
+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
+}