commit:     65dd7962592039947d13d0549fc5906150681f83
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 22 22:11:43 2020 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Jan 22 22:11:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65dd7962

sci-astronomy/celestia: Fix Exec in .desktop, provide bigger icons too

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sci-astronomy/celestia/celestia-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-astronomy/celestia/celestia-9999.ebuild 
b/sci-astronomy/celestia/celestia-9999.ebuild
index 781e1cb43a9..fda29bea854 100644
--- a/sci-astronomy/celestia/celestia-9999.ebuild
+++ b/sci-astronomy/celestia/celestia-9999.ebuild
@@ -88,12 +88,14 @@ src_install() {
        for size in 16 22 32 48 ; do
                newicon -s ${size} 
"${S}"/src/celestia/kde/data/hi${size}-app-${PN}.png ${PN}.png
        done
+       newicon -s 128 "${S}"/src/celestia/gtk/data/${PN}-logo.png ${PN}.png
+       doicon -s scalable "${S}"/src/celestia/gtk/data/${PN}.svg
 
        use glut && domenu ${PN}.desktop
        if use qt5 ; then
                sed \
                        -e "/^Name/s@\$@ (qt5 interface)@" \
-                       -e "/^Exec/s@${PN}@${PN}-${ui/qt5/qt}@" \
+                       -e "/^Exec/s@${PN}@${PN}-qt@" \
                        ${PN}.desktop > "${T}"/${PN}-qt5.desktop || die
                domenu "${T}"/${PN}-qt5.desktop
        fi

Reply via email to