summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2019-04-14 17:32:00 +0200
committerMichał Górny <mgorny@gentoo.org>2019-04-22 13:38:44 +0200
commit642960c7910b7be0e5fe9ec5f0400570f2888a4f (patch)
tree4976f7077a73fb64ce77842887f4f71003d42de2 /net-im
parentdev-libs/efl: remove old 1.22.0 (diff)
downloadgentoo-642960c7910b7be0e5fe9ec5f0400570f2888a4f.tar.gz
gentoo-642960c7910b7be0e5fe9ec5f0400570f2888a4f.tar.bz2
gentoo-642960c7910b7be0e5fe9ec5f0400570f2888a4f.zip
net-im/telegram-desktop-bin: version bump to v1.6.7
Move to EAPI 7, icon cache now done with xdg not gnome2-utils Signed-off-by: Henning Schild <henning@hennsch.de> Signed-off-by: Michał Górny <mgorny@gentoo.org>
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.7.ebuild63
2 files changed, 66 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 39d79f986b9f..50e6967db526 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -2,11 +2,14 @@ DIST tdesktop-1.6.0.tar.gz 14301107 BLAKE2B e1871035eaaa8dca3c445332649b0854ced6
DIST tdesktop-1.6.1.tar.gz 14301273 BLAKE2B 70cee8910872a121fd09b8ebb0d14d1580650ffc7d5bfb921397ce3b7f79bec5100f3cc38970176b3c63083bebbfaff64dd3bc4505ed68023380582640712db5 SHA512 dc99716fca0a7b16b7043c0faa04a41e4eb6abe1bac68abdb89f0920675b7508b5583ae2bcebd3bbb26c2c1c53233595bbe11ca029396cc7cd16a98185c76325
DIST tdesktop-1.6.2.tar.gz 14310450 BLAKE2B ef987dd3721a9c8e59fa902b2c0c220665690e3da10ef0f37b4603e7f454af99a28d9de7d99800a627b443c097157a51244196c90f1d94757b318bbd8bd4fb70 SHA512 6b216e3cfd22b7214076a9f33fa5accc417d3bff0cc02468731661ff372b6cd3dac0d5551064e8404b68f576848d7973564825f0f74a854b28d2f6188f9a1d53
DIST tdesktop-1.6.3.tar.gz 14310477 BLAKE2B 51881fee449153f71b774cb24cf60d4ddb0627d0ece68eb2e55323b39f6d6095017df885c73ab605198317c7f6fc5c7a348951565307f6442035f45bcaa7e4d9 SHA512 45dec18f4afb1fcabd3f371eadd63516dc1517d50b5c0bd46be7809ec244a01bb4588958ef688fd89a936e52363d3c1d0c31f698bc5388b12925ea234f51f243
+DIST tdesktop-1.6.7.tar.gz 14323106 BLAKE2B 6e41e249cd99e9a2358f5a8e9b388fcc354498f5067b85235dd446d317d805113bc43e7e5daa1a1600b9db9b4f124e35593d1fc5f6d621744394c95565a37f35 SHA512 1292b686e47c82f7670e1a528092222c8a61532a9ed64d0e4d3879fa95037b284aa40a956ac1c6739262c4fdf22fb5e9492f6747e971668297cca142a51c5b46
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 tsetup.1.6.2.tar.xz 32911736 BLAKE2B fa3ffa0095e5f21d44eb7e2027dd76ed441322e371047becebbdf3e5c8ac6aa3a83f9a7fd27500917116b17fd734ce55e2cadf457d02f24b8cfa95c5ea0bbbb2 SHA512 0ae82f28ddd57e1515dbc7736d54452cd9e9858ca68e4f694ca2fb7579421c7fcbc100749ebe8a742304692d5c50188d2a779cc4e42eb226a86584810fef9e94
DIST tsetup.1.6.3.tar.xz 32912784 BLAKE2B 18f39bf50a4edd11429f05c919943ffce731e138929eb43a3c16d10fdaa5a8192a31aaaccb45f743243ad4afb3a5e180c3279083923ffb967d96f815d2c338fa SHA512 4376f91913ab4ba0536cbfe1bc9719066742bd6cdc26e1b63f13d0e68be07c6f90c88c43ffb84b30f85d8b8c02ae7b076db4e1b47a91b4845ba1b47d2a8048ee
+DIST tsetup.1.6.7.tar.xz 32973568 BLAKE2B c76fe7c2571e0b1aef15d685d76240112d0f618c2c8e3ec5862029b3b6b4933823bf76bc86f9980d0f64056bd4a2e4a51228c6fa480dfd49f96b0aeb44fe2e68 SHA512 66aa2b9b01fd5c378c6b909468b76cb40e769ecd579abd6c00898dfbf8a4f4efa556d678e2bc17b843e07f4745509ed16c35eb6f365c9fc1dee7da1b07587fa1
DIST tsetup32.1.6.0.tar.xz 35498312 BLAKE2B 2240e5dd5d5121500394c36c0a600d8176f1ba41628cb67d456e54d6107fcef105265c5b1627f0d48da5dc1ec867cf89b6ebbdfc4544fadfa016e2f9fd342d87 SHA512 a7c4103fbf81205e1812009a6d3fbd45148ec5df547050a1f06c835a39af954b09efdb792c4f4f4fc00cbead69bc6ad2b49b3ac08ad7ea06fa38177d8a99f9bb
DIST tsetup32.1.6.1.tar.xz 35520908 BLAKE2B 2fee54340af59beae00cfc47309e2ee65089c7cfe3d2a693c74bc72e861ae5e9e091d253dc4fae13cb1cda89e9ad824c64499b97a2fd011425eb54814fd0a646 SHA512 02047d34645c5c75cdda08afe02a0ad25c99e9b0b9d74f29ac4ca3b3cf38713f5c68262d50a4fc2abe0bd4ad99b38ee0d395f96e992c340c8a26205869107485
DIST tsetup32.1.6.2.tar.xz 35577852 BLAKE2B fe74272f36be70f8da42163a761e93b19c01d1750297620aedfc16c3b7ad83a8e295ebdab2c28b947c3bf8eba4416ca97f5e9105e6f2950d153f79dc7b798ecd SHA512 978332b6fd960c712a7da5aec1d50934c8e147e237e4025a757e05e6f3c5c9967cb8be234c7084e1eafa05e2526f8ab56924e4d15b178c9df9ec8a49f9474b34
DIST tsetup32.1.6.3.tar.xz 35580176 BLAKE2B 55518aae40367b8af161a4748bfee656f63c099c327853f01dab11dc4dc6f0c34dbb7236ca58b662905f985b82a4191f645757a8a940534b8893b2222914d666 SHA512 68d08a2b5a0ca5f8ceb918ab6261f51f3650df647262268822f9ff662527339a707f40bb724edcf3d1ea61ca254f77f7fdf2f50413559fd4ac4dffb0adcbdf22
+DIST tsetup32.1.6.7.tar.xz 35654388 BLAKE2B 328964b24d6aa883b24a559a5728faa33660a38d3e6d8aa2c035a59ecdf3c006940ddd6ecfe7976a5b6528c1a08eb8448199478c75dd16bd9c324ac826e29637 SHA512 ef149e2e32a61ebb38e10e907550efa014f8121ab1f2713e3d85e27f72e9f895c3c99921f42dbdd906f69508bc25786a06ff7763317a94fca21ec2eafbf240ac
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.6.7.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.6.7.ebuild
new file mode 100644
index 000000000000..fa1922505479
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.6.7.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop 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
+ 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
+}