summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2021-04-30 14:37:13 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-05-10 11:06:31 +0300
commit9cffbb543dce639aa582f18130ed0b4e9796e5a0 (patch)
tree7e30a8bb9766bc07eef936f1496b818e04cfa4cd /net-im
parentapp-accessibility/epos: tweak for gcc-11 (diff)
downloadgentoo-9cffbb543dce639aa582f18130ed0b4e9796e5a0.tar.gz
gentoo-9cffbb543dce639aa582f18130ed0b4e9796e5a0.tar.bz2
gentoo-9cffbb543dce639aa582f18130ed0b4e9796e5a0.zip
net-im/telegram-desktop-bin: bump version to 2.7.4
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/20614 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop-bin/Manifest2
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-2.7.4.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 71ae5f552a9d..a5ce23eecdea 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,4 +1,6 @@
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 tdesktop-2.7.4.tar.gz 15226377 BLAKE2B eeb889c6027e889d08b8df2f74a8a7df964475d62bea500122ad455202c6e590f1908877f38c0d0249c9ab6bfe8f99c610804919e36ab0cb2a39c50331e5b7f1 SHA512 f4f896d725bc96c221e70cff19105834dcb0223ad9b4da6bcb00485204fa77447f7cb82e8fd5fd43c841e44376ee763f9707bd3eb18ff4ee53c16bc523002802
DIST tsetup.2.6.1.tar.xz 35300412 BLAKE2B cf4e616c4957b8a6ee91b621a79556a588c5d736583457d4fa35c3f0b4266b929f41b488764330c5f5d06314ac57a853613f9fcf70e5d129dceb9ac9e8059c8d SHA512 f8b9f78b4d7f6cf886a9368731733f598749babf6ed50541b5332dfef20ccc24616f399448d17cc523409b6e1dcdd2c137bbe0e5eb13e4e9ade902a6e26cf1ea
DIST tsetup.2.7.1.tar.xz 35867608 BLAKE2B 13ae89d4c7e98dbb0ec536c22554cd5d2ef6905a07e9eb1684fa536ccd0b6469791955a581bc2d0e71e8727ca5b3c4735a5658d6ec2aa7aecfd2b68c4906c110 SHA512 732d0be95e63e5948258e64fd33ab171adf610706714115fcd4715034d95f3edf030dbc1a7000f1fd01ce140234056b0f1db1d94cb512286789681ade1b0d739
+DIST tsetup.2.7.4.tar.xz 36173288 BLAKE2B 7b25475c2e64a23a658e96bf2bee1495946cdf4c17eb412e3cb385fd3d003cfe99ff67ec66e68590e22d5c818a9c6f4f9060a589edeb17c1b7c69aa222e66d00 SHA512 bd070c1efc9d5db60ebb82e4f0d0145ddadf04760314fa0b37e5a8920f9955dbb475b062911c3857fd6176a4bd8469e1e5764b1c855baf35b2289bb6d12cdcee
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-2.7.4.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.7.4.ebuild
new file mode 100644
index 000000000000..6821536278c0
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.7.4.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
+}