From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- media-libs/libopenshot/libopenshot-0.2.6.ebuild | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'media-libs/libopenshot/libopenshot-0.2.6.ebuild') diff --git a/media-libs/libopenshot/libopenshot-0.2.6.ebuild b/media-libs/libopenshot/libopenshot-0.2.6.ebuild index af6f8eedbf89..87a124ff09ae 100644 --- a/media-libs/libopenshot/libopenshot-0.2.6.ebuild +++ b/media-libs/libopenshot/libopenshot-0.2.6.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit cmake python-single-r1 toolchain-funcs @@ -38,21 +38,12 @@ BDEPEND="doc? ( app-doc/doxygen ) dev-libs/unittest++ )" -check_compiler() { - if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then - eerror "${P} requires a compiler with OpenMP support. Your current" - eerror "compiler does not support it. If you use gcc, you can" - eerror "re-emerge it with the 'openmp' use flag enabled." - die "The current compiler does not support OpenMP" - fi -} - pkg_pretend() { - check_compiler + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp } pkg_setup() { - check_compiler + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp use python && python-single-r1_pkg_setup } -- cgit v1.2.3