diff options
Diffstat (limited to 'net-wireless/gnuradio/gnuradio-9999.ebuild')
-rw-r--r-- | net-wireless/gnuradio/gnuradio-9999.ebuild | 18 |
1 files 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 |