input-leap: remove extra icons
This commit is contained in:
parent
5d58f3fa12
commit
ab8ae28271
|
@ -49,6 +49,15 @@ DOCS=(
|
||||||
doc/${PN}.conf.example{,-advanced,-basic}
|
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() {
|
src_configure() {
|
||||||
# gentoo is on qt5; but upstream defaults to 6.
|
# gentoo is on qt5; but upstream defaults to 6.
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
|
@ -76,8 +85,8 @@ src_install() {
|
||||||
doman doc/${PN}{c,s}.1
|
doman doc/${PN}{c,s}.1
|
||||||
|
|
||||||
if use gui; then
|
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
|
doicon -s 256 res/${PN}.png
|
||||||
make_desktop_entry ${PN} Barrier ${PN} Utility
|
make_desktop_entry ${PN} "Input Leap" ${PN} Utility
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue