Compare commits

...

2 Commits

2 changed files with 17 additions and 3 deletions

View File

@ -11,7 +11,7 @@ EGIT_REPO_URI="https://github.com/input-leap/input-leap.git"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
IUSE="+libei gui test" IUSE="libei gui test"
RESTRICT="!test? ( test )" RESTRICT="!test? ( test )"
RDEPEND=" RDEPEND="
@ -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
} }

View File

@ -5,6 +5,11 @@
<email>zdanevich.vitaly@ya.ru</email> <email>zdanevich.vitaly@ya.ru</email>
<name>Vitaly Zdanevich</name> <name>Vitaly Zdanevich</name>
</maintainer> </maintainer>
<use>
<flag name="libei">
Enable integration with dev-libs/libei (requires patched libportal!)
</flag>
</use>
<upstream> <upstream>
<remote-id type="github">input-leap/input-leap</remote-id> <remote-id type="github">input-leap/input-leap</remote-id>
</upstream> </upstream>