summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Gaydov <victor@enise.org>2017-01-20 19:22:09 +0300
committerPatrice Clement <monsieurp@gentoo.org>2017-01-26 00:28:54 +0100
commit6f92464a5db5c6379c82aa87e925b71b0dec2189 (patch)
tree00bfbcdcbdd42bc382bd601a1c4513aa5df6b756
parentwww-apps/otrs: make variable local. (diff)
downloadgentoo-6f92464a5db5c6379c82aa87e925b71b0dec2189.tar.gz
gentoo-6f92464a5db5c6379c82aa87e925b71b0dec2189.tar.bz2
gentoo-6f92464a5db5c6379c82aa87e925b71b0dec2189.zip
net-im/telegram-desktop-bin: version bump to 1.0.2.
Closes: https://github.com/gentoo/gentoo/pull/3566
-rw-r--r--net-im/telegram-desktop-bin/Manifest3
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.2.ebuild61
2 files changed, 64 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index c96c0bd8387f..8c8ed7655612 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,6 +1,9 @@
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 tdesktop-1.0.2.tar.gz 11565536 SHA256 b274317fa4a9c8402a53da94f030f0a5277ca16b8636eff6873b07dcdac5ddc5 SHA512 d9d9548f233aaa127bd0b9ba7eab23f13c3c3f41eeca3c9d66d31282db7a9c585b79473c4492ca6b43dda64fc6f7bededb207eae6186bf416c339acf363e62cd WHIRLPOOL e98361ca7832a5412b6b7cf88da608a9873376852d8e43a43ec49b26bc97840757babb51e1cfb2aaf00163cbdd773f722f2b4163fe60e2bb551eb8c13d01278c
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 tsetup.1.0.2.tar.xz 25212136 SHA256 9d159bb5a906c99d937f94821d51bc2584dd5df410f7e8ec5032afcee0843ca2 SHA512 e8d641b986e6ecc6cea1b9c60abb23dbe4758310f54cbb10a44fa54d80aa7317eb9ce4ff9008eb12c4ff51a6698389ba5cccbbeb4da8e7a9c7b41e6110c89a26 WHIRLPOOL 9fcc5fec027882a0ca9b4bf7c6eedf43e18e15c1cdcb82bf703cad26679e5c029cb0ae98fc61f16e63ff499d0405879a42e03ec6967f19e57c1cf8ef16e09233
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
+DIST tsetup32.1.0.2.tar.xz 25853796 SHA256 e6b8b2bd31a8d05cb27141e91104ebb28c9d4325f8d471b5fee3e2cff8d54acd SHA512 c0d63b269a665f55f70516910e9679da6b21826e1b9b2cf08e3c66bdd22eea8af4d0eb49edd57ef1129c43ce3345007f706801df791e6131d06614726bbe9453 WHIRLPOOL 78cef407058765ec7222573b15204bfb122b69f2006a5a33ae4ff96d77f10001465cba93108d4b4b96434ed6d2a331b197f054487e482e4a2d4720ce3b0e185c
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.2.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.2.ebuild
new file mode 100644
index 000000000000..c510904f21e9
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.2.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
+}