diff options
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 3 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-3.4.8.ebuild | 54 |
2 files changed, 57 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 9a78597e1083..f74982478f03 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,7 +1,10 @@ DIST tdesktop-3.3.0.tar.gz 16276886 BLAKE2B c75da01d8cfe440c8cbeb3cc580d49c7cb2494b776b48d9da1005ff7627fcffb0f7f7d6c43887d162cc0c8f261d1b67e3af6544dbf616732c8dbfd785cf9e8e3 SHA512 fd9eee472579edd902e9e31c1442f7a21ada86af3a59f1ab0310ec41134b9a345ddf7972e638b3551c0de1b95a3ffc36e7714e2657b95b25bd3436ebd507a7ef DIST tdesktop-3.4.3.tar.gz 16234851 BLAKE2B a94fcdbd5254858b8bb5e51ac8423d3c3e407892782b3773985f3f7f60cb8db0c95ffa2bc1c7bcbf56bcb26948d9c080c86606954284fcbe80ae8dbd1ec0ec9d SHA512 ce40e3c58f5d422de7c26fc105ca9888239069c24f42896ad38d30bb059b91e0e3556f62d0e6aa3b5a817f86409b090ab54ade1763a90cbca2043a4b3f744183 +DIST tdesktop-3.4.8.tar.gz 16258268 BLAKE2B 2f5ebf0f060a81b5768853fcd7db12255150b2f32eae9b29ef059288eef1ac333cea49ddb5e717edd1cf91a9a1db0f4b1d941a0524ad4717a1e124cb62fd4efd SHA512 508c89974cc3d9ca23ea7265a1382b3a5ceef1e5a81daea3744cc6af078cf2689c66bca537d2826bcb692ba4133110e36c7081ed2966075fe8826df76e488632 DIST tsetup.3.3.0.tar.xz 41132564 BLAKE2B 7d3cc8de1cd56f21b988b7ae15ec96ec66fdba30cedb7f609a9c15d0a45b10cc5e0b94d5d9ed32e36c850e678e34835a44b527f7a62aac68376d2c1d09073f6e SHA512 665662f5a177475d32b49515600789374f989db1c3e7972fc5b9360c936f9d2a197e0bb0599bcb1d7b2707eb85f214e65fe7d6f9809aac3ae5c20a2c6f9dd04c DIST tsetup.3.4.3.tar.xz 41258788 BLAKE2B 5c5d5056807a92884a93ec1d27c57da2cc96e131df6856b2d41d1e7db28f93a9c63602a0e294dd0cc48dbc22156203e0d8d19da4916091ef40bb3550e779296e SHA512 92be9f69c7ad0e4f2bead886da636ed58e0ff63b1aeaa1ed0d9ee08b3964df4ff446d53b05de1fa9cbf1769463867158c7faadb0ae9e2c1fc71ebfecca507792 +DIST tsetup.3.4.8.tar.xz 41521720 BLAKE2B 0a632382d4a378b265cf7765990797a3ecfc5eada4ac91d4bbd7c91dd4b5e4081c9f3f57a10666cfa13a857791d29b7b1fec1572bf532358c20efe6482a011b4 SHA512 b1305e5d109f399d084efed59488bc548d6ab78e31d8cdaf9951a900bcbc2218073f65ace69dfc9bfea3dc292150e98d52a0b5d3017d378edf3133f63390ad34 EBUILD telegram-desktop-bin-3.3.0.ebuild 1202 BLAKE2B 08907be9fbe8435e8976c8dec97fe30c94900a3a493b2a0eed70f1abf3666fb1e12af9df29b7ed946a9d6b5b5328b2ef030343e504cb128eb582e7b87a39c4ae SHA512 bf748ef0559f940d6dd9f688a84421667ea01146008eaf3260d9a6b44f21565dc216c9a67334d47ea97040ed90ce55b022f1b2ca01777a02d0234b0e6a6b3315 EBUILD telegram-desktop-bin-3.4.3.ebuild 1202 BLAKE2B 50ba9c204ac1d1906913070199971333b83a86a4200398b45d97778d0cc8f230c63cd8afd3f322cff1052b4bf75e5af93a3664ca9864bfb42a3b130ad4e2bbd7 SHA512 e16b970da1f753bd1884132017aa23def2e8e8f237c0fb5c773114d50074064b905d94b9382588d632b6c0286d4422a11317d879a7feccad0aa711dadb325c53 +EBUILD telegram-desktop-bin-3.4.8.ebuild 1401 BLAKE2B 27f7268432831e98d4b47891e1e7b7fa605cb17f908493e3792129a774942a59fbb5df5c0e632b60c4caa43d866f536ce8b7887405a3c4d31a895d7c2a1aba0b SHA512 17370fe43896a1f24b7e400239d127eb0ebff9ee14cd4110dfe04ee4dc7e81d48ed00f612b8440d522b043f62b775fe3b3f90beb75101244c871919e7ee70fec MISC metadata.xml 617 BLAKE2B 5aed21ce280bfc0d23ba9c4e75dbc8841637ef702cb67686ee91b46dc0830308ab6ff687bed89274d3217f665f989295341735f506182a0461f968d05af187b3 SHA512 ec61f9dec317a9625ffcc0e1aaf2dbf323f218a6705375cd23a14827e1bc30bb496849efdebbe2a8f4fd7a28d37e170e87f0f6d6f49c56d6292220c955a27a0a diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-3.4.8.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.4.8.ebuild new file mode 100644 index 000000000000..ffa0e5b21490 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.4.8.ebuild @@ -0,0 +1,54 @@ +# 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" +# current desktop-file-utils-0.26 does not understand Version=1.5 +# https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/issues/59 +QA_DESKTOP_FILE="usr/share/applications/telegramdesktop.desktop" + +RDEPEND=" + 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 +} |