commit:     c60f80bd2e8a28425befc1ac40e144d28c6dbd5c
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 19 23:50:26 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Jun 19 23:51:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60f80bd

net-wireless/gnuradio: sync with stable

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/gnuradio/gnuradio-9999.ebuild | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/net-wireless/gnuradio/gnuradio-9999.ebuild 
b/net-wireless/gnuradio/gnuradio-9999.ebuild
index e2d7a49adce3..00587e995385 100644
--- a/net-wireless/gnuradio/gnuradio-9999.ebuild
+++ b/net-wireless/gnuradio/gnuradio-9999.ebuild
@@ -206,14 +206,16 @@ src_install() {
        rm -f "${ED}"/usr/libexec/${PN}/grc_setup_freedesktop || die
 
        # Install icons, menu items and mime-types for GRC
-       #if use grc ; then
-       #       local fd_path="${S}/grc/scripts/freedesktop"
-       #       insinto /usr/share/mime/packages
-       #       doins "${fd_path}/${PN}-grc.xml"
-
-       #       domenu "${fd_path}/"*.desktop
-       #       doicon "${fd_path}/"*.png
-       #fi
+       if use grc ; then
+               local fd_path="${S}/grc/scripts/freedesktop"
+               insinto /usr/share/mime/packages
+               doins "${fd_path}/${PN}-grc.xml"
+
+               domenu "${fd_path}/${PN}-grc.desktop"
+               for size in 16 24 32 48 64 128 256; do
+                       newicon -s $size "${fd_path}/"grc-icon-$size.png 
${PN}-grc.png
+               done
+       fi
 
        python_fix_shebang "${ED}"
        # Remove incorrectly byte-compiled Python files and replace

Reply via email to