summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2019-02-04 10:28:53 +0100
committerPatrice Clement <monsieurp@gentoo.org>2019-02-08 00:02:02 +0100
commitf47ff4d95dc812a837de74c89b9e815cbe834ef0 (patch)
tree1daa69bc6ba6d3b4d166a27b0849728320f91e34 /net-im
parentgnome-base/libgnomekbd: bump to 3.26.1 (diff)
downloadgentoo-f47ff4d95dc812a837de74c89b9e815cbe834ef0.tar.gz
gentoo-f47ff4d95dc812a837de74c89b9e815cbe834ef0.tar.bz2
gentoo-f47ff4d95dc812a837de74c89b9e815cbe834ef0.zip
net-im/telegram-desktop-bin: version bump to 1.5.11.
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/10953 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop-bin/Manifest3
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.11.ebuild65
2 files changed, 68 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 399051d5fd2d..594824351d93 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.4.tar.gz 14129681 BLAKE2B e3c5e4a9914affc421d6a133c56dd48c3587f705d3858d1ef35be45f5da4cebaf35864336763ee6ae2018929c7b40b6ed903341380fa189c3e37a2e2b5d41268 SHA512 667d47fc39fff8ac4731c85db48f5d58309eab7b4d707435161b885cf47c6dc9505fc88277c14d9e010ac2b27f4c456a64ebccfe6dabfb21e38d65d86e8789db
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.4.tar.xz 32147160 BLAKE2B c8c0b14e2c3d9d9ed8783f7611eb15fa0ad830e85995b4b8ba59b643a791cf51e80663216cf4ab2807afb4b81eb79a45dc3c6456c9fd0a5556dc5ce0ee5731ca SHA512 f8074961794034493acb55588908f71efe95a7adcebac8e3c1d81472a90b28e68f7883d77f38ad1c261666b6c71bc9e5c0caab7eca57156ca76ba0c378af368f
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.4.tar.xz 34626784 BLAKE2B c642f0b943bfd9e287b7906487fa5081103e71f9f8fff88047c6a384e3a3c9aa48c7aff38aebff8fc12bc37072349ae80ec40d8d9580ae99a06b1c61d0f3616f SHA512 a7c9aa753ef657ec2153b2dc8961c4baf32fbca9fc02e78db921c638d36e9df321f171885045b4ffb09412900be3a4b882057816e0f3024fa6fd20f258fe6a85
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.11.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.11.ebuild
new file mode 100644
index 000000000000..10f3a4e22b72
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.11.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
+}