From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8727D159C9B for ; Fri, 9 Aug 2024 03:10:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D04812BC02B; Fri, 9 Aug 2024 03:10:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A88C32BC02B for ; Fri, 9 Aug 2024 03:10:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D63F734307A for ; Fri, 9 Aug 2024 03:10:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 062B0E6F for ; Fri, 9 Aug 2024 03:10:07 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1723172739.0ac28a57176f891b27621f83ecd76bcbe10d3b9b.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/telegram-desktop-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/telegram-desktop-bin/Manifest net-im/telegram-desktop-bin/telegram-desktop-bin-5.3.2.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 0ac28a57176f891b27621f83ecd76bcbe10d3b9b X-VCS-Branch: master Date: Fri, 9 Aug 2024 03:10:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fdc8ea7a-89f1-432f-8a44-8df2cbfd5c24 X-Archives-Hash: 1fe8c6fa27e98121d646dc977d565776 commit: 0ac28a57176f891b27621f83ecd76bcbe10d3b9b Author: Henning Schild hennsch de> AuthorDate: Mon Aug 5 07:34:42 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Fri Aug 9 03:05:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac28a57 net-im/telegram-desktop-bin: add 5.3.2 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Yixun Lan gentoo.org> net-im/telegram-desktop-bin/Manifest | 2 + .../telegram-desktop-bin-5.3.2.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 5aa3e0388ebc..00fd9c9b9ca9 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,6 @@ DIST tdesktop-5.1.7.tar.gz 19527170 BLAKE2B 26beb9a130d84c4ffacf5c854d4c83a6f3463f1aa3abe49f1d57c717e1c8142c8dbd112ab3d362620ad26a4c950ab92df012053fe4daf1a48dcd6e8b47423815 SHA512 4813abba7bf4976923940f034a07fc6ad512904273c1265549f2b181ecf2a21bc47f900d1628797f57392932f60c28caab4e08b8db66780847cdca1fd9d684ba DIST tdesktop-5.2.3.tar.gz 19578184 BLAKE2B fc84134969910c919469c069f6de498c6491d773b8dda4815d10db07e94e7fecbb43c4e8263bc96ac086cc8cf6944d4e77bfc1066cb26384b758bc6378e6f6a6 SHA512 4cabcb06fae6f1c51bdd738d8ac5d261d82e0fb044ad7b76f7aaef3291b731469cc3f5014b1c86f63756629b12e566c4f0fc2e09a240fb0b318d887b173cf067 +DIST tdesktop-5.3.2.tar.gz 19633052 BLAKE2B 9a26cde1c8ca28be9418beb0c5c85ddcfa600fd0d299c4561ece24ebee76d707a3542e34c85e42c5c4acf4cd20cdea10056deac82c00cbe118c1438f94fb15ac SHA512 736699832930935aeb3d1b0e27e24bc95ae09d8ed07d95fe8bd624a17959c4d2444ad8403006641450ce126429d573c126dbf5071125aa7a2edb9c612377dcb7 DIST tsetup.5.1.7.tar.xz 57387456 BLAKE2B b78ea2ad7ccc71b9579d71bac9a5af0e9a4ca1060e5a515804f8c770565ace3a298f53e478551e91b61697010608c06fb4ef024230eb65a22bde444c1b32f2cc SHA512 283b1f4e85032236e182ac420b93f3d59f15f014c4728f90fefabb1c09f1b54211694a011f994c31493004a10c1f6d7c2b2c800314d7719688226dce1a9051ba DIST tsetup.5.2.3.tar.xz 57653472 BLAKE2B ede4057f519fec21417f1348b1a20666430f903e8cb13ab507b2a1050882042252f87e445b2de859607b9ee7b77b4791d252d4173ae7b473dd62cb1b812ab578 SHA512 0d9e212d78ff5c572a69c4378a7cd8e232f6fec510df97502808e161490458d473987ca79f8cc1328708c9fafdf26c1f6e85d60adc4c6547e3cf579fd15d3d26 +DIST tsetup.5.3.2.tar.xz 56785516 BLAKE2B 9f90bd71818b9bc5b325cff61056b084ec2a5bab4abbef08bae0c8a2ad1e29aa5f9874c19c9deb38bb377461df9bb624a6cf3f4acdfaa944d8a6ee9873165e3a SHA512 42d7f5f41b822f24a13915e01dcbb1a45661eda9c2b2f03816a826493ca3bd23e4486f14680344b4c4ec119faec204ba7d750b8b5c685801d854cc831a25cceb diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.3.2.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.3.2.ebuild new file mode 100644 index 000000000000..24722ca70535 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.3.2.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 +}