commit:     d37004f7421d037823b5ada00469d2314c94a2b4
Author:     bip125 <bip125 <AT> yandex <DOT> com>
AuthorDate: Sat Feb 21 12:12:05 2026 +0000
Commit:     Peter Brinyiczki <bip125 <AT> yandex <DOT> com>
CommitDate: Sat Feb 21 12:12:05 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d37004f7

net-im/forkgram: install as forkgram and add blocker

Signed-off-by: bip125 <bip125 <AT> yandex.com>

 net-im/forkgram/forkgram-6.5.1.ebuild | 14 ++++++++------
 net-im/forkgram/metadata.xml          |  2 +-
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/net-im/forkgram/forkgram-6.5.1.ebuild 
b/net-im/forkgram/forkgram-6.5.1.ebuild
index e3d63f27f2..e41264b1ba 100644
--- a/net-im/forkgram/forkgram-6.5.1.ebuild
+++ b/net-im/forkgram/forkgram-6.5.1.ebuild
@@ -54,6 +54,7 @@ CDEPEND="
        )
 "
 RDEPEND="${CDEPEND}
+       !!net-im/forkgram-bin
        !!net-im/telegram-desktop
        !!net-im/telegram-desktop-bin
        webkit? ( || ( net-libs/webkit-gtk:4.1 net-libs/webkit-gtk:6 ) )
@@ -242,14 +243,15 @@ src_configure() {
 }
 
 src_compile() {
-       # The cppgir program causes the gen/gio/_types.hpp file to be updated.
-       # Since this program can usually be invoked anywhere in the build 
process,
-       # running it *after* some files depending on the header have been 
compiled
-       # causes Telegram to be linked again during src_install(). This is a 
slow
-       # process, so we try to avoid it by running all cppgir targets upfront.
        cmake_build $("${CMAKE_BINARY}" --build "${BUILD_DIR}" -t help | sed -n 
'/^[^/]*_cppgir:/s/:.*//p')
        cmake_build
-       cmake_build  # Just in case, should say "no work to do"
+       cmake_build
+}
+
+src_install() {
+       cmake_src_install
+       newbin "${BUILD_DIR}/Telegram" forkgram
+       rm "${ED}/usr/bin/Telegram" || die
 }
 
 pkg_postinst() {

diff --git a/net-im/forkgram/metadata.xml b/net-im/forkgram/metadata.xml
index 954d980db7..a9c054f9db 100644
--- a/net-im/forkgram/metadata.xml
+++ b/net-im/forkgram/metadata.xml
@@ -3,7 +3,7 @@
 <pkgmetadata>
        <maintainer type="person">
                <email>[email protected]</email>
-               <name>bip125</name>
+               <name>Peter Brinyiczki</name>
        </maintainer>
        <longdescription>
                Forkgram is a fork of the official Telegram Desktop application.

Reply via email to