summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2020-04-25 08:22:48 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-04-26 16:36:50 +0300
commit460be1016590c8467f4d3e1f5d2f1827747d5b74 (patch)
tree6c694c7e2ccc0dac0e792864f89829bd567c3c17 /net-im/telegram-desktop-bin
parentnet-irc/ngircd: cleanup old (diff)
downloadgentoo-460be1016590c8467f4d3e1f5d2f1827747d5b74.tar.gz
gentoo-460be1016590c8467f4d3e1f5d2f1827747d5b74.tar.bz2
gentoo-460be1016590c8467f4d3e1f5d2f1827747d5b74.zip
net-im/telegram-desktop-bin: Bump version to 2.1.0
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/15510 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r--net-im/telegram-desktop-bin/Manifest3
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-2.1.0.ebuild51
2 files changed, 54 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 32d836fdf81c..914aee41f058 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,6 +1,9 @@
DIST tdesktop-1.9.21.tar.gz 13712474 BLAKE2B be8b031a959505da62348a4d259ae3689d0953b37386fed4d0117fccf0284a7e4d2aabfda6a50354f624f026388331eb2ae8e282f08250381e938e4e06d90f73 SHA512 f6dafcbad6ef5d74d3faae575c63f4088a1f0462a8a0d22c972158c02c11a1618fba088c99275590333e1efc70fc7ccc057d6041b3b8679c9e3b441a3cc94221
DIST tdesktop-2.0.1.tar.gz 13966764 BLAKE2B 43cc5d27c514ab7fa5517da1e6dbb1fd88655d8d3ba4a7b58d4f81be6d418fe3580e6944a90a70c6da198e09d86e84af09cfcfc2d0b6aacff0ad6f4fc3256bef SHA512 dcb7d93e3ae0e87bef342bbba6f95d50e8886f286bd606874155ea6f059aae2e656f0cf9e81732369c3dd21a6831587bcae59d39052c5f7d90fbfd4016e6a0ff
+DIST tdesktop-2.1.0.tar.gz 13994263 BLAKE2B 03b677a0cb926dddc309b279188f7dd39914e8e1c9b437120e3989cdbd0ea528b5a6584ab88d7b9417012c14b6bce398957f8066b36815bfa1804c54e7824c25 SHA512 385ff14f19128f266615485136ab69dbeab4f4113b72f6679a3df9386633f0ec0185771ae7c2937bc20b237c61e138b018fad4960b2d47aa44ae2620aa2e98f6
DIST tsetup.1.9.21.tar.xz 34714240 BLAKE2B bf4e902006a08a678848fcdaf2a45a0f1d30c60005a922bb9d5c0e7c95ba01b3f8e55882f5ed65630f1d730166cd523e3713209e2a99d7cea7c490d738fa3b83 SHA512 0bba5d04f20fbe48b8672cb6b24acd6e5e8df700813f3f49074d06bc38d62ef8cf7b4358ec6d98afe05cef385cbbfa156fc21bc80a522ccdcf0acb6b05cdeeed
DIST tsetup.2.0.1.tar.xz 35029188 BLAKE2B 6e528c42af1bb4a86068fa0eed7a3755efd49246dffd08c85492f40531624d37a76aa7f3e604abcb30b13b43ea8a458bf9d3c9669db4df5bdcba496701b3b9d4 SHA512 eb19b48ddb2de5443871e2d4c838f4f78046cab2f6037a2aff7f164f61905c5b5510688a968fc1ed51d1a1f2695bbca3a0b0f839c208513b14984737899ccfd0
+DIST tsetup.2.1.0.tar.xz 35073704 BLAKE2B 45bb5ef0a03c9f81b02982208dfbe3377673f9b2b18b72ef5305afd059ff67b1b7c1255f3837bc2d6a9c7b8f86fa82364d2497017e6336f9a100b0117871ef3f SHA512 96385b9729172f9423ac8e26dca35f5bb21c0fc9897e57f33f257105f81c109e815c0f0ee51b0bdc631a3690427b3f2c227b643753504f6acccba056f7d2d0e7
DIST tsetup32.1.9.21.tar.xz 37595672 BLAKE2B ee142f3893051cebbc1a507932e3a64ba446f7740a9e9761dbc8b97c6af29441d94e6e5a1319ef9bde1a21ffe1337913b4fdbf824b9da40a8e31c097944b0e1d SHA512 6262a611abd56a3ab91b64c9e80d8d64dac47fa9eb4b9f8c5c55a29aaf130bce94673386685fe829aa0ded5f5bd452e511a05c1d4704b7b3d0fe307aaedd3af4
DIST tsetup32.2.0.1.tar.xz 37979332 BLAKE2B 3cefeaec2f269c509aaf06952ca2ee8226a4dcbc1bc80ae26f10bc11babb153ef7937b49647f4233fee6f4c664f902cb667701d4c7c917507cf461cad46c6dec SHA512 a461f284f68f7c59842ae71a628d1a3623d96cb1a07bdb23e5cd6a60690e431ffb35e47cbbcd55653a82019564fdf90edefd8585c4612135c094e13a1f3a0401
+DIST tsetup32.2.1.0.tar.xz 38026640 BLAKE2B de3cbf854762c07895708cd292ad1d2245b18f15e0ad438fd0d3fd2645f8493590787cec5888ac4116d47fedc7a11a7a9c5194df04d21b72a0750dba4a6166fe SHA512 bb36ca2c619c62eb00d2e59d2ed3cd967501e778e6ebd1588cb76e78ad4c8115cce2d2a061f555b5141ec17c4e9cf11e6b2e450b4925d60e5f1d107c12710ae4
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-2.1.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.1.0.ebuild
new file mode 100644
index 000000000000..c0971f7fc9b5
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.1.0.ebuild
@@ -0,0 +1,51 @@
+# 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
+ >=sys-apps/dbus-1.4.20
+ 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
+}