finish rglauncher ebuild
This commit is contained in:
parent
f9857e82a7
commit
77b6f2f012
@ -6,9 +6,9 @@ EAPI=8
|
|||||||
CRATES="
|
CRATES="
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit cargo xdg desktop
|
inherit cargo xdg
|
||||||
|
|
||||||
DESCRIPTION="Application launcher"
|
DESCRIPTION="A tool to help people launch somethings."
|
||||||
HOMEPAGE="https://github.com/aeghn/rglauncher"
|
HOMEPAGE="https://github.com/aeghn/rglauncher"
|
||||||
|
|
||||||
|
|
||||||
@ -29,6 +29,10 @@ SLOT="0"
|
|||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="+mdict clip calc hyprwin"
|
IUSE="+mdict clip calc hyprwin"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
net-libs/webkit-gtk:6
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings
|
# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings
|
||||||
# QA_FLAGS_IGNORED="usr/bin/btm"
|
# QA_FLAGS_IGNORED="usr/bin/btm"
|
||||||
@ -52,17 +56,18 @@ src_prepare() {
|
|||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
myfeatures=(
|
myfeatures=(
|
||||||
|
rglcore
|
||||||
$(usev mdict)
|
$(usev mdict)
|
||||||
$(usev clip)
|
$(usev clip)
|
||||||
$(usev calc)
|
$(usev calc)
|
||||||
$(usev hyprwin)
|
$(usev hyprwin)
|
||||||
)
|
)
|
||||||
|
|
||||||
cargo_src_configure --no-default-features
|
cargo_src_configure --no-default-features --bin rglauncher
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
cargo_src_install
|
cargo_src_install --path ./crates/rglauncher-gtk
|
||||||
|
|
||||||
# TODO: look out for this in the future
|
# TODO: look out for this in the future
|
||||||
# sed -i 's/Icon=io\.github\.dimtpap\.coppwr/Icon=coppwr/' assets/io.github.dimtpap.coppwr.desktop
|
# sed -i 's/Icon=io\.github\.dimtpap\.coppwr/Icon=coppwr/' assets/io.github.dimtpap.coppwr.desktop
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user