From 941687623283212199cbe6e36f7d61b89d6222b2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 7 Jun 2024 00:08:01 +0100 Subject: gentoo auto-resync : 07:06:2024 - 00:08:01 --- net-im/telegram-desktop-bin/Manifest | 6 +- .../telegram-desktop-bin-4.16.8.ebuild | 64 ---------------------- .../telegram-desktop-bin-5.1.2.ebuild | 64 ++++++++++++++++++++++ 3 files changed, 67 insertions(+), 67 deletions(-) delete mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-4.16.8.ebuild create mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.2.ebuild (limited to 'net-im/telegram-desktop-bin') diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 2b73bdf7bd46..3c722d346253 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,7 +1,7 @@ -DIST tdesktop-4.16.8.tar.gz 19360758 BLAKE2B d939ca2296be93c02a552726b0cab3efff84adbe969d3659c8f1ff7ff14be01e4e19aea12630cabe2771c8ebfd00d8ef6284d1c94257b506c34a5c9a525e0f91 SHA512 77b9dd8b0207196d5e43501b3fa39cd77e46b846801efc00067dbe3c777f8b4874ee5840fdead1cdfd8c765582f9ce8038b48bb53b703c22427becdc4f498074 DIST tdesktop-5.0.1.tar.gz 19444120 BLAKE2B 8ffc7605d834b9453f3fad4bec71f1e7942b313719df38d433813497d8ef534c79cae19e6decf1c3a911492df7f2808446e0e5113d0b6e041e4b424d7cbae0aa SHA512 703518a2b364d958737b20617fc7be678d413b2f87c9fd9de11ad98b557a7892df4446e4453e5cdc836b2815e99c3c531d6fb905461feb7772ca4d3aec35727c -DIST tsetup.4.16.8.tar.xz 56726632 BLAKE2B e3323903ca989d780f1a4ae20fa94eab6d17d2ee3505b689a7468e2e068ac68e17666a39400218a8cd40dbb59096a2a70e3a5767ea55eba0233a9fa9fe6e02cc SHA512 bc6d0bdee19286ccb06ceb6540d5f67b85735ec452ea69e0d550f64d3d54c718d309b211b19302849649b7fef979d91bf365f65c024f8891f387a2713629d711 +DIST tdesktop-5.1.2.tar.gz 19517612 BLAKE2B ee6102bb31c8b5187de788ed81218a07044463cfdd77a7924325434e6a246bccc68a195e79e5cbd0f788b9a864aded82791737be301e2d68105df0a21d6eda54 SHA512 343cde52df1bde4eb978ad5b7bdaa5754f3a5b58ce56b19f01394abfbaf4a8edf1c0869db11bc83edd161bcb4835a1930fd5aee6bc9a9f366947ca2b4d93dfa7 DIST tsetup.5.0.1.tar.xz 57003088 BLAKE2B 1d39eb3dc9de1a17a419f64d397b945e643f28efe3a979e16d48ee79b66db893a7bbc502c0a910db7ef95800e584b58af76f89f775e48506cc16c952b0744cc0 SHA512 1b6de1d515777f6c7ba2a8e8bb876c4c78a49822f968fb6c4a68ad0d2992827131eac00b596ed82e7933377762a67d7a84530d8ddcd7c77df68d7be88bd18025 -EBUILD telegram-desktop-bin-4.16.8.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253 +DIST tsetup.5.1.2.tar.xz 57360928 BLAKE2B f9751c1658bb700a2cc272c06fb58d77541e5c779b3f026fa3835c664f008a72244e108b76f13e0930285e68764b6e9e60ce135176ecaa35b0f4980923ce5d1c SHA512 f8306997d21161cf10ec9312cb2008d54c312dbcb29aa1d6ce7d791699c38d561ce057ece5405b505a76018b7948aaefc80b45c2d7ae9354649e9ec2bb288ec9 EBUILD telegram-desktop-bin-5.0.1.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253 +EBUILD telegram-desktop-bin-5.1.2.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253 MISC metadata.xml 501 BLAKE2B 94aa66404772e94f51d8c59e36d19e6454f37173aaac352fe3539bcc09e72c267e69001c41f8356f19ca2830107164144d907865ad7fb3ad1def8771f5ef6d9a SHA512 3cd8e818062cd40787f12c9530ed202ea23c3f60a70f1ab50c95a7b3310197590be5a75378c598dabe5a1fce310fa8acf409a36e7446b66c2046a109d59a5ff8 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.16.8.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.16.8.ebuild deleted file mode 100644 index 24722ca70535..000000000000 --- a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.16.8.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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 -} diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.2.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.2.ebuild new file mode 100644 index 000000000000..24722ca70535 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.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 +} -- cgit v1.2.3