diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-26 09:56:20 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-26 09:56:20 +0000 |
commit | 9b55c1bd600df28af7b9f6ee044b714873e19b49 (patch) | |
tree | 9c6d86e5e38b0aed45d07dc73907e9f818783a4d /net-im/telegram-desktop-bin | |
parent | 61044571b76d87a2eec42d36c9b7addf3e66e000 (diff) |
gentoo auto-resync : 26:02:2023 - 09:56:20
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 3 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-4.6.5.ebuild | 58 |
2 files changed, 61 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 5fa8fa5b3ebc..989cfe47ef9f 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,10 +1,13 @@ DIST tdesktop-4.4.1.tar.gz 17238891 BLAKE2B da7620a5d5ee28dfbbcba098cd4493c346a0c4a558d64835337d2ca722a91e9385e5d42a3b99b24f8aaf5b97291e3432b73e2880162c539bc6424de6e3e00b9a SHA512 f45cc3b788fdd50f8caf9aff43dccfd250c0586cae5c54e27e943c24b472f059cea8017ecf9a7b0061fd02d49113ab33b5288daeaa6b40fb7282b8b09abd0459 DIST tdesktop-4.5.3.tar.gz 17292564 BLAKE2B d8fd0a4aea06ec2141bc9e8561f83116a692353297e41a07202aba6a5eff33c46572c6c2c1b0765cd9d2447cb318aed983dfd03c58137cc374db63db8578980f SHA512 869c55ec21e5ebcb3e8d08ccbd8154510523aea93f9f7fc127ad1918109f3856c32413277dc4b32f7007c92b8f560665484ba47d39490f57047c6baf2b1466e8 DIST tdesktop-4.6.0.tar.gz 17368321 BLAKE2B 511071683c2f9a43b077f5cd84f67137e86c8483d69d9fd53238b3ce1ef0be045fb81fed37be1b78b0df06f25ac4e0f592b9047ca33f8d97bf98b69809a4c3b2 SHA512 0a6ade8f2e9f74cedbae20410b607a61c20e6349b77a064b7f8eae8f4bbbdfd3b58e0d6353a74ebf0a135af3bfa34e2af9232bfb1278b57bc2c73c571a633842 +DIST tdesktop-4.6.5.tar.gz 17391978 BLAKE2B 6c3b576e1f88eaea1a3e36c2c545c9b1ed11db8e857bb4fd880a21ee7b139daececda867a9244610290ea36e788e0167b39c9aa989b0b0761f3cd07bb8679998 SHA512 28a46fe759bf26f2eb590a9f8cec548c2e242f00d8f90a2fb73dbda2f4956fd0afaecc3f5eec638af82272a072955b547404e98113df56700b9d4f02f49c1950 DIST tsetup.4.4.1.tar.xz 50194196 BLAKE2B 05ff4bc66b77e4b26a802c766f65b7f1690376371681f0ed474d5b8edd0bdc0eae04e78c7539b05f9e7ea3a37dc4250c3761bf0ef23386b5033ce0a52caea5ec SHA512 d13892b0923b4dc9c565002ff54f41382aaba75de532b25b940c1e0cbff49784e15ff9aba5dfdf7b86c996c7502c44c7cfe9df865095d513277a5b553d4e00ea DIST tsetup.4.5.3.tar.xz 50285164 BLAKE2B 77e386803e9972f0ca8d1478ccbfb7c34b633b6184799f49e2cb2d2276bb623767997965442a0c0d45d8fbc08d24033d86b3456ef786cd64a789addd5513c6c3 SHA512 3c7d607e04991336008269b136953bb4bf40b2976ab5f3afb84761857c9340606e22e284ac1a419f717342e4083769463ba611fe5d2ab1aaeb145a0ae7949d6c DIST tsetup.4.6.0.tar.xz 50550076 BLAKE2B e96f34ce72559244430f4316b214d12f2bda7c990e6205e26c5be296a3043ae2a2948974eea7d2fe6c449b3c6bdd9b78dc83509a32f32c44e55aa2d17a9504e4 SHA512 036aec474c359a7d2d714a505835a4a6bbb3204e94294532f39574f4c12551b158fe6022fe5455da910e7686a27c7eaf9d83f8231efbedb8e639a0e8f9f2ee49 +DIST tsetup.4.6.5.tar.xz 50721036 BLAKE2B 8b26f63e73493aff0d312b0bd2cc160b595b0f8c0899a2dd22ededa22ab5b761d81b4ed4ef097c86bafc436a9f5f31982d6b25550794500f8bfd7342751c49c2 SHA512 d8cdbc18d93bfd9ff35f1268bc8933e4ab658ead632bfd3b5d712cbd11795922b247bb6063f16ec66d6b6c83703f6c377d25521c7ce9f06cbb2888a913f711e7 EBUILD telegram-desktop-bin-4.4.1.ebuild 1392 BLAKE2B 658ad26aa2f1e4bd809da9acd1e76c5b268df18e5b65e0a6f10e08191d58b2dca75eeb35ab988789432055e1e12751b6955d17b258714e3823488c2463dd3498 SHA512 b792ce955053d55c8c46fc8459c2f00794aa7725d274a4232b81fca9852026dc1790ebeea877b22dd494780b934c41183fe922f8ccfbbe5d552b2a044a02ea66 EBUILD telegram-desktop-bin-4.5.3.ebuild 1392 BLAKE2B c66621ac1d61a68c9a890b46dff8826f844136c8eee9af57f54f79017aa67a2cb12dcd5a1914c024ed85cdaf4478ec35704c7458504ab9af3735489c84a24233 SHA512 6ac63f198d358d0f170b9994ab5be64c2eb6b00144bd2cb39b739190718954f1aa96d88a21232c0569e2761e0f9cd51edd8286c5502d9dce6d136c2ce412a594 EBUILD telegram-desktop-bin-4.6.0.ebuild 1392 BLAKE2B c66621ac1d61a68c9a890b46dff8826f844136c8eee9af57f54f79017aa67a2cb12dcd5a1914c024ed85cdaf4478ec35704c7458504ab9af3735489c84a24233 SHA512 6ac63f198d358d0f170b9994ab5be64c2eb6b00144bd2cb39b739190718954f1aa96d88a21232c0569e2761e0f9cd51edd8286c5502d9dce6d136c2ce412a594 +EBUILD telegram-desktop-bin-4.6.5.ebuild 1392 BLAKE2B c66621ac1d61a68c9a890b46dff8826f844136c8eee9af57f54f79017aa67a2cb12dcd5a1914c024ed85cdaf4478ec35704c7458504ab9af3735489c84a24233 SHA512 6ac63f198d358d0f170b9994ab5be64c2eb6b00144bd2cb39b739190718954f1aa96d88a21232c0569e2761e0f9cd51edd8286c5502d9dce6d136c2ce412a594 MISC metadata.xml 501 BLAKE2B 94aa66404772e94f51d8c59e36d19e6454f37173aaac352fe3539bcc09e72c267e69001c41f8356f19ca2830107164144d907865ad7fb3ad1def8771f5ef6d9a SHA512 3cd8e818062cd40787f12c9530ed202ea23c3f60a70f1ab50c95a7b3310197590be5a75378c598dabe5a1fce310fa8acf409a36e7446b66c2046a109d59a5ff8 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.6.5.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.6.5.ebuild new file mode 100644 index 000000000000..0fe79450766d --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.6.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop optfeature 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://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz ) +" + +LICENSE="GPL-3-with-openssl-exception" +SLOT="0" +KEYWORDS="-* ~amd64" + +QA_PREBUILT="usr/bin/telegram-desktop" + +RDEPEND=" + !net-im/telegram-desktop + sys-libs/glibc + dev-libs/glib:2 + >=media-libs/fontconfig-2.13 + media-libs/freetype:2 + virtual/opengl + x11-libs/libX11 + >=x11-libs/libxcb-1.10 +" + +S="${WORKDIR}/Telegram" + +src_prepare() { + default + sed -i -e 's/@CMAKE_INSTALL_FULL_BINDIR@\///g' "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.desktop || die +} + +src_install() { + newbin Telegram telegram-desktop + + insinto /etc/tdesktop + newins - externalupdater <<<"${EPREFIX}/usr/bin/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/org.telegram.desktop.desktop +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "spell checker support" app-text/enchant +} |