summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorVictor Gaydov <victor@enise.org>2016-07-10 12:10:47 +0300
committerPatrice Clement <monsieurp@gentoo.org>2016-07-11 08:16:55 +0000
commit73ef00dc43db100eaeffa4b7f68f0825acd54519 (patch)
tree3eafb2d609be99e02e0b0e8579a56079aba94d44 /net-im
parentsci-electronics/gazebo: remove old (diff)
downloadgentoo-73ef00dc43db100eaeffa4b7f68f0825acd54519.tar.gz
gentoo-73ef00dc43db100eaeffa4b7f68f0825acd54519.tar.bz2
gentoo-73ef00dc43db100eaeffa4b7f68f0825acd54519.zip
net-im/telegram-desktop-bin: version bump.
Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1862 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop-bin/Manifest3
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-0.9.56.ebuild60
2 files changed, 63 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index d27195453e30..793b1218a929 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,3 +1,6 @@
DIST tdesktop-0.9.51.tar.gz 11482866 SHA256 246c321c009f7eeb3b616503b19c270688a790bf691feac838b3d91bfd51c55b SHA512 9a8911d87f4a3538c3cdbaf5e929ec9c51e44cd96f331c9f4dcb245798f9c09ef7510cb4ea9fef02359df900ae58aeb9c45691c9dad0516b62a80c7ccb34a723 WHIRLPOOL 1cd3803796b3b7221708b00f2ba14cde27aec280992b072dc3518200e724c1f93f9ac07076a3afa1f3b80f1fb5461840806ce98d01771178ab3e3ac66ac910ed
+DIST tdesktop-0.9.56.tar.gz 11472682 SHA256 69ed7364e87f8f24d6f68ddc0a5b98dfd5dae74ecc93e456cede9e65878ef404 SHA512 cb5013c17c313f1a0f5508c7937f4936e13920537e4cbf2970de7110c9ce98074ba1066f7a285b6b51e508d642a21b7afc8534f170ca8d41f189b77cb5e7898d WHIRLPOOL f97d81f6d6a13342267a76d851dc92b46400f45b0290645888888fc1120ab092628db2c1020cb0ff3c879bb5282b76b79e8eabe465c318dfbdfe08888d5c3e62
DIST tsetup.0.9.51.tar.xz 20700948 SHA256 322ebb9885590258724d11c0d869298f15b11e5746b82b6c13266dfab59b5cf2 SHA512 e3b66b3b09dd18db4a01884f50aecbcca3e6a95500db9508d9f1551d3cc6a900abcdc43e97351d99c8c53831e2f50ee814fd6352f67255eb920c4ef29d0f5b4e WHIRLPOOL 1dc22678031e2bea6f85243f3bb21b68ba101ceb9c58d66471ec530d172567c61a7bd14a7875ec8aee75abfcb4119faa50af915997fb909dd8e6fd5db8e0960f
+DIST tsetup.0.9.56.tar.xz 20718752 SHA256 e214c60771c76b81ad65e175c68345d8e9df043f68944063babd395fcc85f6c3 SHA512 da9a6cb5049c0ae702a3ed5301368efbace95d27cf031fce203ec68794b36451f8c6ece93f5f1fa5623adfd32d13236dc6198ebbe7bf9ec574af93d167bbd881 WHIRLPOOL 26394ca342d765de39deaace8bfd0e4a2b3e92475f5e8670827677ae85a2f071e9a9f34823e497c159569b287cf6f331a10ec8822c5c013eba18ac2e34a7d6df
DIST tsetup32.0.9.51.tar.xz 21370640 SHA256 c66e3cbd176d60fde2533f351f1c4900798281068e3f49fedc2ec8b0926f7a9b SHA512 547b4d75641e9df0e86a4d9bca93f5584a3ea298bccb01b9449ac2c32cb20a29dd9095320b5190edf4772f493ec2935724733d7cbe218131bcb2f7d84c77acc0 WHIRLPOOL f1ef7f222516fc270bb8cc5198e3e4d2c6a310893e6ece22d3a835992e236ee5553ed523efcff2a33a979144146c889a772d1ea65a4d3cd6b023139df3b57946
+DIST tsetup32.0.9.56.tar.xz 21387760 SHA256 5ada229eb51ec0c02dd32ca0e1d69cfe30a2832035bf30a503a3d9627cd9b090 SHA512 1ea67f3a61a7040e94f604e026e5ae768f3dd9eb193608460abac35658e7c4c920f0075e06cfb3c85362c96bad99796e76c878f6816652b3fa0df1af7ef4b6bc WHIRLPOOL 238a404b4021b3e34e9c023c9b2cd54997c788cbf1933bd3c63a218cb6205b929b05522393539671f0c8820119ba5472f95194c554cb66ff254c66b937293b7b
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-0.9.56.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-0.9.56.ebuild
new file mode 100644
index 000000000000..764088828ac1
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-0.9.56.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 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
+
+ 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
+
+ domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.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
+}