media-gfx/hugin: require openmp support

Upstream says building without makes no sense.

Closes: https://bugs.gentoo.org/926788
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel
2025-10-02 20:07:45 +02:00
parent da5cb76c05
commit 1ed6d665b0
2 changed files with 12 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ EAPI=8
WX_GTK_VER="3.2-gtk3"
PYTHON_COMPAT=( python3_{10..13} python3_13t )
inherit python-single-r1 wxwidgets cmake xdg
inherit python-single-r1 wxwidgets cmake xdg toolchain-funcs
DESCRIPTION="GUI for the creation & processing of panoramic images"
HOMEPAGE="http://hugin.sf.net"
@@ -54,8 +54,13 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DOCS=( authors.txt README TODO )
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
pkg_setup() {
use python && python-single-r1_pkg_setup
[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
src_prepare() {

View File

@@ -6,7 +6,7 @@ EAPI=8
WX_GTK_VER="3.2-gtk3"
PYTHON_COMPAT=( python3_{10..13} )
inherit mercurial python-single-r1 wxwidgets cmake xdg
inherit mercurial python-single-r1 wxwidgets cmake xdg toolchain-funcs
DESCRIPTION="GUI for the creation & processing of panoramic images"
HOMEPAGE="http://hugin.sf.net"
@@ -58,8 +58,13 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DOCS=( authors.txt README TODO )
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
pkg_setup() {
use python && python-single-r1_pkg_setup
[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
src_prepare() {