From 782ce86e028f083bc3ad28d3a1fd28a344f0413b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 3 Nov 2023 15:52:15 +0000 Subject: gentoo auto-resync : 03:11:2023 - 15:52:15 --- net-im/telegram-desktop-bin/Manifest | 2 +- .../telegram-desktop-bin-4.11.3-r1.ebuild | 62 ++++++++++++++++++++++ .../telegram-desktop-bin-4.11.3.ebuild | 62 ---------------------- 3 files changed, 63 insertions(+), 63 deletions(-) create mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.3-r1.ebuild delete mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.3.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 7dd0b26830c9..247aa78f5223 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,4 @@ DIST tdesktop-4.11.3.tar.gz 18254355 BLAKE2B 0f24ca31bc1b0f5eec6c21c00048f6d15c3c1e491eaf387b8506382cafffbc8afb9fa4b14f26985ab093945371e68681ee1e90f0dcbf3835e7547c02885d7586 SHA512 ec17e6f2f3ca59e3697798055b42d4eed02c9f0eb1fd60ea4cf3946be68d1a0a4b720cda5db705a0127902329de96894e6c190842ae6287732ffd02d7ae0b327 DIST tsetup.4.11.3.tar.xz 52997540 BLAKE2B fd722374fe18d860eed437f31f0a3c1da696e02a09111f289a801b34071d24da204df52db93eb80e4bb64220e20ca1d0a4915a8993890d4a74253597b143c261 SHA512 6b2ef6a95dde09497249cf09ecd9c3e65764771714e3fed4ace547e56bae5ceb346ff288ad9a51dbae499266d42ee2e549a16c91553a0b6be98cb336dd166a23 -EBUILD telegram-desktop-bin-4.11.3.ebuild 1583 BLAKE2B 7b8ce0b50020e24c86417ec35fce2ec5d5a1b7f3aa2d3273426305145e3609bfac42b09c40e7c2ef279bcaaf084f9476d782c7106f22ae29f893f43731423538 SHA512 10d4fe2816510a10670006b29de413ce2160c24bedc866d428847848dd820178019fd3cf12c5f78f78ff23d64d8b559ef63d98cf2e583b4aa6859ce6e98ea831 +EBUILD telegram-desktop-bin-4.11.3-r1.ebuild 1615 BLAKE2B d6504a0028c7d0c659773298a52df5225a2e0b27118fbab31c6579a2250f6992aaef21b8ded42b32a140fa26cb3a3b44d5b0e57bb373a70c07063057f90677de SHA512 195f50c7fba99c5304567afb6d9cb9ebabbbe9bd27955177eed66a23825b2b53e0550400a8d293bb74e2ff3221600f4764ea4695c4e71e371e2512ca4060b9b4 MISC metadata.xml 501 BLAKE2B 94aa66404772e94f51d8c59e36d19e6454f37173aaac352fe3539bcc09e72c267e69001c41f8356f19ca2830107164144d907865ad7fb3ad1def8771f5ef6d9a SHA512 3cd8e818062cd40787f12c9530ed202ea23c3f60a70f1ab50c95a7b3310197590be5a75378c598dabe5a1fce310fa8acf409a36e7446b66c2046a109d59a5ff8 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.3-r1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.3-r1.ebuild new file mode 100644 index 000000000000..d81c56fd7260 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.3-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 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 +} diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.3.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.3.ebuild deleted file mode 100644 index 73fc72ac1747..000000000000 --- a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 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 /etc/tdesktop - 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