From 31e21551da418ddc7a177c7c869070e9acca817c Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Fri, 3 Jan 2020 21:01:46 +0100 Subject: */*: Switch candrews' packages to cmake.eclass Signed-off-by: Andreas Sturmlechner --- media-libs/vidstab/vidstab-9999.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'media-libs/vidstab/vidstab-9999.ebuild') 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 } -- cgit v1.2.3-65-gdbad