summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-06-16 21:23:20 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-06-16 21:23:20 +0100
commitfab849d1daed0ba7f2ac497d07985c3dbb692543 (patch)
tree10baa743a5340b42ad538dd19d48669ccac209b1 /net-im/telegram-desktop-bin
parent73c318acdaf6f8309d68bd266051e6dd1f1bd787 (diff)
gentoo resync : 16.06.2019
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r--net-im/telegram-desktop-bin/Manifest4
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.3.ebuild63
2 files changed, 67 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 938647239903..0a9ee6e93764 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -2,13 +2,17 @@ AUX telegram-desktop-bin 379 BLAKE2B e97067e322177c771ac99e59690aa3d5587a78e1dab
DIST tdesktop-1.6.3.tar.gz 14310477 BLAKE2B 51881fee449153f71b774cb24cf60d4ddb0627d0ece68eb2e55323b39f6d6095017df885c73ab605198317c7f6fc5c7a348951565307f6442035f45bcaa7e4d9 SHA512 45dec18f4afb1fcabd3f371eadd63516dc1517d50b5c0bd46be7809ec244a01bb4588958ef688fd89a936e52363d3c1d0c31f698bc5388b12925ea234f51f243
DIST tdesktop-1.6.7.tar.gz 14323106 BLAKE2B 6e41e249cd99e9a2358f5a8e9b388fcc354498f5067b85235dd446d317d805113bc43e7e5daa1a1600b9db9b4f124e35593d1fc5f6d621744394c95565a37f35 SHA512 1292b686e47c82f7670e1a528092222c8a61532a9ed64d0e4d3879fa95037b284aa40a956ac1c6739262c4fdf22fb5e9492f6747e971668297cca142a51c5b46
DIST tdesktop-1.7.0.tar.gz 14327246 BLAKE2B 6cc58a3aafe0ae3593df13344db02a24e6a892003b71f97a0e179214d63d230c27d97d039a00fa7b183b4d1295edb32b27d2f1594329e41672533aa6dce0bd26 SHA512 6cf66bf46483b0cfee61a1efb37361c839c24db9d572686775c60004660acd76f9c55d7293771054840f3579e48152240ae4f187dab5b5d1132bb85fb0300545
+DIST tdesktop-1.7.3.tar.gz 14358120 BLAKE2B 430ea848fd0cb210c257a2728e47e267a86775c28e279c56ea8d4a757c82e9e96c7b24f9eba7c6ed86912dc6006c3a5c829531fa92d0bd067db4084f81fdc301 SHA512 b94fdf2e4b6d5f21a5ffe54a0c34ef15597b1335204511ab96f40caa852c8e6ed175811d839dcbb594cd5a93490f8095a71d77fceb1a03f497030c852e1559a0
DIST tsetup.1.6.3.tar.xz 32912784 BLAKE2B 18f39bf50a4edd11429f05c919943ffce731e138929eb43a3c16d10fdaa5a8192a31aaaccb45f743243ad4afb3a5e180c3279083923ffb967d96f815d2c338fa SHA512 4376f91913ab4ba0536cbfe1bc9719066742bd6cdc26e1b63f13d0e68be07c6f90c88c43ffb84b30f85d8b8c02ae7b076db4e1b47a91b4845ba1b47d2a8048ee
DIST tsetup.1.6.7.tar.xz 32973568 BLAKE2B c76fe7c2571e0b1aef15d685d76240112d0f618c2c8e3ec5862029b3b6b4933823bf76bc86f9980d0f64056bd4a2e4a51228c6fa480dfd49f96b0aeb44fe2e68 SHA512 66aa2b9b01fd5c378c6b909468b76cb40e769ecd579abd6c00898dfbf8a4f4efa556d678e2bc17b843e07f4745509ed16c35eb6f365c9fc1dee7da1b07587fa1
DIST tsetup.1.7.0.tar.xz 32941420 BLAKE2B 5de9d4d34c4667dc40f79d7a10f01490647678e67aa4b188372d84a521b035d767b8f0540082949364c8067fa5af859c5ec7f14035149d32093f7ade363e83f5 SHA512 1c2573429547a4d839b323ea3248b8647afe96e0610aac4ea36ded592e947ab08804d3a4a38bb812c65a2849a416bfe1d4f2839b204e6ac4a3254e22f34cc26a
+DIST tsetup.1.7.3.tar.xz 33298240 BLAKE2B fa750b23bd1969b41c2f7dcb8399de39c1aadf05526c52f34ea4ad9a86b844cad6f525e2f8903330990a41eb629cc30af7127249f9b5822eb2fcfaf6bc707f4b SHA512 f7afe62b888e78112ca7bb3fcd8b1b6ab3c9c2688ea1828a7004bdc4f2938b93cc29c201fe04eb3d1b9fac6fb3ac8500a0a296d944feb2c51f6df9a25dd5c062
DIST tsetup32.1.6.3.tar.xz 35580176 BLAKE2B 55518aae40367b8af161a4748bfee656f63c099c327853f01dab11dc4dc6f0c34dbb7236ca58b662905f985b82a4191f645757a8a940534b8893b2222914d666 SHA512 68d08a2b5a0ca5f8ceb918ab6261f51f3650df647262268822f9ff662527339a707f40bb724edcf3d1ea61ca254f77f7fdf2f50413559fd4ac4dffb0adcbdf22
DIST tsetup32.1.6.7.tar.xz 35654388 BLAKE2B 328964b24d6aa883b24a559a5728faa33660a38d3e6d8aa2c035a59ecdf3c006940ddd6ecfe7976a5b6528c1a08eb8448199478c75dd16bd9c324ac826e29637 SHA512 ef149e2e32a61ebb38e10e907550efa014f8121ab1f2713e3d85e27f72e9f895c3c99921f42dbdd906f69508bc25786a06ff7763317a94fca21ec2eafbf240ac
DIST tsetup32.1.7.0.tar.xz 35534532 BLAKE2B e72445cccc7f49d17638ce65feebfaa73803c6d27804151efc42bb6a1c3610819b05ef5c8e8931ef410c97541912db2eeab8b8c036bc06cd954b28a48ef46593 SHA512 400b7c468748a782758b3b02d12ae5743aee864341b0765745a2e6f604094cd431dd7e17a228259cbe734054d9183efe880af325f88d80f939fa5a62a7845ad6
+DIST tsetup32.1.7.3.tar.xz 36075780 BLAKE2B e39acb0acb39874f04cb929e4c7eb2a80651cb431336e114ed6656717a0e2ef16dc28d6d3aba3cd1e3239c0548c68223394f2fd45d04329742c924bd5061bab1 SHA512 20711275a95a3f156595ae9a3cdc53088c3e28122c0854bfe74c7a9dd0d396f26b2615efa0bccd8eb4d6770ca65f65fe5cc0b2c6dacf64955c754c5d008c29cd
EBUILD telegram-desktop-bin-1.6.3.ebuild 1652 BLAKE2B 2aa98799e662752878a8097a7c213dc21732a1772828c74eee5ef4405e18dd44df0422fe539192eb47b6c6869e64f29183ef5bd08374af61582725690004a7b2 SHA512 d158e44d4d851789de54d8a017e426dd5e34c311381c0b6340a58ae7540d9201d7c00ec11e69fd3aed469a3d3a7ad2d06f3c61c39325f8af4ff5e7a6a50d2715
EBUILD telegram-desktop-bin-1.6.7.ebuild 1587 BLAKE2B 3d898187c5208415ae2b4849a5bd7fbfc7bc08b7b1edb0b42a94676a0610bc4daec1b782b190797dd1411392b3bec7d715fa300400a8eee8a0a7117fbd8fafed SHA512 fbef862e380193ee3c89d4cdf253bfb1551bf8195a05189001f837d205049337377223560b3f2d1c7cb43f8e8f9ed56e7bcc6dc37ecc43fb6051199d425ab979
EBUILD telegram-desktop-bin-1.7.0.ebuild 1587 BLAKE2B d108d0d59875c5d87a462c01dcf8c800971a2f4988e9e87e46859ad4905e2b0049e6c0473fb5bc173e5a0b4927b056672e827fc96ca3455b5cb049ebc0970d63 SHA512 e78c76acf267ec6d7d9590c7f3312b06be7a5660be1d7868736132ae3702b87dfbb524bffa14a45498da34f40087b91db15cc065da5d34643dd32a0d1fd86db8
+EBUILD telegram-desktop-bin-1.7.3.ebuild 1587 BLAKE2B d108d0d59875c5d87a462c01dcf8c800971a2f4988e9e87e46859ad4905e2b0049e6c0473fb5bc173e5a0b4927b056672e827fc96ca3455b5cb049ebc0970d63 SHA512 e78c76acf267ec6d7d9590c7f3312b06be7a5660be1d7868736132ae3702b87dfbb524bffa14a45498da34f40087b91db15cc065da5d34643dd32a0d1fd86db8
MISC metadata.xml 585 BLAKE2B 0f6f2dbb75e3fc543ad04b0d72652802b8de0336ccd1171fc06e2d2b61ff5288346b9e3c44afad9e5dbd9de9fa46d3324710697d83e94c9a5da5a8c5a137b26f SHA512 d5af59695ad9fa610865b3719637a7f5dd283f30bf7051f39fd6b8ae7c485f46d52627900cc3d46450491c7429844e0d7c535f2a028a112cb65d7523ff2c669b
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.3.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.3.ebuild
new file mode 100644
index 000000000000..55d80d8203c1
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop 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://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/tsetup.${PV}.tar.xz )
+ x86? ( https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/tsetup32.${PV}.tar.xz )
+"
+
+LICENSE="GPL-3-with-openssl-exception"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+QA_PREBUILT="usr/lib/${PN}/Telegram"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ >=media-libs/fontconfig-2.13
+ >=sys-apps/dbus-1.4.20
+ x11-libs/libX11
+ >=x11-libs/libxcb-1.10[xkb]
+"
+
+S="${WORKDIR}/Telegram"
+
+src_install() {
+ exeinto /usr/lib/${PN}
+ doexe "Telegram"
+ newbin "${FILESDIR}"/${PN} "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.png
+ done
+
+ domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ einfo
+ einfo "Previous versions of ${PN} have created "
+ einfo "\"~/.local/share/applications/telegram.desktop\". These files"
+ einfo "conflict with the one shipped by portage and should be removed"
+ einfo "from all homedirs. (https://bugs.gentoo.org/618662)"
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+}