commit: f3b43109a478f99c953f1be1742b8191663da959 Author: bip125 <bip125 <AT> yandex <DOT> com> AuthorDate: Sat Feb 21 12:12:16 2026 +0000 Commit: Peter Brinyiczki <bip125 <AT> yandex <DOT> com> CommitDate: Sat Feb 21 12:12:16 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3b43109
net-im/forkgram-bin: new package Signed-off-by: bip125 <bip125 <AT> yandex.com> net-im/forkgram-bin/Manifest | 8 ++++ net-im/forkgram-bin/forkgram-bin-6.4.2.ebuild | 63 +++++++++++++++++++++++++++ net-im/forkgram-bin/metadata.xml | 13 ++++++ 3 files changed, 84 insertions(+) diff --git a/net-im/forkgram-bin/Manifest b/net-im/forkgram-bin/Manifest new file mode 100644 index 0000000000..deb0a29c32 --- /dev/null +++ b/net-im/forkgram-bin/Manifest @@ -0,0 +1,8 @@ +DIST forkgram-bin-128.png 7014 BLAKE2B bee07a616da786f6664c03b2c91cabbaecfcc925e5df0eaf2639865813007d0f13f6179093188590384fcf007b4637ba35df28eaa71682627b7e2f0e773eeff0 SHA512 119ba55987e206442e74133ad642bc168b43340e4feedd4c5865ef36229ad6e8c70ae3c9cac741aea317a178051745dc8d8c61749854291e449b8f4baf6beea3 +DIST forkgram-bin-16.png 591 BLAKE2B 73f2c7c7320bcac1e5a1b3ef875b81d5148163943117b6db3367752840fd2a18f39fad9460df9f5eee32c6f5c59daa103a10c6a5ebab3be713f18544a74b071c SHA512 e597f5795226cd1e8f9c5d47e9be784af8998b523c94015083b68087eeb1f3b7a76c5dcb77cf31edf8884108bac0d34c0993c3e3669f556264f5a40b29a0192b +DIST forkgram-bin-256.png 14373 BLAKE2B eedf8944fc9185dbc5c21d621e5ca2abd4f3cfdf40e402fb073f6b9ecfd6dc18318caa9a2c0184662c72927e332a6ae093ddd64c7f7e358ba4425ee2793170d1 SHA512 bce42df0c1bb573b458eace23d71ad294f1a2cebb4a8d1c932e05bcef412bdaa834d87e9f5306322dbc85bcfc425abbc4cdffdf1627f3cbcc6a8bc0bb6a3b346 +DIST forkgram-bin-32.png 1600 BLAKE2B 4c0181536181f6063b4827b0d049f7eff5538a4d09181fae72b2d034e2fc77c96cbbf3af868bb42674985c69e1457422337bdd112b9e451887e096b51a1d2e6b SHA512 79bbe64c2ccb2d92284fd5c8612a8abc1ea94bc5fb94279da7fd252ed9b01fcdcbe17393e5e31e0fd626a363c5581babf3fea09c05476df384072e121755e63c +DIST forkgram-bin-48.png 2625 BLAKE2B cc3b0904c57603c8932a5b02251552d953d34a569f22d29a777ae84c006e6078d821ba0cdddd11cab4dff9cf1c6bdf0f33180a25c6ec06d5f9fb190fdeae6503 SHA512 8d768dffb2258794c757931beb72bb569c07db5793501f69b3d3337513f58e0123b1c4de91df741c002021a6b2ba0a1f6d2059551b01f98fb3c5294082a4d305 +DIST forkgram-bin-512.png 45688 BLAKE2B 0aa2e792ca01f06cf8bbc394c2d6b90603a04b20bc43bae4b072d419bb0517fafb1681c5189e0280a819a36995e8aac45061f347dbe7c40e39ba1a923e6e57fe SHA512 8ac513d988c91e3bdabebdb94bd3813874afe913e628051da1e871e5ef49a930d9f0aa32b6bab5afb3eaed1446c1525b1c435ad70d41e035b8df25a218700a7d +DIST forkgram-bin-6.4.2.tar.xz 66227668 BLAKE2B 434db163ee869f90d6a58ccfd6b9303cbc0527655117449bea3dfa7a7b568bb1810b1ad1f8d1dccf3036bb0b4f32aa23edb61beac5b6fd51d7da0c2e98a4fea6 SHA512 e6085a97d5cf92ed2cd2aa05a750bf0f2e4549bb9812b940d4c5859b0e73d5fe0b714c5bc43f4752abe67ced1c8fab2ee65998c077e8370fa61cd50e8ff28429 +DIST forkgram-bin-64.png 3495 BLAKE2B 633a2aae375f0342dcf0ba632290f3eea27b839acc1c01891dd94f3db306e2140bb24a2c921ab4a111f5068d04906198386502e759ad713046c389b8953d6a6d SHA512 6170d4a602b14734f9970190189b7bdca8630f642f66e73801837b7b2a7ae4599544702326470e798e6c8be3e3033ed40dfe46dce6dd82db5d3f94e3546a97a5 diff --git a/net-im/forkgram-bin/forkgram-bin-6.4.2.ebuild b/net-im/forkgram-bin/forkgram-bin-6.4.2.ebuild new file mode 100644 index 0000000000..f39efa768c --- /dev/null +++ b/net-im/forkgram-bin/forkgram-bin-6.4.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg + +DESCRIPTION="Fork of official Telegram Desktop app with small useful additions - bin" +HOMEPAGE="https://github.com/Forkgram/tdesktop" + +MY_PV="${PV}" +SRC_URI=" + https://github.com/Forkgram/tdesktop/releases/download/v${MY_PV}/Telegram.tar.xz -> ${P}.tar.xz + https://raw.githubusercontent.com/Forkgram/tdesktop/dev/Telegram/Resources/art/icon16.png -> ${PN}-16.png + https://raw.githubusercontent.com/Forkgram/tdesktop/dev/Telegram/Resources/art/icon32.png -> ${PN}-32.png + https://raw.githubusercontent.com/Forkgram/tdesktop/dev/Telegram/Resources/art/icon48.png -> ${PN}-48.png + https://raw.githubusercontent.com/Forkgram/tdesktop/dev/Telegram/Resources/art/icon64.png -> ${PN}-64.png + https://raw.githubusercontent.com/Forkgram/tdesktop/dev/Telegram/Resources/art/icon128.png -> ${PN}-128.png + https://raw.githubusercontent.com/Forkgram/tdesktop/dev/Telegram/Resources/art/icon256.png -> ${PN}-256.png + https://raw.githubusercontent.com/Forkgram/tdesktop/dev/Telegram/Resources/art/icon512.png -> ${PN}-512.png +" + +S="${WORKDIR}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +QA_PREBUILT="/usr/bin/forkgram" + +RDEPEND=" + dev-libs/glib:2 + media-libs/fontconfig + media-libs/freetype + media-libs/libpng:0 + sys-apps/dbus + virtual/opengl + x11-libs/gtk+:3[X,wayland] + x11-libs/libX11 + !!net-im/forkgram + !!net-im/telegram-desktop + !!net-im/telegram-desktop-bin +" + +src_unpack() { + unpack "${P}.tar.xz" +} + +src_install() { + newbin Telegram forkgram + + local size + for size in 16 32 48 64 128 256 512; do + newicon -s "${size}" "${DISTDIR}/${PN}-${size}.png" forkgram.png + done + + make_desktop_entry forkgram Forkgram forkgram "Network;Chat;InstantMessaging;Qt;" "MimeType=x-scheme-handler/tg;" + + insinto /etc/tdesktop + newins - externalupdater <<-EOF + /usr/bin/forkgram + EOF +} diff --git a/net-im/forkgram-bin/metadata.xml b/net-im/forkgram-bin/metadata.xml new file mode 100644 index 0000000000..025409a177 --- /dev/null +++ b/net-im/forkgram-bin/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Peter Brinyiczki</name> + </maintainer> + <upstream> + <remote-id type="github">forkgram/tdesktop</remote-id> + <bugs-to>https://github.com/forkgram/tdesktop/issues</bugs-to> + <changelog>https://github.com/forkgram/tdesktop/releases</changelog> + </upstream> +</pkgmetadata>
