diff options
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 2 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-2.8.10.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 1bec7129250e..4934df8614b9 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,6 @@ DIST tdesktop-2.8.1.tar.gz 15334528 BLAKE2B 915823eef057634404dd2bf1e75afdeb5c8768d7c7c7435216f31eec058b1cb8e5f96a47b1faeeecdfa46b4d0acb9dd1839978c3120ef8d41144608d89e45710 SHA512 2da82e6f6c33b5f404d20687e849aff17ce5de24c741adf2276e252643273f558a822c449d1acfd7deeb64644da94d472ddb55eb1881464390efa5d95219e489 +DIST tdesktop-2.8.10.tar.gz 15383960 BLAKE2B 1849cce36d8b339087b84855b05318b0af143ae04fd0016811082b98073ed9560945590b7aeec4cd04751a9debe8211f78b958364f0f24419c028f0198f306b1 SHA512 e0986b932de4f4618c8dd1cc669eb5bd2bca0b3ca47856f911da0606781c86abab3ac1eeecf49bb077a6a4f09b2807bdc512496928666b175f4659c13d6f075b DIST tdesktop-2.8.9.tar.gz 15383963 BLAKE2B 2b156a5b4557c4aa5f358dbc6105cca2ff9d838160e71d6476332c2d4d9b78ea13b659cd95e7620e854d3116e44c537d2080dee424f6a942a0d9c0aa97c73e0d SHA512 537177e47d37772ae623ea4cca68df1e068362edd56a9af86fa02cabc44693403afe020460af709454148333711a34f34169dd239a9ef56e9996b5b0b44ef9c5 DIST tsetup.2.8.1.tar.xz 37205872 BLAKE2B 915041cf403feca63b796747c3a072be555b729401a4290ad3773794a0d6df22eddbfea930fb2b17d8aa5aab337e6d8b45e28e710ffe34b80a7e033ae10e83be SHA512 e84cbec26420a633c93adcebe514b530bcb7fe425926795521d06f8f60377107f4174b57713fe248b9bfa7642ef1ff7709a825e96cf0b8d76e0e7e2ec7454aa2 +DIST tsetup.2.8.10.tar.xz 38712292 BLAKE2B 6e9337fd7bc30d21ef28e21ada0e560d795c6de9638a614b563838dcbafeed0790295795512ddf5ef8cd5a2a2a5cb498a263531066c4078529c947494fcc537b SHA512 cd9d7bded6c8ebe44e09ee9f8029f96802d20a0ba25167240e45a400c71bdc6df217721f64ed6fbc7a79b50d342107e2573c671bf31b1f0b0960a81334c3b140 DIST tsetup.2.8.9.tar.xz 38714912 BLAKE2B fa1049d2c921dd8e7bfcf4777c5017ec1deb3508d24c79250dae774194c7e4e26bcc9313378e6c58255012baef7302545cd12a70ab64d908d68ef1475af1677a SHA512 b8c6ac6be16b4bc143c17c711ee46c73c986712f0fd89e3d4467f108c3b9e675f83a479569cf5cfc06c81c581080b75c2610fecf54644e600985d9b650d2f55a diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-2.8.10.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.8.10.ebuild new file mode 100644 index 000000000000..5d9bb593c191 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.8.10.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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/lib/${PN}/Telegram" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection + >=media-libs/fontconfig-2.13 + media-libs/freetype:2 + media-libs/libglvnd[X] + >=sys-apps/dbus-1.4.2[X] + sys-libs/zlib + virtual/opengl + x11-libs/libSM + x11-libs/libdrm + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + >=x11-libs/libxcb-1.10[xkb] +" + +S="${WORKDIR}/Telegram" + +src_install() { + exeinto /usr/lib/${PN} + doexe "Telegram" + newbin "${FILESDIR}"/${PN} "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 +} |