commit:     73c97435f4ac7e0c56747fc083a5f4e3825fd85b
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Fri May  9 10:52:25 2025 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Fri May  9 10:52:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c97435

sci-visualization/gle: correction to the 4.3.6 ebuild

Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 sci-visualization/gle/gle-4.3.6.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/gle/gle-4.3.6.ebuild 
b/sci-visualization/gle/gle-4.3.6.ebuild
index 3b482c359712..bcc61f54ce33 100644
--- a/sci-visualization/gle/gle-4.3.6.ebuild
+++ b/sci-visualization/gle/gle-4.3.6.ebuild
@@ -74,8 +74,10 @@ src_install() {
        cmake_src_install
        mv "${D}"/usr/bin/gle "${D}"/usr/bin/gle.bin
        newbin "${FILESDIR}"/gle.sh gle
-       mv "${D}"/usr/bin/qgle "${D}"/usr/bin/qgle.bin
-       newbin "${FILESDIR}"/qgle.sh qgle
+       if use gui; then
+               mv "${D}"/usr/bin/qgle "${D}"/usr/bin/qgle.bin
+               newbin "${FILESDIR}"/qgle.sh qgle
+       fi
        GLE_TOP="${D}"/usr/share/${PN} "${D}"/usr/bin/gle.bin -mkinittex
        if use doc; then
                pushd "$WORKDIR"/gle-manual-${PV} > /dev/null || die "pushd 
gle_manual failed"

Reply via email to