mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
sys-apps/mission-center: fixing broken debug build
Signed-off-by: brettalcox <brettalcox@gmail.com>
This commit is contained in:
@@ -364,14 +364,17 @@ BDEPEND="
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.bz2
|
||||
unpack nvtop-${NVTOP_COMMIT}.tar.gz
|
||||
mkdir -p "${BUILD_DIR}/src/sys_info_v2/gatherer/src/release/build/native" || die
|
||||
mv nvtop-${NVTOP_COMMIT} "${BUILD_DIR}/src/sys_info_v2/gatherer/src/release/build/native" || die
|
||||
|
||||
GATHERER_BUILD_DIR=$(usex debug debug release)
|
||||
mkdir -p "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native" || die
|
||||
mv nvtop-${NVTOP_COMMIT} "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native" || die
|
||||
cargo_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
cd "${BUILD_DIR}/src/sys_info_v2/gatherer/src/release/build/native/nvtop-${NVTOP_COMMIT}" || die
|
||||
GATHERER_BUILD_DIR=$(usex debug debug release)
|
||||
cd "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native/nvtop-${NVTOP_COMMIT}" || die
|
||||
find "${S}/src/sys_info_v2/gatherer/3rdparty/nvtop/patches" -type f -name 'nvtop-*' -exec sh -c 'patch -p1 < {}' \; || die
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user