diff options
author | Henning Schild <henning@hennsch.de> | 2022-11-06 17:27:07 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-11-25 08:41:17 +0200 |
commit | 6b793c5429c7eb3c6d629f9cea4e81b7190af865 (patch) | |
tree | a0c5fe24d3ebb4e97a785ece9a7918ccf2a95d0f /net-im/telegram-desktop-bin/telegram-desktop-bin-4.3.1.ebuild | |
parent | dev-lang/elixir: drop 1.13.3 (diff) | |
download | gentoo-6b793c5429c7eb3c6d629f9cea4e81b7190af865.tar.gz gentoo-6b793c5429c7eb3c6d629f9cea4e81b7190af865.tar.bz2 gentoo-6b793c5429c7eb3c6d629f9cea4e81b7190af865.zip |
net-im/telegram-desktop-bin: bump version to 4.3.1
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/28160
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/telegram-desktop-bin/telegram-desktop-bin-4.3.1.ebuild')
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-4.3.1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.3.1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.3.1.ebuild new file mode 100644 index 000000000000..6916ecaa22df --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.3.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 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=" + sys-libs/glibc + dev-libs/glib:2 + >=media-libs/fontconfig-2.13 + media-libs/freetype:2 + virtual/opengl + x11-libs/libX11 + >=x11-libs/libxcb-1.10 +" + +S="${WORKDIR}/Telegram" + +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/telegramdesktop.desktop +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "spell checker support" app-text/enchant +} |