diff options
author | Henning Schild <henning@hennsch.de> | 2020-08-18 23:51:36 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-08-29 01:24:56 +0000 |
commit | df8099bca70b27ea79af4a5a18cd9552d22aed95 (patch) | |
tree | bdd626072665014556ae860c88f77ded64a26abb /net-im/telegram-desktop-bin | |
parent | dev-perl/File-Map: Bump to version 0.670.0 (diff) | |
download | gentoo-df8099bca70b27ea79af4a5a18cd9552d22aed95.tar.gz gentoo-df8099bca70b27ea79af4a5a18cd9552d22aed95.tar.bz2 gentoo-df8099bca70b27ea79af4a5a18cd9552d22aed95.zip |
net-im/telegram-desktop-bin: bump version to 2.2.0
Bug: https://bugs.gentoo.org/736774
Signed-off-by: Henning Schild <henning@hennsch.de>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 3 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-2.2.0.ebuild | 58 |
2 files changed, 61 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 7fa6fa52aca6..31cd516e99a6 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,3 +1,6 @@ DIST tdesktop-2.1.13.tar.gz 14448009 BLAKE2B 3e9b067aefb72e688d12ceead86453285bcd4ed3345ff601220e282291fb92eb346072695bd1dbf97ce82a81ad97d33000cf7b52edc9ea2cd0aacd566fc17f39 SHA512 1166ec37043f4042130fcb1bb5464dc4fae69f6ac27dc877cd481400fed3be6d4ccbe8998619782786065ea308e774f7efd5a89a06e2f9059d3f2effc2b850c4 +DIST tdesktop-2.2.0.tar.gz 14514420 BLAKE2B 9ece8c3a251a0f6258d8292ecf6c71047c258c2ae4470c00b727f92ff4831c7eead397f9ac54a88c36c81a9b0cff0fce204281eefc9d16b89606043276448f65 SHA512 20d83ad589318e7120816770fb60d01c206deb8308b3304bca6fc043b732e29c7ae03334e484fd589cc1d698e1c6565d802d102072aa66498cf10ce1c60337e4 DIST tsetup.2.1.13.tar.xz 35692368 BLAKE2B b41023b8ad7178ab48c62657eefbf3962c956ecb42d0e448fb14fab147334c35f38eac98bc7038328c02f4c98d506217eddb27603127312663d056fd34635303 SHA512 028722700be37c04fb900ba7186990bdc35bcbed2320dd510f08694f39c81804a529b133134146e1c474c9aca398f870d901d6f4eb6d1bc207b21aa0eab688cd +DIST tsetup.2.2.0.tar.xz 35848816 BLAKE2B 87b5fca2c3d68f7324b2cbff46fa94ed1dc26d101653da7654082453d8fd7858b7097b41a78ba4aa7b52f0f731ed9ec36957a0738465e365f927e79418cda5fd SHA512 8dd68c7778ef45cdc28bdfa5eb3646afe622b322c524db3a6e69cac6e4127f7a4f4df39ecd9860d4103414eb8b039a311eab3f6e97a2de44515ef0533fd8a100 DIST tsetup32.2.1.13.tar.xz 38700276 BLAKE2B cf52737c1b7af3e3c07bcc78136c6cfb1169fc9727caa800c7eff0daed8680fcf9a82266311417d8ce6e88ca2d6ce6aafa805140facf2290eacd9c94504e50b0 SHA512 a5f9ff41e31ea0ab9b8873e78a94251a2c1e7fb61240b22bd613fa45d99079e3306c4147e58b64f9940fb90d587aa53e20d2ccb839fa03534d47b864736ccc8c +DIST tsetup32.2.2.0.tar.xz 38942684 BLAKE2B ea73709134364ad4cf3ccdc25be6d7fe33ef729b486f91ff1a6271854ce1ef5189eb21312827eea37c791cd99f3f7ffbe0dbb609f25b82398b342f895c31acc7 SHA512 4a55b79a69bb90a1ac990ce3237e2c377967d96f41800a5526ca84d6c27d3dce6d0940b2ed35ba5f03df764bd55e14948dffcddda33a6529dcc72a3d3125768f diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-2.2.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.2.0.ebuild new file mode 100644 index 000000000000..1da038a5f934 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils 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 ) + x86? ( https://updates.tdesktop.com/tlinux32/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 + 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 +} |