diff options
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 3 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-1.1.2.ebuild | 58 |
2 files changed, 61 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 9a335ad80339..22dc2ba09961 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,6 +1,9 @@ DIST tdesktop-1.0.27.tar.gz 15378060 SHA256 6811114e8051a6bca6b37898fe288e8cbce82af8e0121f61785971772789b6f5 SHA512 5b7a7079561eb759a3108bfb961c9161f5ec729bfc80ade25b10a1d6874fbf31a6a5f2dda443671c9f855c442c7dc92365d9d919c97e2222d2a64d6e2bd421a5 WHIRLPOOL 5087db39839e0b062d411532f2a166f3802a8eedddba8d1236f58a2a3221d605118b7606c7d3c8af081969192b63108c7e568ce758ff522ff607b1dee3b36f84 DIST tdesktop-1.0.29.tar.gz 16561823 SHA256 3277246e57e6605ba8d0444d1a218cac7409f3aa2d00e06b6ae6e365f1666bbb SHA512 8dc1d0a1e20108b4ef27fc0865e24d9bd7eb1e3417266ae786921625bb58f0fce5bc059d4fcdeb5203f42b940e7851c9811e26f4e48c1758280ac550fa7b0cd7 WHIRLPOOL 90c05b18b7cc6235443d737605ae4c356340ad134eac47b7d0c197433e2bb5cec8c4fc47986b6d8d8c816f1b9372c31c0df0ed07ecf516f535103161f7514112 +DIST tdesktop-1.1.2.tar.gz 16742147 SHA256 c5b8bbd07a6c68bd9123b6e5ccee1e623127b8672e332bce3dcb4663db57f058 SHA512 a3529225a0a373f796a93b8756af70da5c1558fa7618812922dcf39e412ae42722114bc1de0ebcb768cee6e2ff4b6dc053709493c9d7d010e98549c2887ca96a WHIRLPOOL f62317879214387b9cc5287cb9acd3051194254760613e5ad7e9e94df9ec10499c2bf9effdfdd789baf2d3816f35eb6ce82417645d3972b9f0f23584000738a1 DIST tsetup.1.0.27.tar.xz 28969028 SHA256 bcd78e93e6fee723ff508f2e393cfa76cc227589daf30fe32d0359cb6033a4ab SHA512 9168626f500dc90446f559fb88f91b09ec09d4a0e7b515aa0fcc1784b48fb35bdb873e411bbc43f7feac4426bb7ba9c4495c029c31d0e1914c5938f4623f21f7 WHIRLPOOL 78cdd9a68befc6131a9246467eeebec26f5c390f793526a6b7305b445a84a14d5fac6bb925ac51b30bfa6e4944dc819963efdbc91a836ab2c739985ec6e5fa57 DIST tsetup.1.0.29.tar.xz 28953124 SHA256 f8b03a5ad782b45cd3308fdcfb582a365c11c11ace07d0d7ae4bfc3e7407d792 SHA512 009dd4ed337f50103232cc1fcd012139199522b42de2081183c5db1f28c011169eefc4853c07603d65a811ca2d5197b883dc73a6aaffe342b800067210342d59 WHIRLPOOL 51eaceeda864fb3604c094b3430adfde6e0a52bc9191d3c698e88a54d1021b816e4cd8cb65faa7afe3c18b5096b897dece964b2825efb88a776b4b559ca69a42 +DIST tsetup.1.1.2.tar.xz 29779044 SHA256 7aa05a4afe260329ac407ea1d2fceb152a288b938d234227624040132d546dd5 SHA512 5824ff88e563025dd6f0d0ea76c367fbb2ee55a31bbdf67a1ef9e3e7e4580d82a08d57d88a20cc683c1c44a30e91f027c77d5f67100b69eb5d38807b77080f1f WHIRLPOOL 4bfd2db6079c23de5f9a89af9ff0cc9bcd68375a59df6a344f5115b29cbc9871efb481459b260823f6418b3e1944c0186e061ee105d6fbbe0fc278bec03dfa7b DIST tsetup32.1.0.27.tar.xz 29759552 SHA256 0112c1c553b566e18a1e003dc9e62916d073e3a41f6b723e43e9b8095077d2ac SHA512 e7d9c43d2fd5e4149d7053b8828a7aa37551355688bfc6d9d79acd9adb3c1c0138ed7298a53a259af03a8e5cf161f15e7fdf7dd4925017fb65b861de8bfbea8c WHIRLPOOL a35426c71856a9a577d8a79a01940c34fc68c9ff1e1ee997648eceb0c425cd0a392969a159e1c6d24f263509a9f83359eb536916debe16ea5b08ef9323f30f83 DIST tsetup32.1.0.29.tar.xz 29755440 SHA256 bfd07d59f07e80f2d32faa5d6f5c5e973dec8d4cb0c66e2a13429112f1a51720 SHA512 99bab32f0ca9a3fd386a96add11ae79d375c9aa38b581229325eab94de3711fca1f9e5cd94705c374d23ffa82d545e26b35b00cad742bd67eef0541a3073b99d WHIRLPOOL d84ca6340a7265619b458ae5955d238fc59bc9bbe660e80736d76af567beb1b06d44235e3211f8286d40652af41bda55daa9ed8415ae880637b5531952afe9d7 +DIST tsetup32.1.1.2.tar.xz 30577744 SHA256 b3b93fc1cad70996e1c962a1132205371c02a327763a66a2e61542d33b6384a1 SHA512 74e3fd7f58129466e170c0796d3552161cbc30d87f9eae0cfedc454e9f82a85b11cfa1f8ea1649ec2b5abcb3a52d33403e1678674b993345e91525bfb944815a WHIRLPOOL c92edfc173672556ad170b4a065cdd6c98aa3db3a6697dc6e601a584fcfbfaeb2854b6221dceed2fe0b049ced9492486c8f1552c33cc81ec2b87a491f3b18e95 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.1.2.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.1.2.ebuild new file mode 100644 index 000000000000..3bcebcb59b80 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.1.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils gnome2-utils 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 ) + x86? ( https://updates.tdesktop.com/tlinux32/tsetup32.${PV}.tar.xz ) +" + +LICENSE="telegram" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +QA_PREBUILT="usr/bin/telegram-desktop" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection + >=sys-apps/dbus-1.4.20 + x11-libs/libX11 + >=x11-libs/libxcb-1.10[xkb] +" +DEPEND="" + +S="${WORKDIR}/Telegram" + +src_install() { + newbin "${S}/Telegram" 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-desktop.png + done + + newmenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop telegram-desktop.desktop +} + +pkg_preinst() { + xdg_pkg_preinst +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update +} |