summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <steils@gentoo.org>2024-02-19 00:44:13 +0200
committerStefan Strogin <steils@gentoo.org>2024-02-18 22:44:58 +0000
commit4aa8921c73f08a3685e36b009f87a45f9f1b2721 (patch)
treef23a86f9284b4feb46e7dc2bda04ca624ec32e30 /net-im/telegram-desktop-bin
parentapp-arch/libdeflate: Keyword 1.19 arm64, #924940 (diff)
downloadgentoo-4aa8921c73f08a3685e36b009f87a45f9f1b2721.tar.gz
gentoo-4aa8921c73f08a3685e36b009f87a45f9f1b2721.tar.bz2
gentoo-4aa8921c73f08a3685e36b009f87a45f9f1b2721.zip
net-im/telegram-desktop-bin: add 4.15.0
Signed-off-by: Stefan Strogin <steils@gentoo.org>
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r--net-im/telegram-desktop-bin/Manifest2
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-4.15.0.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 09c825932b7f..c055d653c2a0 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,4 +1,6 @@
DIST tdesktop-4.14.15.tar.gz 18711267 BLAKE2B 540f91a64d1cc9f4ecdd6ecb1e0c88d32c8c91ce9443034d0c1567be211c1380924b685b5ab35e8d2339c2c787b6e5e1e7ff35264003deb8caaacf43e1d170ec SHA512 05b85f0ba68f44f0fd9e54b00fa9fdbf8b1add5607524d8f01e875cfa6f5a11d2decb50e212ed4086eb4757e55a686161025b87bf3908d46f9bdabc41d62aebd
DIST tdesktop-4.14.9.tar.gz 18681186 BLAKE2B 12e3f0d0aed62c76f2b0976ce25ff10d50e1e0040e302bb2d2d93c948caee78d69e256cb6f015b23304de556fcca98e0e91ab705d693edab0fba869c76b4f1a3 SHA512 0a1adcb816f8d7d483853e9467554d097ef849b7e55ff677314b776fc524d17ba56bf6d16f9485be895b47834841916208f1d70d22db6f2661e09099e077e291
+DIST tdesktop-4.15.0.tar.gz 18839494 BLAKE2B 838314f4cc0e503f0630bc53584371fd907574f460aa7ccd1474202a9e1a54b37e29bc1c9dfe5e4e08e3488eb0f84129117db6e7120c8d65e7bdd030331c2170 SHA512 9e7096cd90c4ba48ca67d62e5cd424d1d290e79fa02097b349acd99b37c588e9b2f9d090cb45e29cae28369a491e95e360f16047d40cfacc6d944e16af658861
DIST tsetup.4.14.15.tar.xz 53265092 BLAKE2B 268f1828432bea8c6683df7a861ba366f0204092626daffdfd3de4e4116c07964fe92e141f0571a0dc1da47804b303342c4fe8a14dda6831da96840ccbad3a6e SHA512 17275f2f85fbad46590f927e8538c344df3ae67b65b608c5bb880dfc7425c2b83019fa5f89d9d9ec656c981ca11219347ffcfb4563e01d31298bff5b7298f56c
DIST tsetup.4.14.9.tar.xz 53134928 BLAKE2B fc1984011418863c174cb32706751889baa8255968a4f008e0a97e6119d4f8ab65f80d9ff4d71c676bf35b4eab233d6b7021aad272638456ca91a8d7e606b847 SHA512 47cb89485bcf0b72a857f7597f3027848a94006e339e7f66c27426dc516dc31d40cf0d91dc61f18889bda78a24387127df2c17942f215942ae5452f057237d38
+DIST tsetup.4.15.0.tar.xz 53439808 BLAKE2B 8531d5b6ff7d0841e95926cac9349f8ce00d6ecb3feed05beb07811acbefbf92c4a16611e5cc04daa5ef108d0cad3ec760c143c427966f37293b6e72051ed7f4 SHA512 918e004b3b548d3e20a5655552bc5419a8d48b86b6c9dd9d8b54283159b41b6dcb0c6e8ea4eb603ff04abdbe19c001cff871185bce602d96c0053d7399c4d8c0
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.15.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.15.0.ebuild
new file mode 100644
index 000000000000..f42ba6d6aee0
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.15.0.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
+}