summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-01-22 10:09:44 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-01-22 10:09:44 +0000
commit09351e78166b5e864197c4456ebae3f89dd0bed9 (patch)
tree41a96399f56ed3aa399006871bfce4430db84aa2 /net-im/telegram-desktop-bin
parentc8a77dfe4d3d307c1d5dd2650b7297447d8b609d (diff)
gentoo resync : 22.01.2019
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r--net-im/telegram-desktop-bin/Manifest18
-rw-r--r--net-im/telegram-desktop-bin/files/fonts.conf60
-rw-r--r--net-im/telegram-desktop-bin/files/telegram-desktop-bin-r215
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.1.ebuild65
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.2.ebuild65
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.8.ebuild (renamed from net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.3.ebuild)2
6 files changed, 5 insertions, 220 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 11f619e934d2..2e23272c8425 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,20 +1,10 @@
-AUX fonts.conf 1656 BLAKE2B 551a0651aeeaf43ac955731c492232014d10cdbac7e04a0be7bb915218e1f70c4082491d5e081b3cdc4c713398119a7ce9d25c787647f521b37f00a5b16caa15 SHA512 662ad4f6b91ae4d8479ee79f298d94f7862eb71031b5aa726b89e1d1e1bc71050437af73137a3aad71236fd3535527cbc37d394300a2191bcc51ea8d075ec513
AUX telegram-desktop-bin 379 BLAKE2B e97067e322177c771ac99e59690aa3d5587a78e1dab1c73f530dccb169c1823ca6eff6b7f96a863edd768bf49597f8c8158f7737d1796aa01487274901152b43 SHA512 b57a64e4b9a9edcdcc6a3c3bf09549e49785fe66f38a1e117598780b7637a0b6154e922e2ce0d15749dfd44081bec20d1d353f25f63c276e68d2dd30f8e35a39
-AUX telegram-desktop-bin-r2 646 BLAKE2B 4a99820a48dee103680bd81ba738c3a56538864b44f39a950e41232a7f39d85aee69542abb2de3bdc09ce9bc00de20aa17983626ffe25ba71e53a7d25a2573c6 SHA512 56be7103c3d9aa120aa16f67e11c1600d52b69c9424f9cb88754bf2dd8b559abfa254ca60fba07d07de35c2d9375fce90fb37bb008e5cc806386df043dfab6ff
-DIST tdesktop-1.5.1.tar.gz 14105322 BLAKE2B d78859771f891eb04223cc8a6992daf4d6e9f33f4fdf810629fd640bc3a504911994fb6f2c67c7ca9163dd3be9cfa7eb9f21e7f3a9ac244a78e7d21dc3b7ae70 SHA512 9e9f24d925c4aa36961abeec9b4ca1a08238ba716ed5e472ae7d9660af7d2660de4a7fa92eb34fb27b5a5a17bbe78a803cf2953c159c3ee84996d2fc7ff389d3
-DIST tdesktop-1.5.2.tar.gz 14107995 BLAKE2B b366e3891cecb0b35348c9a94281db6c1a59038dc5f10c15267f8109ee1ee0e88a4dfbc3494876cc835f29ab32c4303d6bd462985c731dbfc2c7736ad6e55273 SHA512 a81660b3b6ef58017e3ec3d4584bc7aa3db138450e4a30e6d7276b0bcffb5683866c8eb44d54554287ac1f3c6d149e1db63a4c68d5e3e90bb2d59c7ba3a9022d
-DIST tdesktop-1.5.3.tar.gz 14128888 BLAKE2B 88cf2fc4a8645ba13ad27451e0404d7e558feeefc547bb0e44036538c81f6de049d6c672d4323e3f969e37104e64cf4f032465d649e5f05608fefca07d37b463 SHA512 f41cea42faa59d76d4b7bfb7a72dde58c6bcb3189a85655274b5db12e2fa7c78564b7eaebbefc92173e0b47ea8183fe129a73c26cd2d85210353906fb0ff935f
DIST tdesktop-1.5.4.tar.gz 14129681 BLAKE2B e3c5e4a9914affc421d6a133c56dd48c3587f705d3858d1ef35be45f5da4cebaf35864336763ee6ae2018929c7b40b6ed903341380fa189c3e37a2e2b5d41268 SHA512 667d47fc39fff8ac4731c85db48f5d58309eab7b4d707435161b885cf47c6dc9505fc88277c14d9e010ac2b27f4c456a64ebccfe6dabfb21e38d65d86e8789db
-DIST tsetup.1.5.1.tar.xz 32080940 BLAKE2B 3ecf42f88904d343d25f927b6f043a916b6ea90e1b1fbb60f34572cf71858d31fa68c240d82daef3c3343295b6defb5be019379d3b018ce7fcf961387290797b SHA512 70a35d5af9a8d4a212f5c7b63989d02392e3d0da30e7baf0644a609899547393a019061e71905a708c14c12e09cf32ced6b42f5889c287b32f4395b3236686c5
-DIST tsetup.1.5.2.tar.xz 32020040 BLAKE2B d0ef2a568978fe3f9bc458648d0a6d084cefc4a8cc9c31955f96ce16a825847aa158b9e84a9f3388b6e9defb6205f8669f44a7c0d32c793479d7da209f09c45f SHA512 2db0b8f6afa49870e4b2e6bbe9250f0312528c20f9b3d35254865019c61a01adc3a185d010b79a8af52b4fe9fb087c08b32d438c18065fb57656b48e40baed11
-DIST tsetup.1.5.3.tar.xz 32139064 BLAKE2B 2fed73bcbc991c4cd531b0f04d0cf493df10d287c66820f2aa15c93b81077405506092b27013540b56d93ddb6e11172e78dfef91ed7b3bd1bd87d42d374aa38a SHA512 12c6d148f27e9d98ecc56131a118010ba20cde5eed77d9438181ca13c26b9ac402edd351a05b251431f920405ae7df243c3b9d9a6e28359c4ec0a5045980ef37
+DIST tdesktop-1.5.8.tar.gz 14230610 BLAKE2B 4673381abf54523c602f75e7e516c78c6ec381cf9a92e75e979807d53ef8661eed5080dbde56b26ceb8407bf07fc7431df7ca848f9674c4b48b83efc5e76cf84 SHA512 d3c086643732171669451f7e96a90690c2944df5bf30c98187e33ffa853f8f8b1e682aa434df45b6b0d785d3a838aef871a29c784059c04211917975ca15a2d0
DIST tsetup.1.5.4.tar.xz 32147160 BLAKE2B c8c0b14e2c3d9d9ed8783f7611eb15fa0ad830e85995b4b8ba59b643a791cf51e80663216cf4ab2807afb4b81eb79a45dc3c6456c9fd0a5556dc5ce0ee5731ca SHA512 f8074961794034493acb55588908f71efe95a7adcebac8e3c1d81472a90b28e68f7883d77f38ad1c261666b6c71bc9e5c0caab7eca57156ca76ba0c378af368f
-DIST tsetup32.1.5.1.tar.xz 34530452 BLAKE2B 2c074baf733780afc35b64e70f6d4bf8dcd49c44d60e1020f5061bc48e6a71283c8a32f2f848a0fa235b822c4a47e3e771e10306cfa751b9a22d835f18842306 SHA512 f2767b5b0ac027ce341dac2616a18cc865e8e41524a24b17e91b7ad7b14d921fde837e4721da161685a1e7572c3dc3649e3c57f818848979232e23e9ee91d0b0
-DIST tsetup32.1.5.2.tar.xz 33702468 BLAKE2B 259f24c53e4687828ad3313485f4cbdf2113d74f1b36a982c6f495f1e7c3cf03344754a49f115994894f4aee669170963ab494a7fd5adb588729596142335792 SHA512 d1f36dfd1f723237c0e0f0d65f66006d9958f61c01a6a6c80265c47f1d10f940811b3b2db7d786e098fefaf949c04f371cc324db9fb35ffba80ebb4188be4ce9
-DIST tsetup32.1.5.3.tar.xz 34630040 BLAKE2B 76f1d46d06d06440a4b586a6338b2870f46a4be16e7906d795391784b11c15d8434c524f2adcb5be42d67bc8af82257011eeb621b3cda159c0bf0e4071002358 SHA512 09c0a6ac58d8fb57aa50092788731168bc4364b665edc2bef595b84214e1723f0a36439f46aff5e337296607fc74b7cc039a1d7a42a357629132750109bfea35
+DIST tsetup.1.5.8.tar.xz 32399784 BLAKE2B 4c64bbcb8a84d98a415f981bd719f53889ad69b74ad5204d4391cddf2f8aa4c47ff75f5a5914fb8c2a2a01eb3eb1e9eca174db4816b2fb5436c58b752b209f5a SHA512 bed0529101eacc71ad9588bbc2f50268f4d3d77bc50387200c0c6551623abf34a3424a92cb0ae1c1ebbec9698b04d59047ca672400aa45a7e93bde580c3c6928
DIST tsetup32.1.5.4.tar.xz 34626784 BLAKE2B c642f0b943bfd9e287b7906487fa5081103e71f9f8fff88047c6a384e3a3c9aa48c7aff38aebff8fc12bc37072349ae80ec40d8d9580ae99a06b1c61d0f3616f SHA512 a7c9aa753ef657ec2153b2dc8961c4baf32fbca9fc02e78db921c638d36e9df321f171885045b4ffb09412900be3a4b882057816e0f3024fa6fd20f258fe6a85
-EBUILD telegram-desktop-bin-1.5.1.ebuild 1632 BLAKE2B 5a5c570a88f0ea40bb97230d0ede96932ea5cce3b045e5fd51a29ae6a95249d6e96b99e9e2653805fa36d7609ea25c97087e9cdbb218a8f2b7cae792089fc042 SHA512 ced48bb10c17618b12298568b1e236c66af967fd32d84ed41257a4e4aff97004cc9278981b7ec2ce865833410e4134816b552fca9f135d261d87cfeae34c891a
-EBUILD telegram-desktop-bin-1.5.2.ebuild 1632 BLAKE2B 5a5c570a88f0ea40bb97230d0ede96932ea5cce3b045e5fd51a29ae6a95249d6e96b99e9e2653805fa36d7609ea25c97087e9cdbb218a8f2b7cae792089fc042 SHA512 ced48bb10c17618b12298568b1e236c66af967fd32d84ed41257a4e4aff97004cc9278981b7ec2ce865833410e4134816b552fca9f135d261d87cfeae34c891a
-EBUILD telegram-desktop-bin-1.5.3.ebuild 1632 BLAKE2B 5a5c570a88f0ea40bb97230d0ede96932ea5cce3b045e5fd51a29ae6a95249d6e96b99e9e2653805fa36d7609ea25c97087e9cdbb218a8f2b7cae792089fc042 SHA512 ced48bb10c17618b12298568b1e236c66af967fd32d84ed41257a4e4aff97004cc9278981b7ec2ce865833410e4134816b552fca9f135d261d87cfeae34c891a
+DIST tsetup32.1.5.8.tar.xz 35047164 BLAKE2B 5c0e648dc367f5f424aef01630f4cc3a6767a816c5a1b409fd6f0f2edc19a46520b166a90f1f17f7d3f3b4e8c3b0c326f0077588fba0d2ca6e8c2dbd12b33215 SHA512 e960e97c777b548a577c75307060ad0e1abf176fe3c1797f3ab75a26f402b3afaa11a58ed49746505ead0293b6fb629db97a0e2ed8e9841e01052871fb0567fd
EBUILD telegram-desktop-bin-1.5.4.ebuild 1632 BLAKE2B 5a5c570a88f0ea40bb97230d0ede96932ea5cce3b045e5fd51a29ae6a95249d6e96b99e9e2653805fa36d7609ea25c97087e9cdbb218a8f2b7cae792089fc042 SHA512 ced48bb10c17618b12298568b1e236c66af967fd32d84ed41257a4e4aff97004cc9278981b7ec2ce865833410e4134816b552fca9f135d261d87cfeae34c891a
+EBUILD telegram-desktop-bin-1.5.8.ebuild 1632 BLAKE2B 437433f439fa7032124c15a64094f92081286656429e790d222d29f59a9508dc5ca1d74edebeacc7666bce3cb56038d8f1f53cd307119348175ae0ffe23ba279 SHA512 9ed86eec52ba8f3804102e1806576b718f7b2368be6c99cbcbf361211e228a21741c4b202e9b28795dd2a3c3c046e0d1d30f26315389dd292c4fd1391300376e
MISC metadata.xml 585 BLAKE2B 0f6f2dbb75e3fc543ad04b0d72652802b8de0336ccd1171fc06e2d2b61ff5288346b9e3c44afad9e5dbd9de9fa46d3324710697d83e94c9a5da5a8c5a137b26f SHA512 d5af59695ad9fa610865b3719637a7f5dd283f30bf7051f39fd6b8ae7c485f46d52627900cc3d46450491c7429844e0d7c535f2a028a112cb65d7523ff2c669b
diff --git a/net-im/telegram-desktop-bin/files/fonts.conf b/net-im/telegram-desktop-bin/files/fonts.conf
deleted file mode 100644
index d3ddc32d7776..000000000000
--- a/net-im/telegram-desktop-bin/files/fonts.conf
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version='1.0'?>
-<!--
- This file is only here to work around
- https://github.com/telegramdesktop/tdesktop/issues/4240
- It has been taken from (with slight modification)
- https://github.com/telegramdesktop/tdesktop/issues/4493
--->
-<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
-<fontconfig>
- <dir>/usr/share/fonts</dir>
- <dir>/usr/local/share/fonts</dir>
- <dir prefix="xdg">fonts</dir>
- <match target="pattern">
- <test qual="any" name="family">
- <string>mono</string>
- </test>
- <edit name="family" mode="assign" binding="same">
- <string>monospace</string>
- </edit>
- </match>
- <match target="pattern">
- <test qual="any" name="family">
- <string>sans serif</string>
- </test>
- <edit name="family" mode="assign" binding="same">
- <string>sans-serif</string>
- </edit>
- </match>
- <match target="pattern">
- <test qual="any" name="family">
- <string>sans</string>
- </test>
- <edit name="family" mode="assign" binding="same">
- <string>sans-serif</string>
- </edit>
- </match>
- <cachedir>/var/cache/fontconfig</cachedir>
- <cachedir prefix="xdg">fontconfig</cachedir>
- <cachedir>~/.fontconfig</cachedir>
- <match target="font">
- <edit mode="assign" name="antialias">
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="embeddedbitmap">
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="hinting">
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle">
- <const>hintslight</const>
- </edit>
- <edit mode="assign" name="lcdfilter">
- <const>lcddefault</const>
- </edit>
- <edit mode="assign" name="rgba">
- <const>rgb</const>
- </edit>
- </match>
-</fontconfig>
diff --git a/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r2 b/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r2
deleted file mode 100644
index a8b0e3e6d99c..000000000000
--- a/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r2
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-# this wrapper disables the auto-updater of telegram-desktop
-# This program is licensed under the same license as telegram-desktop
-
-# telegram-desktop fails to set RestartCommand with the session manager
-# exclude it from session management to prevent restarts without the argument
-unset SESSION_MANAGER
-
-# telegram-desktop expects old fontconfig configuration files
-# this is a workaround to try and deal with that
-[ -e /etc/telegram-desktop-bin/fonts.conf ] && \
- [ -z $( printenv FONTCONFIG_FILE ) ] && \
- export FONTCONFIG_FILE=/etc/telegram-desktop-bin/fonts.conf
-
-exec /usr/lib/telegram-desktop-bin/Telegram -externalupdater $@
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.1.ebuild
deleted file mode 100644
index d24c8adae29f..000000000000
--- a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit desktop gnome2-utils 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://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/tsetup.${PV}.tar.xz )
- x86? ( https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/tsetup32.${PV}.tar.xz )
-"
-
-LICENSE="telegram"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-
-QA_PREBUILT="usr/lib/${PN}/Telegram"
-
-RDEPEND="
- dev-libs/glib:2
- dev-libs/gobject-introspection
- >=sys-apps/dbus-1.4.20
- x11-libs/libX11
- >=x11-libs/libxcb-1.10[xkb]
- >=media-libs/fontconfig-2.13
-"
-
-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_preinst() {
- xdg_pkg_preinst
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_icon_cache_update
- einfo
- einfo "Previous versions of ${PN} have created "
- einfo "\"~/.local/share/applications/telegram.desktop\". These files"
- einfo "conflict with the one shipped by portage and should be removed"
- einfo "from all homedirs. (https://bugs.gentoo.org/618662)"
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_icon_cache_update
-}
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.2.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.2.ebuild
deleted file mode 100644
index d24c8adae29f..000000000000
--- a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.2.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit desktop gnome2-utils 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://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/tsetup.${PV}.tar.xz )
- x86? ( https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/tsetup32.${PV}.tar.xz )
-"
-
-LICENSE="telegram"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-
-QA_PREBUILT="usr/lib/${PN}/Telegram"
-
-RDEPEND="
- dev-libs/glib:2
- dev-libs/gobject-introspection
- >=sys-apps/dbus-1.4.20
- x11-libs/libX11
- >=x11-libs/libxcb-1.10[xkb]
- >=media-libs/fontconfig-2.13
-"
-
-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_preinst() {
- xdg_pkg_preinst
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_icon_cache_update
- einfo
- einfo "Previous versions of ${PN} have created "
- einfo "\"~/.local/share/applications/telegram.desktop\". These files"
- einfo "conflict with the one shipped by portage and should be removed"
- einfo "from all homedirs. (https://bugs.gentoo.org/618662)"
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_icon_cache_update
-}
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.3.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.8.ebuild
index d24c8adae29f..10f3a4e22b72 100644
--- a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.3.ebuild
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6