diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-03 21:01:46 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-04 10:37:24 +0100 |
commit | 31e21551da418ddc7a177c7c869070e9acca817c (patch) | |
tree | 0ad1bfcfc7068989bcb92c3f4499f5a84cfd8c95 /media-libs/vidstab/vidstab-9999.ebuild | |
parent | */*: Switch games proj to cmake.eclass (diff) | |
download | gentoo-31e21551da418ddc7a177c7c869070e9acca817c.tar.gz gentoo-31e21551da418ddc7a177c7c869070e9acca817c.tar.bz2 gentoo-31e21551da418ddc7a177c7c869070e9acca817c.zip |
*/*: Switch candrews' packages to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/vidstab/vidstab-9999.ebuild')
-rw-r--r-- | media-libs/vidstab/vidstab-9999.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/media-libs/vidstab/vidstab-9999.ebuild b/media-libs/vidstab/vidstab-9999.ebuild index f4bd05f45203..333dd3d6be2f 100644 --- a/media-libs/vidstab/vidstab-9999.ebuild +++ b/media-libs/vidstab/vidstab-9999.ebuild @@ -3,8 +3,7 @@ EAPI=7 -: ${CMAKE_MAKEFILE_GENERATOR:=ninja} - +CMAKE_ECLASS=cmake inherit cmake-multilib toolchain-funcs DESCRIPTION="Video stabilization library" @@ -31,7 +30,7 @@ src_prepare() { sed -E 's#(add_definitions.* )-g #\1#' -i ${FILE_TO_PATCH} || die sed -E 's#(add_definitions.* )-O3 #\1#' -i ${FILE_TO_PATCH} || die done - cmake-utils_src_prepare + cmake_src_prepare } src_configure() { @@ -50,7 +49,7 @@ multilib_src_test() { ) local CMAKE_USE_DIR="${CMAKE_USE_DIR}/tests" local BUILD_DIR="${BUILD_DIR}/tests" - cmake-utils_src_configure - cmake-utils_src_make + cmake_src_configure + cmake_build "${BUILD_DIR}"/tests || die } |