summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Vesely <jano.vesely@gmail.com>2018-06-25 00:16:26 -0400
committerMikle Kolyada <zlogene@gentoo.org>2018-06-26 18:15:51 +0300
commit73f89ba84c392c5e0f769fa5720c9bc0c30df7e3 (patch)
tree8b76d8327a21ca9448acc1e83db8a0a7605c4234
parentsys-apps/memtest86+: remove unused patches (diff)
downloadgentoo-73f89ba84c392c5e0f769fa5720c9bc0c30df7e3.tar.gz
gentoo-73f89ba84c392c5e0f769fa5720c9bc0c30df7e3.tar.bz2
gentoo-73f89ba84c392c5e0f769fa5720c9bc0c30df7e3.zip
net-im/telegram-desktop-bin: Bump to 1.3.8
Signed-off-by: Jan Vesely <jano.vesely@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/8966
-rw-r--r--net-im/telegram-desktop-bin/Manifest3
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.3.8.ebuild58
2 files changed, 61 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index dc000e7a1835..387c18e2cc7e 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,9 +1,12 @@
DIST tdesktop-1.2.17.tar.gz 16916625 BLAKE2B 6400ab396e6a8f37b294e6d0fec28d6d97dffbd2cdb8f2154492cb39dd961bf463393ec33520e790f50e5e20b02ed6055cfb51af241c1302fe837f12b3b679e5 SHA512 fb7fe4b63ab08ff51889ce357c998f50b84f805f71662370345b2c7bda79ddb958ad29e4b92bb9a91774239dc13591d8a467ead82dcda9935d0b637ee3826b75
DIST tdesktop-1.3.0.tar.gz 16974902 BLAKE2B 8a6d4a964e4b487c6a833eddd419bc50ab5056a37345b27676cc5b9e1bea72ecc53c93e33a890095396eabda3d792269eddf5d8d15e9840dff64483f58cf9396 SHA512 06118de30393c611b4e2194eb897ef425c2722b571df5f2cb9ae05191474c53d812f7b0a5df4f52d18a58485cd70a4e92b994d9ec7e21c83538fc447fecad313
DIST tdesktop-1.3.7.tar.gz 17056555 BLAKE2B 1ba22af19a5ad346ee3e540ded473128fe3582fb0260164c1bec3b141a94cedf34e2c75dd8601dd79c9832391bff5a59ff95aef60050f74cb36f109ffb8df98e SHA512 f92003335ac53c77ce5d320e0549734feceed6b60121429f167134cc8d16b547bd27ad3c85dcbf0da5f55ac8e1e60f5027c910082afd9f683d8a98cb7ac16d6b
+DIST tdesktop-1.3.8.tar.gz 17127764 BLAKE2B ff9390803bbddbd939eb3173f89b42f161d06c81f3c4702562318d08ecbcfbcf548eab04b8bd80a6f4d546db2c6d5a20c3bf73d0db9ae8ccdd9f4c88048f8074 SHA512 4cef9a2b379b090f6993e4e391152d7fa02db3863c0758ea04f04bdac219ae96e4e43459a44a2857895264555f7bf93a03a9969b1f9bd194185cc7c6e746549a
DIST tsetup.1.2.17.tar.xz 33238980 BLAKE2B d755c1353a6f5f7fc560614138aa867199df63683bd8ca48936431771a62a9a0efa4e85b40c6725fea6a83f25adb9b79ce5f45760442af5ab3c64f86128d2067 SHA512 02e69ed77eacb28ecf9141ae671bde9bf7f701bc7c77f654a87325694f1dd45ac65efa806120db6463b1f3b3212113f819969453738312ec81b334b56642e1cf
DIST tsetup.1.3.0.tar.xz 33542536 BLAKE2B 81f0361e89a8c92153277288ad74c469baffa0c9f75cbfea6bf387ef23a0c5a57443e90f57f9cadde9df847bed761e9e57f46e8d28ed176b1f6c48c562d3b943 SHA512 735592a09ca6e86bdd2d7375043a61fecf4ae7d768d2e7b177e60579fa56154d56046ae890317111c1d91a222a9a96b9549497efd5018938e0ca711e67439424
DIST tsetup.1.3.7.tar.xz 33921540 BLAKE2B 4d309bab164299ff7729f72aed44e21716e8ff1e6c41434fcd3e6c8ce9238891a2b93e4d55e62c6e44846781e755a32258dda36e02351d56357241daede342eb SHA512 c4d1249cb2e1be0e9410ba6d7b5f34f342c420d1b44e6b78736aeb611fa3e11519e4c0dfe2fd6f9a819fea09030d8cf451b2c36fc283fb12e4007b4a29855949
+DIST tsetup.1.3.8.tar.xz 34517696 BLAKE2B 2a3350b2bdb05c880e306965566f622aa6cb440cc8fe3b72e8487efe6473b2e769db988766903634a90c78b66bdcbe7893742346e163de3bef4a4611f657397a SHA512 31766007ca47fe8c47fad9cebb95b1cae0db3ddec8bfee6f0108dd5e490790822d2ef4fceff2c24ca8c09483724f43aa8fa3a6cf5cb0e09de2fc26911cb66fb2
DIST tsetup32.1.2.17.tar.xz 34845244 BLAKE2B 31b0394fd3f74d211acf3aa4aab0181036fd3226b9d5e8721447b245d846b18bd499b96e8c916956b5d294b670309c305f1229758e23b0f231306bfcdf67d67f SHA512 0fb8cb39bf93f49d4cab794c1e9588e4bcf370a7659d6a84d34c2cada64f527bcee9847edd667563a451c74d4191e5070dfe615d913985dd3c6bc37070869ea1
DIST tsetup32.1.3.0.tar.xz 35710316 BLAKE2B 68c5d3cd0c286d261cd090c34ebf6c8eedfd29cdbd579c38b65256f2c2dea0196450e06a91944bede2bf9319d9a6e6966178c49da0e8ac19093744cccd56c1a9 SHA512 437e5bdfd11673c5a85933da23f082ff51d4c7366d1aa6e115c9a8f5a6c63987a9102b891525887c27f31c293a8ed167790a6bcd9cb55aa338bbd4e8b870b159
DIST tsetup32.1.3.7.tar.xz 36187736 BLAKE2B 3da383c0067192e523d5b85056acf12085ceea4de6d06135f11c298e1f58ae3b09ffc500fa6cf07b72a186c8c6f6fde592f8a8aaa956ac83f90489c1383a3dd9 SHA512 7b8e3ef29f557af0912ff15cee976b7e244e7367346f1d5b4d6fbdb52941930a8952e0c01f8dc53d4a8c2bd6eb0f1f309b3dbff4b60f8790c204ccaf60565108
+DIST tsetup32.1.3.8.tar.xz 37194796 BLAKE2B bfcb48b9f65bc54e1b7c269b500424ec2687c45359aec89da310548d310c5abb9d71547e77a250580f63d077fcb9b477ccd4cd8ae40a4bb4666e216950a3b809 SHA512 cae2c1a6abf2f02515e2ad8df107ab2306c0d1d7d3edf8b04fbee5c2130a0ad4b9e61929fe9b7576dc6d55f42541c2b863c30c1e3aeb186be8c9948334ecdd44
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.3.8.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.3.8.ebuild
new file mode 100644
index 000000000000..6522d0b976f6
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.3.8.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop 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
+
+ domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_icon_cache_update
+}