summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/telegram-desktop-bin/Manifest3
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.29.ebuild59
2 files changed, 62 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 3e727a8d7f31..f9c038f4709f 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,6 +1,9 @@
DIST tdesktop-1.0.14.tar.gz 15532607 SHA256 3900da4ffaf229eaa2d679fbd7b890011823e9196c01d3c8563598dcfdef5c8a SHA512 02c1692fb193d5fd0652b4781f54ad1ec15c6f27bebe8ef7a467962710c9510ae86f353cc191916aeae4ccbbe65ac8e60f638db57d3d54be839a3b9de229d749 WHIRLPOOL 7457fe4bf8d171fafba1aee838b02a2a64b679771cf030728048818a1b8a2d4afaa9080089e4fa369f2ccf110018cf1f8cfee1e40fd19862ab6f75360d746551
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 tsetup.1.0.14.tar.xz 29131804 SHA256 88dcffe9fe21855dbf335ad6b94d5a998773d4339b5ca42ce53ae01a2835f448 SHA512 5f1af9a84acf429bd5c09facbdde56b0ada7fbc24d2cf30111aba98a75d338b48606df1922dfb57c25dc54da71a085e1337391a23436d827c1ca17e2a650e156 WHIRLPOOL f4b10e13336c9ceef2753bf4b237bc18f1458b11bcbd00f9157859e598fcd1dcb18b6f19b8f775d1ead2b08db3406a5f511fef19c436503294b0b78a4a5b69bf
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 tsetup32.1.0.14.tar.xz 29767600 SHA256 5902d7164073d61056629490fef041c84083d185e8aa5edf8bffacb52bdb5856 SHA512 41be6c68b9ddaa2f2f900e74a5e32960166fc33bf2be4d58b03fbc42855fab1aa9173b1853e67fe5aae45af9a01401d80b3f3d185e713a983e9b2ef0798f515a WHIRLPOOL f71687750f72c76be8af578cafce0bfe54f8bf0df8d40242229ffacad51a8de8b4b02ca7a940c757c102704f390a3212d2df069b5dc7982e23d522c7e6a97c0a
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
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.29.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.29.ebuild
new file mode 100644
index 000000000000..5858bacb2f9d
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.29.ebuild
@@ -0,0 +1,59 @@
+# 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
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_icon_cache_update
+}