diff options
author | Henning Schild <henning@hennsch.de> | 2019-02-09 19:52:18 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2019-02-11 23:55:38 +0100 |
commit | 732bb4a9be58c8d5f7249c5be0baba8cd66c36f6 (patch) | |
tree | 39b3e31d9fa68352199af1618f7fa79c2dbf34d1 /net-im | |
parent | net-im/signal-desktop-bin: remove old version. (diff) | |
download | gentoo-732bb4a9be58c8d5f7249c5be0baba8cd66c36f6.tar.gz gentoo-732bb4a9be58c8d5f7249c5be0baba8cd66c36f6.tar.bz2 gentoo-732bb4a9be58c8d5f7249c5be0baba8cd66c36f6.zip |
net-im/telegram-desktop-bin: version bump to 1.5.12.
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/11015
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 3 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.12.ebuild | 65 |
2 files changed, 68 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index cf03ae33e5b3..48b11bf78761 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,6 +1,9 @@ DIST tdesktop-1.5.11.tar.gz 14244290 BLAKE2B caa37c32e93cae338eea1704cce3a4e88ba39ee9383f8a919fde560cc3e1a494ac0569d50b76f873389c0939bf9016b2900b57116a67a7055576dc64f2dd1379 SHA512 45315a769acae28a767899461ffb5f2bea6deac66f1ffc5d908d6967e8ce81c4f6a3170468dedf607d9ba8c9bcb824d2c41ef214d6484aea344e396b53b37bcb +DIST tdesktop-1.5.12.tar.gz 14252160 BLAKE2B 5f903e7dd1d749b75fa67a8956932bcd08974395c80985c5347a422b93d2eca544d2b6082de0f87769f83ba18107dc837b28ee9c4dd5f266f5d88252e7d279f0 SHA512 66887ff86d8290c2e141cf6cf50d17e72704a433fb7b9e340414107eba9ebead9c93d754baa5eef3d28717b61e7633da982d3ba5a8a68711df229437fbb67414 DIST tdesktop-1.5.8.tar.gz 14230610 BLAKE2B 4673381abf54523c602f75e7e516c78c6ec381cf9a92e75e979807d53ef8661eed5080dbde56b26ceb8407bf07fc7431df7ca848f9674c4b48b83efc5e76cf84 SHA512 d3c086643732171669451f7e96a90690c2944df5bf30c98187e33ffa853f8f8b1e682aa434df45b6b0d785d3a838aef871a29c784059c04211917975ca15a2d0 DIST tsetup.1.5.11.tar.xz 32436872 BLAKE2B b1e871abd039c5decc866378fa1d250acdeb33d8fd083bb5d7c1f496242af7da038561f9a7fe78dbfb7dbe5a784e77f054164e08f3da1732cc4d1e966b74aab0 SHA512 0f07468223266e20cdeb8a5cb5c7cc2fc780961578d63c893c04899bfde0bb36e77d9d4153c76fc2ca61b7b340dcc5a8d715e236c1b5aa2041c852543a5640bb +DIST tsetup.1.5.12.tar.xz 32461440 BLAKE2B 10f1ff27bc4adbca2fb2f79b4f6208c48ef2ee6c03e8f8c2044645dc1b057a5be0b72272b37b8f28f36a0ab9fcffe9cf8b1d04b240ba3971c376d025a6e92c7b SHA512 c73a0a6ec5c7872c1a38d68069dd83c2c319472e0605c745e4a56d2a280892198789f7a3dd6b0df7066b556f803d004a4090ea8ca2d212cb40abed20193a8230 DIST tsetup.1.5.8.tar.xz 32399784 BLAKE2B 4c64bbcb8a84d98a415f981bd719f53889ad69b74ad5204d4391cddf2f8aa4c47ff75f5a5914fb8c2a2a01eb3eb1e9eca174db4816b2fb5436c58b752b209f5a SHA512 bed0529101eacc71ad9588bbc2f50268f4d3d77bc50387200c0c6551623abf34a3424a92cb0ae1c1ebbec9698b04d59047ca672400aa45a7e93bde580c3c6928 DIST tsetup32.1.5.11.tar.xz 35221340 BLAKE2B 9910d9de184553f4ebf6a32772fe1aee326fc82b532ae539495188b89971f7b5fa4992b0de4991340aa3f01b4fd3e8f09b2af71f74c4f5a6c9ec88271fe0783e SHA512 835cd3a0a65d397d94b2355bfbf70c68c6867a3f08523bd07c834258e55ca8f52f06a1d3eaf4951df3c0f0277067ebf19ceb83a53372c54f50ac9f5078dbcac7 +DIST tsetup32.1.5.12.tar.xz 35261680 BLAKE2B 488e8681173ab983f7f5dc037d328078cbfc8b995d9abcdf1351a38c73c18546888fabaa26b60b6530ee75231ee6bd2e0fcab9bb300aa5c74ab6bd7ad20faab7 SHA512 4710166f2c1840c41df299cb35e7ae2874d3bc1621d9ff293ba8dbcf59370e88f4542ebf9dfd9b551aaecd7539655443fdf43a6b1906758f5db1f61586ae3591 DIST tsetup32.1.5.8.tar.xz 35047164 BLAKE2B 5c0e648dc367f5f424aef01630f4cc3a6767a816c5a1b409fd6f0f2edc19a46520b166a90f1f17f7d3f3b4e8c3b0c326f0077588fba0d2ca6e8c2dbd12b33215 SHA512 e960e97c777b548a577c75307060ad0e1abf176fe3c1797f3ab75a26f402b3afaa11a58ed49746505ead0293b6fb629db97a0e2ed8e9841e01052871fb0567fd diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.12.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.12.ebuild new file mode 100644 index 000000000000..10f3a4e22b72 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.12.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# 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://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="telegram" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +QA_PREBUILT="usr/lib/${PN}/Telegram" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection + >=sys-apps/dbus-1.4.20 + x11-libs/libX11 + >=x11-libs/libxcb-1.10[xkb] + >=media-libs/fontconfig-2.13 +" + +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 + gnome2_icon_cache_update + 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 + gnome2_icon_cache_update +} |