public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rui Huang" <vowstar@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-apps/mission-center/
Date: Thu, 12 Oct 2023 03:41:33 +0000 (UTC)	[thread overview]
Message-ID: <1697029043.bb81c03aea01f4996151f4642659055991b0dccd.vowstar@gentoo> (raw)

commit:     bb81c03aea01f4996151f4642659055991b0dccd
Author:     brettalcox <brettalcox <AT> gmail <DOT> com>
AuthorDate: Wed Oct 11 12:57:23 2023 +0000
Commit:     Rui Huang <vowstar <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}"


             reply	other threads:[~2023-10-12  3:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-12  3:41 Rui Huang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-10 23:59 [gentoo-commits] repo/proj/guru:master commit in: sys-apps/mission-center/ David Roman
2024-09-08 16:32 David Roman
2024-09-08 16:32 David Roman
2024-09-08 16:32 David Roman
2024-05-12  9:38 Viorel Munteanu
2024-02-11 17:50 David Roman
2023-12-11  6:50 Viorel Munteanu
2023-12-11  6:50 Viorel Munteanu
2023-10-19  7:17 Viorel Munteanu
2023-10-19  7:17 Viorel Munteanu
2023-10-19  7:17 Viorel Munteanu
2023-10-17  4:15 Viorel Munteanu
2023-10-15 22:23 Haelwenn Monnier
2023-10-11  7:51 Rui Huang
2023-10-05 15:21 David Roman
2023-10-05  6:18 Viorel Munteanu

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.vowstar@gentoo \
    --to=vowstar@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