summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-15 00:47:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-15 00:47:35 +0000
commit4614848cbaec61bd1083af01a41f39c3b4a9e274 (patch)
tree0f19b06aed0cab301d46e582b0bb595429feb525 /net-im/telegram-desktop-bin
parent75fab9df40cc79f887fd43dd6614b5fa0e96ba8f (diff)
gentoo auto-resync : 15:03:2024 - 00:47:35
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.15.2.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 3f71d1eff7b7..79bf5b4f4e92 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,7 +1,10 @@
DIST tdesktop-4.14.15.tar.gz 18711267 BLAKE2B 540f91a64d1cc9f4ecdd6ecb1e0c88d32c8c91ce9443034d0c1567be211c1380924b685b5ab35e8d2339c2c787b6e5e1e7ff35264003deb8caaacf43e1d170ec SHA512 05b85f0ba68f44f0fd9e54b00fa9fdbf8b1add5607524d8f01e875cfa6f5a11d2decb50e212ed4086eb4757e55a686161025b87bf3908d46f9bdabc41d62aebd
DIST tdesktop-4.15.0.tar.gz 18839494 BLAKE2B 838314f4cc0e503f0630bc53584371fd907574f460aa7ccd1474202a9e1a54b37e29bc1c9dfe5e4e08e3488eb0f84129117db6e7120c8d65e7bdd030331c2170 SHA512 9e7096cd90c4ba48ca67d62e5cd424d1d290e79fa02097b349acd99b37c588e9b2f9d090cb45e29cae28369a491e95e360f16047d40cfacc6d944e16af658861
+DIST tdesktop-4.15.2.tar.gz 19263533 BLAKE2B 078d9b93f60f8eec5fe09e73628cafd9e6b20393a6445da149e0b85befc5a492aff2952f150f4e6895f1305d222022f1cb9ce1e124a68838141e470453820fdb SHA512 d30cd363e2eab9b38c448ebd4c22ee98cf46d6e7a932c7469be5f950fba6dbb0d73cb86ae8439d989e8985cc6eb382ca930cad3c2511404c3cebcaf7c92b8049
DIST tsetup.4.14.15.tar.xz 53265092 BLAKE2B 268f1828432bea8c6683df7a861ba366f0204092626daffdfd3de4e4116c07964fe92e141f0571a0dc1da47804b303342c4fe8a14dda6831da96840ccbad3a6e SHA512 17275f2f85fbad46590f927e8538c344df3ae67b65b608c5bb880dfc7425c2b83019fa5f89d9d9ec656c981ca11219347ffcfb4563e01d31298bff5b7298f56c
DIST tsetup.4.15.0.tar.xz 53439808 BLAKE2B 8531d5b6ff7d0841e95926cac9349f8ce00d6ecb3feed05beb07811acbefbf92c4a16611e5cc04daa5ef108d0cad3ec760c143c427966f37293b6e72051ed7f4 SHA512 918e004b3b548d3e20a5655552bc5419a8d48b86b6c9dd9d8b54283159b41b6dcb0c6e8ea4eb603ff04abdbe19c001cff871185bce602d96c0053d7399c4d8c0
+DIST tsetup.4.15.2.tar.xz 54162852 BLAKE2B 6fa57b21de36f1e387bd9233f3e9045e30be73d33066dffc5756e6076267048fa8b959eece6bdd9ade1d3096faf0e6ace1d0c1f6565a9ac8b9a84c4423454c5b SHA512 12c72c02b8b69f4685ca5dcebdd784dd263a1cb0c117306b188e0d4fc79c978010bd697a2446692af6b9bd21382a9bf312bd27bb3da63b661a9e35578dd7b8a6
EBUILD telegram-desktop-bin-4.14.15.ebuild 1615 BLAKE2B c9a1e77133f6aa2c50e77b403c45a1ca94d3b22610186678478133ab4d5c9ebb2ef3bf47b7440c4d6fcd9b278d004f710b2bd35ba5984aac424ca6e590aab832 SHA512 01ec33e72be816e5932c1c02b57bc21187fcfd5734e0208eebda5f78734677948607aa413543df21d8c9e45411a12b41bb358c0c4d6cd547913d440ba910533d
EBUILD telegram-desktop-bin-4.15.0.ebuild 1615 BLAKE2B c9a1e77133f6aa2c50e77b403c45a1ca94d3b22610186678478133ab4d5c9ebb2ef3bf47b7440c4d6fcd9b278d004f710b2bd35ba5984aac424ca6e590aab832 SHA512 01ec33e72be816e5932c1c02b57bc21187fcfd5734e0208eebda5f78734677948607aa413543df21d8c9e45411a12b41bb358c0c4d6cd547913d440ba910533d
+EBUILD telegram-desktop-bin-4.15.2.ebuild 1615 BLAKE2B c9a1e77133f6aa2c50e77b403c45a1ca94d3b22610186678478133ab4d5c9ebb2ef3bf47b7440c4d6fcd9b278d004f710b2bd35ba5984aac424ca6e590aab832 SHA512 01ec33e72be816e5932c1c02b57bc21187fcfd5734e0208eebda5f78734677948607aa413543df21d8c9e45411a12b41bb358c0c4d6cd547913d440ba910533d
MISC metadata.xml 501 BLAKE2B 94aa66404772e94f51d8c59e36d19e6454f37173aaac352fe3539bcc09e72c267e69001c41f8356f19ca2830107164144d907865ad7fb3ad1def8771f5ef6d9a SHA512 3cd8e818062cd40787f12c9530ed202ea23c3f60a70f1ab50c95a7b3310197590be5a75378c598dabe5a1fce310fa8acf409a36e7446b66c2046a109d59a5ff8
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.15.2.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.15.2.ebuild
new file mode 100644
index 000000000000..f42ba6d6aee0
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.15.2.ebuild
@@ -0,0 +1,62 @@
+# 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 )
+"
+
+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
+"
+
+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 /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
+}