From e189ed0a3b0631c23fb7210c06c74bb9141c1545 Mon Sep 17 00:00:00 2001 From: none Date: Mon, 15 Apr 2024 18:56:53 +0200 Subject: [PATCH] add custom profile --- media-sound/coppwr/coppwr-9999.ebuild | 21 +------------------ metadata/layout.conf | 1 + profiles/default/linux/amd64/30.0/eapi | 1 + profiles/default/linux/amd64/30.0/musl/eapi | 1 + .../default/linux/amd64/30.0/musl/llvm/eapi | 1 + .../linux/amd64/30.0/musl/llvm/hardened/eapi | 1 + .../amd64/30.0/musl/llvm/hardened/parent | 2 ++ .../30.0/musl/llvm/hardened/selinux/eapi | 1 + .../30.0/musl/llvm/hardened/selinux/parent | 2 ++ .../default/linux/amd64/30.0/musl/llvm/parent | 2 ++ profiles/default/linux/amd64/30.0/musl/parent | 2 ++ profiles/default/linux/amd64/30.0/parent | 3 +++ profiles/profiles.desc | 1 + 13 files changed, 19 insertions(+), 20 deletions(-) create mode 100644 profiles/default/linux/amd64/30.0/eapi create mode 100644 profiles/default/linux/amd64/30.0/musl/eapi create mode 100644 profiles/default/linux/amd64/30.0/musl/llvm/eapi create mode 100644 profiles/default/linux/amd64/30.0/musl/llvm/hardened/eapi create mode 100644 profiles/default/linux/amd64/30.0/musl/llvm/hardened/parent create mode 100644 profiles/default/linux/amd64/30.0/musl/llvm/hardened/selinux/eapi create mode 100644 profiles/default/linux/amd64/30.0/musl/llvm/hardened/selinux/parent create mode 100644 profiles/default/linux/amd64/30.0/musl/llvm/parent create mode 100644 profiles/default/linux/amd64/30.0/musl/parent create mode 100644 profiles/default/linux/amd64/30.0/parent create mode 100644 profiles/profiles.desc diff --git a/media-sound/coppwr/coppwr-9999.ebuild b/media-sound/coppwr/coppwr-9999.ebuild index 60e2831..18af9e4 100644 --- a/media-sound/coppwr/coppwr-9999.ebuild +++ b/media-sound/coppwr/coppwr-9999.ebuild @@ -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 diff --git a/metadata/layout.conf b/metadata/layout.conf index 20fcfea..bbc147f 100644 --- a/metadata/layout.conf +++ b/metadata/layout.conf @@ -1,3 +1,4 @@ masters = gentoo +profile-formats = portage-2 thin-manifests = true sign-manifests = false diff --git a/profiles/default/linux/amd64/30.0/eapi b/profiles/default/linux/amd64/30.0/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/amd64/30.0/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/amd64/30.0/musl/eapi b/profiles/default/linux/amd64/30.0/musl/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/amd64/30.0/musl/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/amd64/30.0/musl/llvm/eapi b/profiles/default/linux/amd64/30.0/musl/llvm/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/amd64/30.0/musl/llvm/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/amd64/30.0/musl/llvm/hardened/eapi b/profiles/default/linux/amd64/30.0/musl/llvm/hardened/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/amd64/30.0/musl/llvm/hardened/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/amd64/30.0/musl/llvm/hardened/parent b/profiles/default/linux/amd64/30.0/musl/llvm/hardened/parent new file mode 100644 index 0000000..a1b71c5 --- /dev/null +++ b/profiles/default/linux/amd64/30.0/musl/llvm/hardened/parent @@ -0,0 +1,2 @@ +.. +../../../../../../../../../gentoo/profiles/features/hardened/amd64 diff --git a/profiles/default/linux/amd64/30.0/musl/llvm/hardened/selinux/eapi b/profiles/default/linux/amd64/30.0/musl/llvm/hardened/selinux/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/amd64/30.0/musl/llvm/hardened/selinux/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/amd64/30.0/musl/llvm/hardened/selinux/parent b/profiles/default/linux/amd64/30.0/musl/llvm/hardened/selinux/parent new file mode 100644 index 0000000..43a4d57 --- /dev/null +++ b/profiles/default/linux/amd64/30.0/musl/llvm/hardened/selinux/parent @@ -0,0 +1,2 @@ +.. +../../../../../../../../../../gentoo/profiles/features/selinux diff --git a/profiles/default/linux/amd64/30.0/musl/llvm/parent b/profiles/default/linux/amd64/30.0/musl/llvm/parent new file mode 100644 index 0000000..f06fa10 --- /dev/null +++ b/profiles/default/linux/amd64/30.0/musl/llvm/parent @@ -0,0 +1,2 @@ +.. +../../../../../../../../gentoo/profiles/features/llvm diff --git a/profiles/default/linux/amd64/30.0/musl/parent b/profiles/default/linux/amd64/30.0/musl/parent new file mode 100644 index 0000000..20b71b5 --- /dev/null +++ b/profiles/default/linux/amd64/30.0/musl/parent @@ -0,0 +1,2 @@ +.. +../../../../../../../gentoo/profiles/features/musl diff --git a/profiles/default/linux/amd64/30.0/parent b/profiles/default/linux/amd64/30.0/parent new file mode 100644 index 0000000..1bedf10 --- /dev/null +++ b/profiles/default/linux/amd64/30.0/parent @@ -0,0 +1,3 @@ +.. +../../../../../../gentoo/profiles/arch/amd64 +../../../../../../gentoo/profiles/releases/23.0 diff --git a/profiles/profiles.desc b/profiles/profiles.desc new file mode 100644 index 0000000..a03e3ab --- /dev/null +++ b/profiles/profiles.desc @@ -0,0 +1 @@ +amd64 default/linux/amd64/30.0/musl/llvm/hardened/selinux dev