summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2023-06-19 19:50:26 -0400
committerRick Farina <zerochaos@gentoo.org>2023-06-19 19:51:59 -0400
commitc60f80bd2e8a28425befc1ac40e144d28c6dbd5c (patch)
treebd5c1be8269ea59ac80e88bb349e956b724f9872 /net-wireless
parentnet-wireless/gnuradio: drop 3.10.6.0 (diff)
downloadgentoo-c60f80bd2e8a28425befc1ac40e144d28c6dbd5c.tar.gz
gentoo-c60f80bd2e8a28425befc1ac40e144d28c6dbd5c.tar.bz2
gentoo-c60f80bd2e8a28425befc1ac40e144d28c6dbd5c.zip
net-wireless/gnuradio: sync with stable
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/gnuradio/gnuradio-9999.ebuild18
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