summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-04 11:51:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-04 11:51:15 +0100
commit713e25c0c3d1e5434ac60ec0549708ec2f744bb4 (patch)
tree9e9281ff07875c667fb3bf223166de68137f4635 /net-im/telegram-desktop-bin
parent08b4047e14c989cfb931eff95973837f54ccc9e1 (diff)
gentoo auto-resync : 04:10:2023 - 11:51:15
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-4.10.3.ebuild62
2 files changed, 65 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index e4eaf46fb332..7395b1db025d 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,7 +1,10 @@
+DIST tdesktop-4.10.3.tar.gz 18112345 BLAKE2B d64e9bd897295917ee9875565c571de954d7b57b40fd37c542e5d27b4799c4c55b1c9e7afe27bcadc3a7d2012188f9e95eed9a39073b758ee46b4f8b35de416c SHA512 60d819208cb003f4b1716bbf279e3cb29c8925af9c21e149b611dbb66f06ed8638a4113db4cd603708c53afe67e6bf3649fa9044195885fbf46e34e306afce0e
DIST tdesktop-4.8.4.tar.gz 17647686 BLAKE2B 73ae16a588574671c20ff0f5469040136caee1ea726dd6bd239f56f8a1a12618263febdefd7c036de7bfae90163d1a37563d1f419b396848b6accabf71a25440 SHA512 971de6b8a5991d60aa35d7e082d9069291730f1e730a2e57fdb2c12456fa7e820b7750f6546bf643ce9c8b156f8c151ee28f1dabad389cbe0b37876fc10d058c
DIST tdesktop-4.8.9.tar.gz 17838522 BLAKE2B 57f6090f59181e3bb87729f94493be248ea34b4e96d3f339d0697188b278cdfba3798cf75ad27e3b6e99a2538a30f22eb80d52ce36f4090e5678274c4a837bdf SHA512 9814a56aba844349f23a07ee1972987acff6a38c62755bc6efc80b468c4bc4e0b44c73eef0ff462dcb71a74d96b60c973eefd5e8fd0f9e684cd2cfb52676396c
+DIST tsetup.4.10.3.tar.xz 52239308 BLAKE2B 8d028c964e5d60788dcf35c370d942a5bc4c5f1682b7edf9787ce6ca60b363d58267cc71d1916092d90d0a4b8baf8d4ac09cede8651db8b5786292a1f8060b66 SHA512 27260d01c5b1bf1ae7120b9d4f95168b4335c8f803b21637af967d534cb9e538484b7c6e2782e79fa0a50b209ce489143546fd648cbc6d209a144ab5bd3f2ca1
DIST tsetup.4.8.4.tar.xz 51480560 BLAKE2B 5d32921986e0c241d62442235679285a60ff241b6a3729ea0f9dca407c8794cc463d4ed0d0a8f472294f8ac781483ff0a12b03fa2e86b26e8c8aad90c5131259 SHA512 698a31a81f535428d1e672c1d2b6f8dcdf3ed145f413ada404af00caea762df4935005c5a2ea5a5469949b49c9cd40ab0670049f0618b4f273d70349147df5c8
DIST tsetup.4.8.9.tar.xz 50837700 BLAKE2B 1161ec689c003c725dad0a98de0e5a2d5fc1f4ad57739147e26413c6cce637a9b6e4dbff332b8d6a6115c41dfb5c8270ba4c44520324efc8d365b6a16f5d5242 SHA512 6d72e79f747aec6c32d68379dbb05fba1bdc2b8639a146184e1b3e11713380de9aa6b7a44f8d33497b9d1820013808b08d88cea799d8291e69987170355f7f25
+EBUILD telegram-desktop-bin-4.10.3.ebuild 1572 BLAKE2B f1f7b6ee76f0025fb93f4b6441b4cebdaded649af7836ead453a86363495758ed954ceea895fda191815ca923b8623cb37f7e056f7fc8d15325a361cfddd0b0c SHA512 349cf9ca57ccb3c9a7a358459959263fd75bbe8e462f53961f6330951e90c5cc54b5d4b7e7bc885e5607300650803b237fda9156035cecdd83a008c902097eca
EBUILD telegram-desktop-bin-4.8.4.ebuild 1244 BLAKE2B 3de0935b89af05a383c6b13883088934b8039d315bea37d517014d721ffa5ea6fe4ab649192c5ea0824786913e642440d2e464eb782e3d3a60010f93acb34c99 SHA512 5af5e1ed6ea763128e15c7a5d2f0e927fa5b4306277cea63c9a5df00767095ebb5383ad750f0a68b9ab1fdbf6afa784f23c7d659a586f70ff28cfe1608ce3f7e
EBUILD telegram-desktop-bin-4.8.9.ebuild 1555 BLAKE2B 84b5b81d0d7f8572b8b5920a8a3eb9c41fda2c8a96a71528ab2ed74d815cda43f4e6d3d783c65badca8bc894d70d7ba0edf56cae893562d0a4d734e829f8eaa2 SHA512 45552107fd5ffeaa29eaa60f695fb04fabd180a9e969a8f36c5b5ad13ec56fe2b86cbbfc18bfc22c5ba0b47bd01236c7412c45cd95b1d79ca07e2d43c512a80f
MISC metadata.xml 501 BLAKE2B 94aa66404772e94f51d8c59e36d19e6454f37173aaac352fe3539bcc09e72c267e69001c41f8356f19ca2830107164144d907865ad7fb3ad1def8771f5ef6d9a SHA512 3cd8e818062cd40787f12c9530ed202ea23c3f60a70f1ab50c95a7b3310197590be5a75378c598dabe5a1fce310fa8acf409a36e7446b66c2046a109d59a5ff8
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.10.3.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.10.3.ebuild
new file mode 100644
index 000000000000..9c5b8376b157
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.10.3.ebuild
@@ -0,0 +1,62 @@
+# 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/gtk+:3
+ x11-libs/libX11
+ >=x11-libs/libxcb-1.10
+"
+
+S="${WORKDIR}/Telegram"
+
+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 /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
+ 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
+}