summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2020-08-18 23:36:12 +0200
committerSam James <sam@gentoo.org>2020-08-29 01:24:57 +0000
commit78cb5b93e1c750df1e51e5624a73ed0bc2fb314e (patch)
tree24c15526413ac71f58a23ef93b7fc7c16210843f /net-im
parentnet-im/telegram-desktop-bin: bump version to 2.2.0 (diff)
downloadgentoo-78cb5b93e1c750df1e51e5624a73ed0bc2fb314e.tar.gz
gentoo-78cb5b93e1c750df1e51e5624a73ed0bc2fb314e.tar.bz2
gentoo-78cb5b93e1c750df1e51e5624a73ed0bc2fb314e.zip
net-im/telegram-desktop-bin: bump version to 2.3.0
This one drops "x86" because the binary is not available upstream anymore. Maybe it comes back, did not yet understand why it went away. Bug: https://bugs.gentoo.org/739466 Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/17166 Signed-off-by: Sam James <sam@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.3.0.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 31cd516e99a6..c628e4e438b7 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,6 +1,8 @@
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 tdesktop-2.3.0.tar.gz 14576875 BLAKE2B 148693c8e4e6376c968ed3667092eaecd3295f59d289a0ec720c7be9d997610263a34ba34bf5350f49f45de7c076bd3c3dedc7ba261116ed6d1a8ed7023a582f SHA512 daa588936db2f17552a320d9412d6b0eb9d84d468defbc4929cc88d1a7ad3ce715be388dd7249d308cfc124c5af3152749c35f03b1f84dc89d37be067b9b9063
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 tsetup.2.3.0.tar.xz 40156000 BLAKE2B 1055c1ca657eec7fd10bfcba1bdae5f84a9c753b6f3587354a6fb586dfbbeb24cff05fd053c97f7c768895626c9ddedfc379ae64960b98745c07f036811d747d SHA512 81f377abbea16dfbda38670f110436af5de22a3f5cff4a5450f5414024307d1612f75b871364155a3ffac10996a0591c58a528f60dca98862843d15a25994c71
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.3.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.3.0.ebuild
new file mode 100644
index 000000000000..ff1a4de67c4b
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.3.0.ebuild
@@ -0,0 +1,57 @@
+# 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
+ 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
+}