summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-03-20 14:03:50 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-03-20 14:04:09 +0300
commit4e939ba4705b0e1fab7a2305312a93cc47e0364b (patch)
tree9a79b07d3f8a182e3b7e078a26ee098c04b301f3 /net-im
parentapp-admin/keepassxc: Synced live ebuild (diff)
downloadgentoo-4e939ba4705b0e1fab7a2305312a93cc47e0364b.tar.gz
gentoo-4e939ba4705b0e1fab7a2305312a93cc47e0364b.tar.bz2
gentoo-4e939ba4705b0e1fab7a2305312a93cc47e0364b.zip
net-im/telegram-desktop-bin: Version bump (v1.6.0)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop-bin/Manifest3
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.6.0.ebuild65
2 files changed, 68 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 3b07a012d9b8..5312467dfc41 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,9 +1,12 @@
DIST tdesktop-1.5.11.tar.gz 14244290 BLAKE2B caa37c32e93cae338eea1704cce3a4e88ba39ee9383f8a919fde560cc3e1a494ac0569d50b76f873389c0939bf9016b2900b57116a67a7055576dc64f2dd1379 SHA512 45315a769acae28a767899461ffb5f2bea6deac66f1ffc5d908d6967e8ce81c4f6a3170468dedf607d9ba8c9bcb824d2c41ef214d6484aea344e396b53b37bcb
DIST tdesktop-1.5.12.tar.gz 14252160 BLAKE2B 5f903e7dd1d749b75fa67a8956932bcd08974395c80985c5347a422b93d2eca544d2b6082de0f87769f83ba18107dc837b28ee9c4dd5f266f5d88252e7d279f0 SHA512 66887ff86d8290c2e141cf6cf50d17e72704a433fb7b9e340414107eba9ebead9c93d754baa5eef3d28717b61e7633da982d3ba5a8a68711df229437fbb67414
DIST tdesktop-1.5.15.tar.gz 14253170 BLAKE2B f1c6ce9617892f4b37c59b6d2070a9cb4bc88f8e954a2913243fa6e72abd69c18dc9a4dc68a5811f098e7b02f5eb099952aab6db58fbdaeb7fdae0f91472e762 SHA512 952fdafaa826dfe74af18b38344c1bd57bdaa09ae66ac6cb859ab1fa907d189c6f2fce7985b1842740437511b503bdde7e7d9bd0585ba84e93dda12b66f3af29
+DIST tdesktop-1.6.0.tar.gz 14301107 BLAKE2B e1871035eaaa8dca3c445332649b0854ced6923d5b40c40317a61523e3169dc408acdc45ac8fccceb367b6fbfdf70b46a64251cb47896542606fb08138e4c4f1 SHA512 b0a9236455a0a1194fa98ec062d2701a7d2ad700d481a488430d0e93f23b9fdb1c4bd106beb7c675be718da22e7fcaacf35ed77956ea16b458d8efc2d776cb7b
DIST tsetup.1.5.11.tar.xz 32436872 BLAKE2B b1e871abd039c5decc866378fa1d250acdeb33d8fd083bb5d7c1f496242af7da038561f9a7fe78dbfb7dbe5a784e77f054164e08f3da1732cc4d1e966b74aab0 SHA512 0f07468223266e20cdeb8a5cb5c7cc2fc780961578d63c893c04899bfde0bb36e77d9d4153c76fc2ca61b7b340dcc5a8d715e236c1b5aa2041c852543a5640bb
DIST tsetup.1.5.12.tar.xz 32461440 BLAKE2B 10f1ff27bc4adbca2fb2f79b4f6208c48ef2ee6c03e8f8c2044645dc1b057a5be0b72272b37b8f28f36a0ab9fcffe9cf8b1d04b240ba3971c376d025a6e92c7b SHA512 c73a0a6ec5c7872c1a38d68069dd83c2c319472e0605c745e4a56d2a280892198789f7a3dd6b0df7066b556f803d004a4090ea8ca2d212cb40abed20193a8230
DIST tsetup.1.5.15.tar.xz 32450268 BLAKE2B 486a6cdd2a3a15e197b8969820cd2dd0e318b9de63144c8182a1458338c77e55d4fff4ebbbb3c88ee5209adf4f840597e8f417bc77e7057c339e0e4668c5ec2d SHA512 c8b8fec8c296c3dc1d8d7c9659b0cae7ce3aa5b5441d5d29faf155e4ab7b23dc4accaa059a3ed5e82ac1dd49903cabcabbfecf87b109c798870fdd33896d9917
+DIST tsetup.1.6.0.tar.xz 32866936 BLAKE2B ccd17f5d043ce17c75e82d8d5f45c62429e10ecd130853be7aa4740b0377637b843634babdec024efd515a83d9abeb78b6f558a6d5641cba4df72066ae25a364 SHA512 00e7459cc7b2e8fdcbd9b596aeaba2d1cd994277e2119602d3a9ce3f8611e2009a10a4bb72d3b340891149894fbecf7ddbcb640bd6e5ae1f8c8a920bb188d091
DIST tsetup32.1.5.11.tar.xz 35221340 BLAKE2B 9910d9de184553f4ebf6a32772fe1aee326fc82b532ae539495188b89971f7b5fa4992b0de4991340aa3f01b4fd3e8f09b2af71f74c4f5a6c9ec88271fe0783e SHA512 835cd3a0a65d397d94b2355bfbf70c68c6867a3f08523bd07c834258e55ca8f52f06a1d3eaf4951df3c0f0277067ebf19ceb83a53372c54f50ac9f5078dbcac7
DIST tsetup32.1.5.12.tar.xz 35261680 BLAKE2B 488e8681173ab983f7f5dc037d328078cbfc8b995d9abcdf1351a38c73c18546888fabaa26b60b6530ee75231ee6bd2e0fcab9bb300aa5c74ab6bd7ad20faab7 SHA512 4710166f2c1840c41df299cb35e7ae2874d3bc1621d9ff293ba8dbcf59370e88f4542ebf9dfd9b551aaecd7539655443fdf43a6b1906758f5db1f61586ae3591
DIST tsetup32.1.5.15.tar.xz 35264344 BLAKE2B ecc4ff8e27bd622e84ab24614d0ea1dc7c1437325baa0ed068c5e2be4e99c183a20140bb2cdcb7180d61b587c5aa61eb3ddf720fded2a9687a588ef39dc16f96 SHA512 77ce5e99bdf799b54946047c13536defb06f3c39b7e2b700a520955efdcd2e53a2fd990ca85cc9f64a6826743d7b4b2deccb7e084d4f59a1856edbabf3d2f0b8
+DIST tsetup32.1.6.0.tar.xz 35498312 BLAKE2B 2240e5dd5d5121500394c36c0a600d8176f1ba41628cb67d456e54d6107fcef105265c5b1627f0d48da5dc1ec867cf89b6ebbdfc4544fadfa016e2f9fd342d87 SHA512 a7c4103fbf81205e1812009a6d3fbd45148ec5df547050a1f06c835a39af954b09efdb792c4f4f4fc00cbead69bc6ad2b49b3ac08ad7ea06fa38177d8a99f9bb
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.6.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.6.0.ebuild
new file mode 100644
index 000000000000..10f3a4e22b72
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.6.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 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
+}