mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-im/forkgram: install as forkgram and add blocker
Signed-off-by: bip125 <bip125@yandex.com>
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>bip125@yandex.com</email>
|
||||
<name>bip125</name>
|
||||
<name>Peter Brinyiczki</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Forkgram is a fork of the official Telegram Desktop application.
|
||||
|
||||
Reference in New Issue
Block a user