diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /media-libs/vidstab/vidstab-9999.ebuild | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'media-libs/vidstab/vidstab-9999.ebuild')
-rw-r--r-- | media-libs/vidstab/vidstab-9999.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/media-libs/vidstab/vidstab-9999.ebuild b/media-libs/vidstab/vidstab-9999.ebuild index 780a2a4598a4..09028637d1da 100644 --- a/media-libs/vidstab/vidstab-9999.ebuild +++ b/media-libs/vidstab/vidstab-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2018-2020 Gentoo Authors +# Copyright 2018-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,6 +21,15 @@ fi LICENSE="GPL-2+" SLOT="0" IUSE="openmp cpu_flags_x86_sse2" + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + src_prepare() { # USE=cpu_flags_x86_sse2 instead sed -E 's#include (FindSSE)##' -i CMakeLists.txt || die @@ -34,7 +43,6 @@ src_prepare() { } src_configure() { - use openmp && tc-check-openmp local mycmakeargs=( -DUSE_OMP="$(usex openmp)" -DSSE2_FOUND="$(usex cpu_flags_x86_sse2)" |