diff options
author | brettalcox <brettalcox@gmail.com> | 2023-10-11 07:57:23 -0500 |
---|---|---|
committer | brettalcox <brettalcox@gmail.com> | 2023-10-11 07:57:23 -0500 |
commit | bb81c03aea01f4996151f4642659055991b0dccd (patch) | |
tree | 08258dee75bb039132b7c1af531f54bb3c77ac30 /sys-apps | |
parent | app-editors/imhex: add patches (diff) | |
download | guru-bb81c03aea01f4996151f4642659055991b0dccd.tar.gz guru-bb81c03aea01f4996151f4642659055991b0dccd.tar.bz2 guru-bb81c03aea01f4996151f4642659055991b0dccd.zip |
sys-apps/mission-center: cleaning up ebuild
Signed-off-by: brettalcox <brettalcox@gmail.com>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/mission-center/mission-center-0.3.2.ebuild | 24 |
1 files 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 ddddd1ce4..ea6802fe0 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}" |