commit:     9db262d4a6b35b8dd3ff2271f02a5ba974236fb8
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Thu Nov 17 15:37:44 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Nov 22 13:54:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9db262d4

net-im/telegram-desktop: die for safety

Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28312
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-im/telegram-desktop/telegram-desktop-4.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/telegram-desktop/telegram-desktop-4.3.1.ebuild 
b/net-im/telegram-desktop/telegram-desktop-4.3.1.ebuild
index e2a57bbb6a29..11def8e9ca3f 100644
--- a/net-im/telegram-desktop/telegram-desktop-4.3.1.ebuild
+++ b/net-im/telegram-desktop/telegram-desktop-4.3.1.ebuild
@@ -105,12 +105,12 @@ src_prepare() {
        #   build in gentoo right now.
        if use qt6-imageformats; then
                sed -e 's/DESKTOP_APP_USE_PACKAGED_LAZY/TRUE/' -i \
-                       cmake/external/kimageformats/CMakeLists.txt
+                       cmake/external/kimageformats/CMakeLists.txt || die
                printf "%s\n" \
                        'Q_IMPORT_PLUGIN(QAVIFPlugin)' \
                        'Q_IMPORT_PLUGIN(HEIFPlugin)' \
                        'Q_IMPORT_PLUGIN(QJpegXLPlugin)' \
-                       >> 
cmake/external/qt/qt_static_plugins/qt_static_plugins.cpp
+                       >> 
cmake/external/qt/qt_static_plugins/qt_static_plugins.cpp || die
        fi
 
        # kde-frameworks/kcoreaddons is bundled when using qt6, see:

Reply via email to