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

View File

@ -29,6 +29,7 @@ SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
IUSE="+persistence xdg_desktop_portal" IUSE="+persistence xdg_desktop_portal"
# 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"
@ -56,32 +57,12 @@ src_configure() {
$(usev xdg_desktop_portal) $(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 cargo_src_configure --no-default-features
} }
src_install() { src_install() {
cargo_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 sed -i 's/Icon=io\.github\.dimtpap\.coppwr/Icon=coppwr/' assets/io.github.dimtpap.coppwr.desktop
domenu assets/io.github.dimtpap.coppwr.desktop domenu assets/io.github.dimtpap.coppwr.desktop

View File

@ -1,3 +1,4 @@
masters = gentoo masters = gentoo
profile-formats = portage-2
thin-manifests = true thin-manifests = true
sign-manifests = false sign-manifests = false

View File

@ -0,0 +1 @@
5

View File

@ -0,0 +1 @@
5

View File

@ -0,0 +1 @@
5

View File

@ -0,0 +1 @@
5

View File

@ -0,0 +1,2 @@
..
../../../../../../../../../gentoo/profiles/features/hardened/amd64

View File

@ -0,0 +1,2 @@
..
../../../../../../../../../../gentoo/profiles/features/selinux

View File

@ -0,0 +1,2 @@
..
../../../../../../../../gentoo/profiles/features/llvm

View File

@ -0,0 +1,2 @@
..
../../../../../../../gentoo/profiles/features/musl

View File

@ -0,0 +1,3 @@
..
../../../../../../gentoo/profiles/arch/amd64
../../../../../../gentoo/profiles/releases/23.0

1
profiles/profiles.desc Normal file
View File

@ -0,0 +1 @@
amd64 default/linux/amd64/30.0/musl/llvm/hardened/selinux dev