diff options
author | Henning Schild <henning@hennsch.de> | 2021-03-22 22:29:55 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-03-23 14:32:40 +0200 |
commit | 88032123e32f14ed070584bff247634820510ffa (patch) | |
tree | 01f5e00219ce948ade9419ee983c14d67587ac12 /net-im | |
parent | app-mobilephone/heimdall: updated links and RDEPEND (diff) | |
download | gentoo-88032123e32f14ed070584bff247634820510ffa.tar.gz gentoo-88032123e32f14ed070584bff247634820510ffa.tar.bz2 gentoo-88032123e32f14ed070584bff247634820510ffa.zip |
net-im/telegram-desktop-bin: bump version to 2.7.1
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/20072
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 2 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-2.7.1.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 28c53d000737..71ae5f552a9d 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,2 +1,4 @@ DIST tdesktop-2.6.1.tar.gz 15071996 BLAKE2B 927c571e8a35c30cdf0c974895e3a7d2a3257077959e9a6a0b7b5c819833a83cf6d5e7136f0e8909490310cac01863de88bf3ebd2c82fe60c8ed85f988ed3887 SHA512 abd0630c4bd979cdc36b61c7c9b3223f7cdc090805d88f6a3173466b092934a3400313c7af3a170c5b116ec2aefa7577d008cd41085a94aca5e20759a3957995 +DIST tdesktop-2.7.1.tar.gz 15117072 BLAKE2B caf01d2d4c6b5ec8d9621e1cf2b4d5a906230caeb29fc484b64d69de3bce070f42f9efa43b31149cffbbab4adbbea17fdda65b24dad702db8df01f232b4ad5e6 SHA512 148299b00348129950e92be4f7ea6dc38d0ec6dd4cd673c05126ba724caa9bde3f9b10ba42b55803116f5f145097c83f93fdcdd541a6f9894406ca19a395b583 DIST tsetup.2.6.1.tar.xz 35300412 BLAKE2B cf4e616c4957b8a6ee91b621a79556a588c5d736583457d4fa35c3f0b4266b929f41b488764330c5f5d06314ac57a853613f9fcf70e5d129dceb9ac9e8059c8d SHA512 f8b9f78b4d7f6cf886a9368731733f598749babf6ed50541b5332dfef20ccc24616f399448d17cc523409b6e1dcdd2c137bbe0e5eb13e4e9ade902a6e26cf1ea +DIST tsetup.2.7.1.tar.xz 35867608 BLAKE2B 13ae89d4c7e98dbb0ec536c22554cd5d2ef6905a07e9eb1684fa536ccd0b6469791955a581bc2d0e71e8727ca5b3c4735a5658d6ec2aa7aecfd2b68c4906c110 SHA512 732d0be95e63e5948258e64fd33ab171adf610706714115fcd4715034d95f3edf030dbc1a7000f1fd01ce140234056b0f1db1d94cb512286789681ade1b0d739 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-2.7.1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.7.1.ebuild new file mode 100644 index 000000000000..6821536278c0 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.7.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop optfeature 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 ) +" + +LICENSE="GPL-3-with-openssl-exception" +SLOT="0" +KEYWORDS="-* ~amd64" + +QA_PREBUILT="usr/lib/${PN}/Telegram" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection + >=media-libs/fontconfig-2.13 + media-libs/freetype:2 + media-libs/libglvnd[X] + >=sys-apps/dbus-1.4.2[X] + sys-libs/zlib + x11-libs/libSM + x11-libs/libdrm + x11-libs/libICE + x11-libs/libSM + 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_postinst() { + xdg_pkg_postinst + optfeature "spell checker support" app-text/enchant +} |