diff options
author | Victor Gaydov <victor@enise.org> | 2016-05-28 16:58:58 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-07-08 18:18:28 +0000 |
commit | 6549bb3e18f784893a4dc37d82dfcb5f5bcc060e (patch) | |
tree | 4003b61b4328e1aecfd2e8835b2efccde82fcc94 /net-im/telegram-desktop-bin | |
parent | media-gfx/photoqt: remove old (diff) | |
download | gentoo-6549bb3e18f784893a4dc37d82dfcb5f5bcc060e.tar.gz gentoo-6549bb3e18f784893a4dc37d82dfcb5f5bcc060e.tar.bz2 gentoo-6549bb3e18f784893a4dc37d82dfcb5f5bcc060e.zip |
net-im/telegram-desktop-bin: Add telegram-bin to the tree.
Telegram is a cloud-based instant messaging service.
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1551
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 3 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/metadata.xml | 13 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-0.9.51.ebuild | 60 |
3 files changed, 76 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest new file mode 100644 index 000000000000..d27195453e30 --- /dev/null +++ b/net-im/telegram-desktop-bin/Manifest @@ -0,0 +1,3 @@ +DIST tdesktop-0.9.51.tar.gz 11482866 SHA256 246c321c009f7eeb3b616503b19c270688a790bf691feac838b3d91bfd51c55b SHA512 9a8911d87f4a3538c3cdbaf5e929ec9c51e44cd96f331c9f4dcb245798f9c09ef7510cb4ea9fef02359df900ae58aeb9c45691c9dad0516b62a80c7ccb34a723 WHIRLPOOL 1cd3803796b3b7221708b00f2ba14cde27aec280992b072dc3518200e724c1f93f9ac07076a3afa1f3b80f1fb5461840806ce98d01771178ab3e3ac66ac910ed +DIST tsetup.0.9.51.tar.xz 20700948 SHA256 322ebb9885590258724d11c0d869298f15b11e5746b82b6c13266dfab59b5cf2 SHA512 e3b66b3b09dd18db4a01884f50aecbcca3e6a95500db9508d9f1551d3cc6a900abcdc43e97351d99c8c53831e2f50ee814fd6352f67255eb920c4ef29d0f5b4e WHIRLPOOL 1dc22678031e2bea6f85243f3bb21b68ba101ceb9c58d66471ec530d172567c61a7bd14a7875ec8aee75abfcb4119faa50af915997fb909dd8e6fd5db8e0960f +DIST tsetup32.0.9.51.tar.xz 21370640 SHA256 c66e3cbd176d60fde2533f351f1c4900798281068e3f49fedc2ec8b0926f7a9b SHA512 547b4d75641e9df0e86a4d9bca93f5584a3ea298bccb01b9449ac2c32cb20a29dd9095320b5190edf4772f493ec2935724733d7cbe218131bcb2f7d84c77acc0 WHIRLPOOL f1ef7f222516fc270bb8cc5198e3e4d2c6a310893e6ece22d3a835992e236ee5553ed523efcff2a33a979144146c889a772d1ea65a4d3cd6b023139df3b57946 diff --git a/net-im/telegram-desktop-bin/metadata.xml b/net-im/telegram-desktop-bin/metadata.xml new file mode 100644 index 000000000000..59f7f823fa48 --- /dev/null +++ b/net-im/telegram-desktop-bin/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>victor@enise.org</email> + <name>Victor Gaydov</name> + <description>Proxied maintainer</description> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-0.9.51.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-0.9.51.ebuild new file mode 100644 index 000000000000..764088828ac1 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-0.9.51.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 +} |