diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-06 12:54:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-06 12:54:39 +0000 |
commit | 56330f065f2b903d9e1b2dffc63719fef5897a45 (patch) | |
tree | 659a7ebca7cb9f7504b018c1484df84ba4f9ab01 /net-im/telegram-desktop-bin | |
parent | 1774f0a748546cbd792bf1eb44757b63be2e0114 (diff) |
gentoo auto-resync : 06:01:2024 - 12:54:38
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 3 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.2.ebuild | 62 |
2 files changed, 65 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 8a01bc90f686..7b7472db82fd 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,7 @@ DIST tdesktop-4.11.7.tar.gz 18321400 BLAKE2B 5e7a22f7b20e9a14f15cc9d0e054bb303eca96777c47c0a4d9aaa4de3840049f0b2901d16b7f794d523db452eef2846454523424adcb7c7f02949ed33777c241 SHA512 a3f689181e54eea3278ec9b84861e416b51702464f9cb848a12365ad610dc5cc5846be9494aa0dfe7c626dbacc1b9e1271ba23bcd8fa97ae26884b0f0506e882 +DIST tdesktop-4.14.2.tar.gz 18605135 BLAKE2B 864145f499d9a7682964c3281851f274aa401d4a770f61f4c2f15d2b3fb96a1be9b1d242f38ea12ef0821c00fb913f1d3b4a726e1e255e2721b7c305944d7939 SHA512 975a32fdda9e32e5c13882f736b0f495fd7294bd7b8c4c6108c6bdff09c2df21248f5abe673158b9ac8ba6b3f699a5b9bdb600a70b0be37dfee991c99cfe107a DIST tsetup.4.11.7.tar.xz 53219368 BLAKE2B 704c12bced7c7d229f00828488c3a5426a85c9cf49a9883a46f642ebe4f280d78e143443495d98a12e68c6d1e9c4dcde67c7e53c08dbc03616352d0f7de88046 SHA512 adf023e3b4fbff87156fc1e15748ffc29b2d7007d04aecd64b60f66c05db4b325cd0f53cd1256ee7bd002906946bef0e702024a8113a143c591cc81933d93d9e +DIST tsetup.4.14.2.tar.xz 52969644 BLAKE2B 677e534301f0d677622c008b11b65ed610dc4c897cb01ec9236aecb2edf1d66306c38e1cd3f8fd36e867ba1bbb95024cdd3825f0647b82fff2a4efc6c4effd02 SHA512 eeaeaac9835c144ba2b06f231ea223a1a096cd53d9c1e0765f7c33afddc7f067c6c2bc6ede279ef2ed850809fa28a5a73d4f314bba803195acd25fb4b7729291 EBUILD telegram-desktop-bin-4.11.7.ebuild 1615 BLAKE2B d6504a0028c7d0c659773298a52df5225a2e0b27118fbab31c6579a2250f6992aaef21b8ded42b32a140fa26cb3a3b44d5b0e57bb373a70c07063057f90677de SHA512 195f50c7fba99c5304567afb6d9cb9ebabbbe9bd27955177eed66a23825b2b53e0550400a8d293bb74e2ff3221600f4764ea4695c4e71e371e2512ca4060b9b4 +EBUILD telegram-desktop-bin-4.14.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.14.2.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.2.ebuild new file mode 100644 index 000000000000..f42ba6d6aee0 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.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 +} |