summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-09 04:26:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-09 04:26:33 +0100
commit6ee17dd82a3bcd0e90af4ebfbb3e411d342761be (patch)
tree5ade54018efa76614b79d832bbe15a22021b6d8c /net-im/telegram-desktop-bin
parent325837835fc86686829aaa6acace3d3c06c74cea (diff)
gentoo auto-resync : 09:10:2024 - 04:26:32
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-5.6.1.ebuild64
2 files changed, 67 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 7f4c0450ca31..f36279e92ee5 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,7 +1,10 @@
DIST tdesktop-5.4.1.tar.gz 19879412 BLAKE2B 5ef691f42fb0931736bb5c8710b4165f1ad82308bab4e06a3c3e1630bac8de1372409c8956afa789e00bc66e7ef2b042de4ec3ce42c23af8fcdbe5f2999b06a8 SHA512 9848698d0a1190c7c6da101f80132f0e09e21f585def18b2da334d45b20cab17a96e4d707bef958606e180ea2c183ca464770707f8696cf2a02b256d736b6450
DIST tdesktop-5.5.5.tar.gz 19927448 BLAKE2B a652a8ff502c9f37876a0e9a8b166e05c20397f4674cc3d1838e8a36be7037afd15e0defafe341c9a13f31fea27cf24e5cd1a2d031b27fd2758d103a961d71dd SHA512 67e0d4809ea0bae567e948fbef6d18c3969bfb914098c1e27f575a72d25d346f2ec6274f9e1263cfae759a1e9be97513e38ebe95d326c69460aa6298c563b589
+DIST tdesktop-5.6.1.tar.gz 20122685 BLAKE2B f7ad2800fec83cc206d6642e6c2f5b605a3be2a455c7c1dfb05e4e3c6a52d978b309c34cab1626dfcf076ffafba1c675c2c22ac6c4588df6aa02db8ecd1609ae SHA512 5a1539cf61eb8e3fc4e0cf00b20298afdf5207f7d11bbf983a44577d9e57aa30a6ec131732fb7263847eee7ab2847358e37b0d1846a9d21ab84bda07aeaf9d1f
DIST tsetup.5.4.1.tar.xz 57175592 BLAKE2B e9a107c64b4f82dc8b3edb34fb37b8d10c3e32326cfdc265d998b3baca6c6a7f655990f65fe68db98e1f885646712e605c17eb671609948bedcca82ee50438ce SHA512 7155bc54a50c0b0377cad5d409ab9be42be0ad790f9f514cf11bac55ccefdb080898d98db50db2e995c7f2c81659f541a305c7a9172176f13d2994d54860a3e5
DIST tsetup.5.5.5.tar.xz 57286424 BLAKE2B c636d5fa1dc5939304afa3ed7bd1f908cd3fd598d497185a9b4fd6d473091b3eaa34567b76a614a3ff9bd320f7ca9a22d437acca49deb4914a0ff622044ce09c SHA512 c982fe0d6bb5c4b45b41c06cfce9dd3a76c72dee96b82919022fc62c1ee8a4d86ed0e93769d0688881055c7bdac434276b9f191338f8fc273c614caad08c98ed
+DIST tsetup.5.6.1.tar.xz 57688760 BLAKE2B 9eb4f6d5c81f8b6bb96a8e159295f35e9da756fdd1246c644ed3dec136c4def4355addeec0abf14b6533145597ed034dfa425dfdeccd1e75ee9c62a67ee74fa9 SHA512 287415dc7150d08618caea86a64702586618910de95ad6e054819bca87bb298c5c5488dd1d75296b4abfeb30f241e8654b1a004b97a380208c274a3d77fe6b63
EBUILD telegram-desktop-bin-5.4.1.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253
EBUILD telegram-desktop-bin-5.5.5.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253
+EBUILD telegram-desktop-bin-5.6.1.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253
MISC metadata.xml 501 BLAKE2B 94aa66404772e94f51d8c59e36d19e6454f37173aaac352fe3539bcc09e72c267e69001c41f8356f19ca2830107164144d907865ad7fb3ad1def8771f5ef6d9a SHA512 3cd8e818062cd40787f12c9530ed202ea23c3f60a70f1ab50c95a7b3310197590be5a75378c598dabe5a1fce310fa8acf409a36e7446b66c2046a109d59a5ff8
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.6.1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.6.1.ebuild
new file mode 100644
index 000000000000..24722ca70535
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.6.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 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 )
+"
+
+S="${WORKDIR}/Telegram"
+
+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/gtk+:3[X,wayland]
+ x11-libs/libX11
+ >=x11-libs/libxcb-1.10
+"
+
+src_prepare() {
+ default
+
+ sed -i -e \
+ 's/^Exec=@CMAKE_INSTALL_FULL_BINDIR@\/telegram-desktop/Exec=\/usr\/bin\/telegram-desktop/' \
+ "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service || die
+}
+
+src_install() {
+ newbin Telegram telegram-desktop
+
+ insinto /usr/share/TelegramDesktop/externalupdater.d/
+ 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
+ insinto /usr/share/dbus-1/services
+ doins "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ optfeature "spell checker support" app-text/enchant
+}