input-leap: remove extra icons

This commit is contained in:
projectmoon 2024-08-11 23:16:59 +02:00
parent 5d58f3fa12
commit ab8ae28271
1 changed files with 11 additions and 2 deletions

View File

@ -49,6 +49,15 @@ DOCS=(
doc/${PN}.conf.example{,-advanced,-basic}
)
MYWORK="${WORKDIR}/input-leap-9999/"
src_prepare() {
mv "${MYWORK}/res/io.github.input_leap.InputLeap.svg" "${MYWORK}/res/input-leap.svg"
rm "${MYWORK}/res/io.github.input_leap.InputLeap.desktop"
default
}
src_configure() {
# gentoo is on qt5; but upstream defaults to 6.
local mycmakeargs=(
@ -76,8 +85,8 @@ src_install() {
doman doc/${PN}{c,s}.1
if use gui; then
doicon -s scalable res/io.github.input_leap.InputLeap.svg
doicon -s scalable res/${PN}.svg
doicon -s 256 res/${PN}.png
make_desktop_entry ${PN} Barrier ${PN} Utility
make_desktop_entry ${PN} "Input Leap" ${PN} Utility
fi
}