From: "Brett Alcox" <brettalcox@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/mission-center/
Date: Wed, 11 Oct 2023 12:57:34 +0000 (UTC) [thread overview]
Message-ID: <1697029043.bb81c03aea01f4996151f4642659055991b0dccd.brettalcox@gentoo> (raw)
commit: bb81c03aea01f4996151f4642659055991b0dccd
Author: brettalcox <brettalcox <AT> gmail <DOT> com>
AuthorDate: Wed Oct 11 12:57:23 2023 +0000
Commit: Brett Alcox <brettalcox <AT> gmail <DOT> com>
CommitDate: Wed Oct 11 12:57:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bb81c03a
sys-apps/mission-center: cleaning up ebuild
Signed-off-by: brettalcox <brettalcox <AT> gmail.com>
.../mission-center/mission-center-0.3.2.ebuild | 24 ++++++----------------
1 file changed, 6 insertions(+), 18 deletions(-)
diff --git a/sys-apps/mission-center/mission-center-0.3.2.ebuild b/sys-apps/mission-center/mission-center-0.3.2.ebuild
index ddddd1ce40..ea6802fe04 100644
--- a/sys-apps/mission-center/mission-center-0.3.2.ebuild
+++ b/sys-apps/mission-center/mission-center-0.3.2.ebuild
@@ -275,7 +275,7 @@ declare -A GIT_CRATES=(
[pathfinder_resources]="https://github.com/servo/pathfinder;${PATHFINDER_COMMIT};pathfinder-${PATHFINDER_COMMIT}/resources/"
)
-inherit cargo gnome2-utils meson python-any-r1
+inherit cargo meson python-any-r1 xdg
DESCRIPTION="Monitor your CPU, Memory, Disk, Network and GPU usage."
HOMEPAGE="https://missioncenter.io/"
@@ -318,14 +318,14 @@ BDEPEND="
src_unpack() {
unpack ${P}.tar.bz2
unpack nvtop-${NVTOP_COMMIT}.tar.gz
- mv nvtop-${NVTOP_COMMIT} "${S}/subprojects"
+ mv nvtop-${NVTOP_COMMIT} "${S}/subprojects" || die
cargo_src_unpack
}
src_prepare() {
eapply_user
- cd "${S}/subprojects/nvtop-${NVTOP_COMMIT}"
- find ../packagefiles -type f -name 'nvtop-*' -exec sh -c 'patch -p1 < {}' \;
+ cd "${S}/subprojects/nvtop-${NVTOP_COMMIT}" || die
+ find ../packagefiles -type f -name 'nvtop-*' -exec sh -c 'patch -p1 < {}' \; || die
}
src_configure() {
@@ -334,27 +334,15 @@ src_configure() {
--prefix=/usr
)
meson_src_configure
- cp -r "${ECARGO_HOME}" "${BUILD_DIR}/src/sys_info_v2/gatherer/cargo-home"
+ cp -r "${ECARGO_HOME}" "${BUILD_DIR}/src/sys_info_v2/gatherer/cargo-home" || die
}
src_test() {
# patch the appstream-util validate command to use --nonet when validating the urls
- sed -i "s/args: \['validate',/args: \['validate', '--nonet',/g" "${S}/data/meson.build"
+ sed -i "s/args: \['validate',/args: \['validate', '--nonet',/g" "${S}"/data/meson.build || die
meson_src_test
}
-pkg_postinst() {
- gnome2_schemas_update
- xdg_icon_cache_update
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- gnome2_schemas_update
- xdg_icon_cache_update
- xdg_desktop_database_update
-}
-
# rust does not use *FLAGS from make.conf, silence portage warning
# update with proper path to binaries this crate installs, omit leading /
QA_FLAGS_IGNORED="usr/bin/${PN}"
next reply other threads:[~2023-10-11 12:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-11 12:57 Brett Alcox [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-03 15:48 [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/mission-center/ Brett Alcox
2024-09-10 16:10 Takuya Wakazono
2024-09-08 14:29 Takuya Wakazono
2024-09-08 14:29 Takuya Wakazono
2024-09-07 21:42 Blake Batson
2024-05-11 0:46 Brett Alcox
2024-02-11 14:15 Brett Alcox
2023-12-09 16:10 Brett Alcox
2023-12-08 15:15 Brett Alcox
2023-10-18 15:50 Brett Alcox
2023-10-18 13:22 Brett Alcox
2023-10-17 22:56 Brett Alcox
2023-10-17 2:43 Brett Alcox
2023-10-14 15:02 Brett Alcox
2023-10-11 2:14 Brett Alcox
2023-10-05 15:15 Brett Alcox
2023-10-04 17:05 Brett Alcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1697029043.bb81c03aea01f4996151f4642659055991b0dccd.brettalcox@gentoo \
--to=brettalcox@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox