sci-electronics/logic-bin: minor corrections

Fix blank lines, whitespaces & remove unused class

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2025-06-23 12:40:34 +02:00
parent 9f3f74a8ac
commit 326fa3b1dc

View File

@@ -9,7 +9,7 @@ CHROMIUM_LANGS="
sw ta te th tr uk ur vi zh-CN zh-TW sw ta te th tr uk ur vi zh-CN zh-TW
" "
inherit chromium-2 desktop xdg edo inherit chromium-2 desktop xdg
APPIMAGE="Logic-${PV}-linux-x64.AppImage" APPIMAGE="Logic-${PV}-linux-x64.AppImage"
DESCRIPTION="Saleae logic analyzer" DESCRIPTION="Saleae logic analyzer"
@@ -74,7 +74,6 @@ src_prepare() {
find "${S}" -type d -exec chmod a+rx {} + || die find "${S}" -type d -exec chmod a+rx {} + || die
find "${S}" -type f -exec chmod a+r {} + || die find "${S}" -type f -exec chmod a+r {} + || die
cd squashfs-root || die cd squashfs-root || die
for f in *.so; do for f in *.so; do
@@ -107,14 +106,13 @@ src_install() {
doins -r ./usr/share/icons doins -r ./usr/share/icons
local -a toremove=( local -a toremove=(
.DirIcon .DirIcon
AppRun AppRun
Logic.png Logic.png
usr/lib/libnotify.so.4 usr/lib/libnotify.so.4
usr/lib/libXss.so.1 usr/lib/libXss.so.1
usr/lib/libXtst.so.6 usr/lib/libXtst.so.6
)
)
rm -r "${toremove[@]}" || die rm -r "${toremove[@]}" || die
insinto /opt/Logic insinto /opt/Logic
@@ -125,7 +123,6 @@ src_install() {
fperms +x "/opt/Logic/${i}" fperms +x "/opt/Logic/${i}"
done done
dosym -r "/opt/Logic/Logic" /usr/bin/Logic dosym -r "/opt/Logic/Logic" /usr/bin/Logic
domenu Logic.desktop domenu Logic.desktop
} }