finish rglauncher ebuild

This commit is contained in:
none 2024-04-20 06:58:45 +02:00
parent f9857e82a7
commit 77b6f2f012

View File

@ -6,9 +6,9 @@ EAPI=8
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"
@ -29,6 +29,10 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="+mdict clip calc hyprwin"
BDEPEND="
net-libs/webkit-gtk:6
"
# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings
# QA_FLAGS_IGNORED="usr/bin/btm"
@ -52,17 +56,18 @@ src_prepare() {
src_configure() {
myfeatures=(
rglcore
$(usev mdict)
$(usev clip)
$(usev calc)
$(usev hyprwin)
)
cargo_src_configure --no-default-features
cargo_src_configure --no-default-features --bin rglauncher
}
src_install() {
cargo_src_install
cargo_src_install --path ./crates/rglauncher-gtk
# TODO: look out for this in the future
# sed -i 's/Icon=io\.github\.dimtpap\.coppwr/Icon=coppwr/' assets/io.github.dimtpap.coppwr.desktop