summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-03-20 22:48:54 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-03-20 22:49:17 +0300
commite47d263787bba943fe49b67242126b0fb14d80ca (patch)
tree852ea353128d4199485beba99da0147b4b41166b /net-im/telegram-desktop-bin
parentx11-misc/simpleswitcher: Add maintainer (diff)
downloadgentoo-e47d263787bba943fe49b67242126b0fb14d80ca.tar.gz
gentoo-e47d263787bba943fe49b67242126b0fb14d80ca.tar.bz2
gentoo-e47d263787bba943fe49b67242126b0fb14d80ca.zip
net-im/telegram-desktop-bin: Version bump (v1.6.1)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
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-1.6.1.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 5312467dfc41..08102e72b154 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -2,11 +2,14 @@ DIST tdesktop-1.5.11.tar.gz 14244290 BLAKE2B caa37c32e93cae338eea1704cce3a4e88ba
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 tdesktop-1.6.1.tar.gz 14301273 BLAKE2B 70cee8910872a121fd09b8ebb0d14d1580650ffc7d5bfb921397ce3b7f79bec5100f3cc38970176b3c63083bebbfaff64dd3bc4505ed68023380582640712db5 SHA512 dc99716fca0a7b16b7043c0faa04a41e4eb6abe1bac68abdb89f0920675b7508b5583ae2bcebd3bbb26c2c1c53233595bbe11ca029396cc7cd16a98185c76325
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 tsetup.1.6.1.tar.xz 32870500 BLAKE2B 1f06d438416606990399cbe42220c5179b5105dcad3891bae5788ee2ca2be4f42405df6ede089aadcf958f3e0d21d33832338c3a8817b2d975a3a38374e43977 SHA512 f9d199c24564332b9926ffef8ea2bbeb7c426916afd08434bcd2f15e48df5a4215f54a3da9baedfa7b54f47d7c16db9eccef6510829fbc84a61d0741904a883a
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
+DIST tsetup32.1.6.1.tar.xz 35520908 BLAKE2B 2fee54340af59beae00cfc47309e2ee65089c7cfe3d2a693c74bc72e861ae5e9e091d253dc4fae13cb1cda89e9ad824c64499b97a2fd011425eb54814fd0a646 SHA512 02047d34645c5c75cdda08afe02a0ad25c99e9b0b9d74f29ac4ca3b3cf38713f5c68262d50a4fc2abe0bd4ad99b38ee0d395f96e992c340c8a26205869107485
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.6.1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.6.1.ebuild
new file mode 100644
index 000000000000..10f3a4e22b72
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.6.1.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
+}