add coppwr ebuild, that actually works!

This commit is contained in:
none
2024-04-14 15:29:05 +02:00
parent 20a6d99334
commit 7a07c96cf8
19 changed files with 245 additions and 136 deletions
+1
View File
@@ -0,0 +1 @@
DIST ParaView-v5.11.1.tar.xz 79847556 BLAKE2B efef5e519a82ef1c0a7d532578778f6a95f07ebd72ebefd0cbdcff0bfc3af1773601cd102ff81f45f302fcaa4bb6ec7ee68f7dec77f5d4e137c2842fbbb54e11 SHA512 d0e666b49f49e41dba23e23d454a9462f018bd6d832628b0029e8d54760f0439ca97841a26da3126c5144780fc01dc25234a6624fb35346a98d35cbe0e0c98ca
@@ -105,6 +105,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
"${FILESDIR}"/${P}-missing-include.patch
)
# false positive when checking for available HDF5 interface, bug #904731
@@ -113,12 +114,12 @@ QA_CONFIG_IMPL_DECL_SKIP=(
H5Pset_all_coll_metadata_ops
)
#pkg_pretend() {
# [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
#}
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
pkg_setup() {
# [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
use python && python-single-r1_pkg_setup
PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
}
@@ -186,8 +187,6 @@ src_configure() {
# qt5
-DPARAVIEW_USE_QT="$(usex qt5)"
-DPARAVIEW_QT_VERSION="5"
-DVTK_QT_VERSION="5"
-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"