diff options
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 3 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.0.ebuild | 61 |
2 files changed, 64 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index a29ce513eff9..47d9e4407d64 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,9 +1,12 @@ DIST tdesktop-0.10.16.tar.gz 11488595 SHA256 fbc80eaf2b87335d024b2aa2504bf2de87daa224d2b579169f81d7e0317ef4e4 SHA512 55bc8fa9007dba3abf1873daf739a5630d07627fced8a72c83e098942d0e376012c6101286d633c798d1fc80183365166a9bb6a5f144574db42ce945ce0a8ef6 WHIRLPOOL 63e3dbb60d7426527655a53acdc7f7b052ca499a15a2a8fbfc34b538ce0e9db43d86e7c4a93ad891963aa7537f2697b7bec30aaf7bc423b82b0efb1b62e78a46 DIST tdesktop-0.10.19.tar.gz 11485857 SHA256 0620d2c6e2dc254e3d69659d311a6117efef251a16270ba908fec150712b50b4 SHA512 ff7cc265fa1b2f5f83e7dc54e3eaa45999925ad9c0dc0f3c3f376884c021dc4fb1787318a188ef47dc633529da981d2923118bde1b915d01f8c0f68785416b4d WHIRLPOOL 7b2843a8c0cd2d7251cab7287822ba062078361ea291dbe098f64571aac64be6a8c61c0ab6837626b2f72f3070d4e46a76dd999b9040abef9f35c2c8b330f654 DIST tdesktop-0.10.20.tar.gz 11490565 SHA256 f3b04071c30d90e227b1373e16aeccea51f5a928c4429ae5392ce9eba8ab973b SHA512 dab35d24f128b97fe0fe6bffc30f8cc26121fac3cfdf21d8d4dc0d90d219c44df61badbbe7bd19cfa1b19b18dbc1edcb8fdd7c7b354b865ef87f506fe1db1289 WHIRLPOOL ce2860c93c80f96a50cee2c0ba59a2469873ba9d819c0dd5c964d2f8c2cff56a46d3f362d84647e5e3b8463835ccb83884f1424370cac7f3f97913ff04824256 +DIST tdesktop-1.0.0.tar.gz 11633197 SHA256 160a441fd96ffc4e0287801adce1a6224e7345e02ad071b1d2e6f1af19a8c62d SHA512 22dbe1e2a72201674836aeb0a604591c713e64e876100407dbfe680f6c602225a6ef5b4b1483df6465f6ee0b1dece76555c325ca7e1423634bc45be9d95abcd8 WHIRLPOOL 1dc386213f246a71c2581b7f0e502cfb3b2268898ad1045f0bd6fff0f0ed6b63fa6668c768f21f32178b49c4980c1bd63e33b373740cb88c8246bebf0becf07e DIST tsetup.0.10.16.tar.xz 24950460 SHA256 1fba994ca887f501beccbd75e0e25e0bf7b3c72a42503a730afbd467bd357ebe SHA512 819abb250c813b23a9644e7ac160e0fcbd7e7ccd4c066a78c1dfe5880bad48f79e676e657c33b3e5e35a40fb97f23a0f7adfd928caf18c771cfa337da2ee6d99 WHIRLPOOL d3c027ca03d90d6270715e9769951bb70efbec46e1837bd71d6d086cd8a3242d66ac1124aa74666dc75695cc9ecb8cf86676d983f24f4ed13f25527497187c61 DIST tsetup.0.10.19.tar.xz 24945384 SHA256 586a6d98d8ee412581a73e501287f4bc972fa966f34e62c245878e6ef183042b SHA512 b2c17c778e8a9b4a7a7f07408e850a26f229b230668365a9aef212e17f601b4d9f0d9e2fd5958e1ab7c5f59ab908b4f86a72afb962ecc29fe3b107db0723efc5 WHIRLPOOL 2407dcd1e82c8c618d816b99bbdcec16756d2153f1d1925e72c0137ec3148d3673fb213a457e8f12710b260a082be3792ed736f4fe879e2a226739fb495621f9 DIST tsetup.0.10.20.tar.xz 24935368 SHA256 099fbfffb4dd6a0f1f77b35e0ce1cd8cdd2ed711488e06c1411c531064b9ad0b SHA512 863011ddd0a2ab63920b7afabc44004202e1093009ef8e7093b43a6c6e31a4ea68d9d0a92659681ec6cd2d623a65610d933058df880f2162edfa7e0c49f90f53 WHIRLPOOL b4c4dadf68be09b6b5f020f1ecd12bce7c686e77917ee42901de4d9f7d149c16f5aa6b9647e8a6560853b879972205a4669543e9e72efe936ef68c9043926bf2 +DIST tsetup.1.0.0.tar.xz 25290328 SHA256 0e1ff315760decd7137de3d87e80b799f879db6950c9944bf48b56066b973c03 SHA512 9759355401cde66f5eca86faee3cb6b776128b4750b91ec1ee8ffaa6894cf40ffabdf706349272d5bc439f5a1df6c77c9332a678c49a5e845fb82cb940003443 WHIRLPOOL 65c6832a0b5a1baba585c35c010b1a704d33410ad26800458bb9f747e4b060339eacd8a236772ba8df64cce0f7da546926e95d8ad40d11428b8b3e82af39f5c6 DIST tsetup32.0.10.16.tar.xz 25576088 SHA256 1daacb1449a69fe6e81ba1e6675c9e60b8c2c1f018cdaec0426a57c330af1ec1 SHA512 16f71a33b1dd1c7d421963a82b3abc820f949eaf821e9718bb8125301106bd46853d19e323a8c8f94bb67ef7efaefd46c16ab9f396edd1a85b9df58b6490df7d WHIRLPOOL 8bcf7633d2a88353343eebee781488c751ff1863ceb2ed36a6b390e5040c7a399a26b8674d4953bd6efc584df0ad30a0fdfa562d9bf7875305c3d0c0fda658dc DIST tsetup32.0.10.19.tar.xz 25559412 SHA256 b0f9c9ff51f8caf67f549960b2c4fde3d2d683ac8e77b3ed1c2d4c9e7f3283b3 SHA512 4b613a2dec6a76aebdb9c23ec62a0eadd1e47135d73ef444635bc4b585486d85a7a9fa4ae4a9c6d931de0ffb8745bb12b4437eeb2209008da089d2394f07ab17 WHIRLPOOL d20110f799560a9150898dae1bf6483449ac38fc65ed53714e9a3781ba21093f7285771fb11189bde8e2bd816997e4cdb12e6e7d5274f9cd90557f7470d2ada4 DIST tsetup32.0.10.20.tar.xz 25551104 SHA256 69fbc0376867ea55784973e34be82acf0c4c9c7e437bc09494917120d38b0545 SHA512 05d5da221b11990c64a48d097a36a35ffbbd353ac23ec528de9fddcea090f2f668337cd06d8ccc0aed6b1f542a216939bb15dcff09eb126d75d04f034470954d WHIRLPOOL 9fe44a4a207f520eddcf79ee07c3bad2bf85bda26691f9bc6533bcaa552a1f82f785c921a2f29dbab0d985407b1b4c20d4bce7d93de67771070edeb936640e9f +DIST tsetup32.1.0.0.tar.xz 25921252 SHA256 6ec380faf45c4f0fbcbb1873da92a5ced6539e3abc934a39716a3e3132f87d60 SHA512 9df971b095beef02bfce003d3bbc9fe7e4d4970e78136b6aa77e278c9fe69b2f2f44f0490f318aaa2a9942ddecc5016777938b0bff841096718c49d0a8b4723c WHIRLPOOL 09b3567e405f3404883e5f51eb23a57592830bef6da8304fd0e9740608ba9545079a00d47da042e6c0bce7f62155b332ae351670c21c259ff58ebe5d774bf9c4 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.0.ebuild new file mode 100644 index 000000000000..c510904f21e9 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" +IUSE="" + +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 + gnome2_icon_savelist +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update +} |