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-4.8.4.ebuild | 53 |
2 files changed, 56 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 99e8ba95c21a..879668e18279 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,7 @@ DIST tdesktop-4.8.3.tar.gz 17647574 BLAKE2B e3884fc4c3f73200b34aafae2fca84abeb1d36afe19f73e924d6dd4c91754d411ae3e8cbcff8e2b8423333c3b7a808a77bff9c2e0ea08923c382e90ba88b36aa SHA512 4e42e30d69c02af35481cd1c9431bad159b47d56acdb25a7b20ad36cc7d4cad9fef3214dc2a512002fed8cf20f1c462f9e553fb3177bc324defb4da5a1d2af69 +DIST tdesktop-4.8.4.tar.gz 17647686 BLAKE2B 73ae16a588574671c20ff0f5469040136caee1ea726dd6bd239f56f8a1a12618263febdefd7c036de7bfae90163d1a37563d1f419b396848b6accabf71a25440 SHA512 971de6b8a5991d60aa35d7e082d9069291730f1e730a2e57fdb2c12456fa7e820b7750f6546bf643ce9c8b156f8c151ee28f1dabad389cbe0b37876fc10d058c DIST tsetup.4.8.3.tar.xz 51381144 BLAKE2B a1e6754873ce89f878522625f86fac846eb118d3e2574a4239c7d46d016a646c0f47c21a891c06b42d8fd3de4fe0dd23fcfdd5d031b16f7fb236c49abecfbb17 SHA512 8d690d8bd05b04ee2fc1261494f164671a884c5edab93c68ed1bdfbb30fa41679942c72005c7df57d8c669df37ad001b1866dc00f0d8fb672e2e6ffb61414b56 +DIST tsetup.4.8.4.tar.xz 51480560 BLAKE2B 5d32921986e0c241d62442235679285a60ff241b6a3729ea0f9dca407c8794cc463d4ed0d0a8f472294f8ac781483ff0a12b03fa2e86b26e8c8aad90c5131259 SHA512 698a31a81f535428d1e672c1d2b6f8dcdf3ed145f413ada404af00caea762df4935005c5a2ea5a5469949b49c9cd40ab0670049f0618b4f273d70349147df5c8 EBUILD telegram-desktop-bin-4.8.3.ebuild 1244 BLAKE2B 3de0935b89af05a383c6b13883088934b8039d315bea37d517014d721ffa5ea6fe4ab649192c5ea0824786913e642440d2e464eb782e3d3a60010f93acb34c99 SHA512 5af5e1ed6ea763128e15c7a5d2f0e927fa5b4306277cea63c9a5df00767095ebb5383ad750f0a68b9ab1fdbf6afa784f23c7d659a586f70ff28cfe1608ce3f7e +EBUILD telegram-desktop-bin-4.8.4.ebuild 1244 BLAKE2B 3de0935b89af05a383c6b13883088934b8039d315bea37d517014d721ffa5ea6fe4ab649192c5ea0824786913e642440d2e464eb782e3d3a60010f93acb34c99 SHA512 5af5e1ed6ea763128e15c7a5d2f0e927fa5b4306277cea63c9a5df00767095ebb5383ad750f0a68b9ab1fdbf6afa784f23c7d659a586f70ff28cfe1608ce3f7e MISC metadata.xml 501 BLAKE2B 94aa66404772e94f51d8c59e36d19e6454f37173aaac352fe3539bcc09e72c267e69001c41f8356f19ca2830107164144d907865ad7fb3ad1def8771f5ef6d9a SHA512 3cd8e818062cd40787f12c9530ed202ea23c3f60a70f1ab50c95a7b3310197590be5a75378c598dabe5a1fce310fa8acf409a36e7446b66c2046a109d59a5ff8 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.4.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.4.ebuild new file mode 100644 index 000000000000..9b65f32181e0 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 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/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/org.telegram.desktop.desktop +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "spell checker support" app-text/enchant +} |