add custom profile

This commit is contained in:
none
2024-04-15 18:56:53 +02:00
parent 7a07c96cf8
commit e189ed0a3b
13 changed files with 19 additions and 20 deletions
+1 -20
View File
@@ -29,6 +29,7 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="+persistence xdg_desktop_portal"
# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings
# QA_FLAGS_IGNORED="usr/bin/btm"
@@ -56,32 +57,12 @@ src_configure() {
$(usev xdg_desktop_portal)
)
# https://github.com/ClementTsang/bottom/blob/bacaca5548c2b23d261ef961ee6584b609529567/Cargo.toml#L63
# fern and log features are for debugging only, so disable default features
# cargo_src_configure $(usev !debug --no-default-features)
cargo_src_configure --no-default-features
}
src_install() {
cargo_src_install
# Find generated shell completion files. btm.bash can be present in multiple dirs if we build
# additional features, so grab the first match only.
# local BUILD_DIR="$(dirname $(find target -name btm.bash -print -quit || die) || die)"
# newbashcomp "${BUILD_DIR}"/btm.bash btm
# insinto /usr/share/fish/vendor_completions.d
# doins "${BUILD_DIR}"/btm.fish
# insinto /usr/share/zsh/site-functions
# doins "${BUILD_DIR}"/_btm
# doins assets/io.github.dimtpap.coppwr.desktop
# doins -r assets/icon
sed -i 's/Icon=io\.github\.dimtpap\.coppwr/Icon=coppwr/' assets/io.github.dimtpap.coppwr.desktop
domenu assets/io.github.dimtpap.coppwr.desktop