Diff dealii-9.4.1-r1 with a dealii-9.5.1

/usr/portage/sci-libs/dealii/dealii-9.5.1.ebuild 2023-10-09 14:52:35.068368491 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
18 18
	EGIT_REPO_URI="https://github.com/dealii/dealii.git"
19 19
	SRC_URI=""
20 20
else
21
	DOC_PV=9.5.0
21 22
	SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz
22 23
		verify-sig? ( https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz.asc )
23 24
		doc? (
24
			https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz
25
			verify-sig? ( https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz.asc )
25
			https://github.com/${PN}/${PN}/releases/download/v${DOC_PV}/${PN}-${DOC_PV}-offline_documentation.tar.gz
26
			verify-sig? ( https://github.com/${PN}/${PN}/releases/download/v${DOC_PV}/${PN}-${DOC_PV}-offline_documentation.tar.gz.asc )
26 27
			)"
27 28
	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
28 29
fi
......
33 34
	adolc arborx assimp arpack cgal cpu_flags_x86_avx cpu_flags_x86_avx512f
34 35
	cpu_flags_x86_sse2 cuda +debug doc +examples ginkgo gmsh +gsl hdf5
35 36
	+lapack metis mpi muparser opencascade p4est petsc scalapack slepc
36
	+sparse static-libs sundials symengine trilinos
37
	+sparse sundials symengine trilinos
37 38
"
38 39

  
39 40
# TODO: add slepc use flag once slepc is packaged for gentoo-science
......
51 52
	adolc? ( sci-libs/adolc )
52 53
	arpack? ( sci-libs/arpack[mpi=] )
53 54
	assimp? ( media-libs/assimp:= )
55
	cgal? ( sci-mathematics/cgal )
54 56
	cuda? ( dev-util/nvidia-cuda-toolkit )
55 57
	ginkgo? ( sci-libs/ginkgo )
56 58
	gmsh? ( sci-libs/gmsh )
......
71 73
	sparse? ( sci-libs/umfpack )
72 74
	sundials? ( sci-libs/sundials:= )
73 75
	symengine? ( >=sci-libs/symengine-0.4:= )
74
	trilinos? ( sci-libs/trilinos )"
76
	trilinos? ( sci-libs/trilinos )
77
	|| (
78
		dev-cpp/kokkos
79
		sci-libs/trilinos
80
	)
81
	"
75 82

  
76 83
DEPEND="${RDEPEND}
77 84
	virtual/pkgconfig
......
81 88
	verify-sig? ( sec-keys/openpgp-keys-dealii )"
82 89

  
83 90
PATCHES=(
84
	"${FILESDIR}"/${PN}-9.1.1-no-ld-flags.patch
85 91
)
86 92

  
87 93
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/dealii.asc"
......
116 122
		-DDEAL_II_WITH_GMSH="$(usex gmsh)"
117 123
		-DDEAL_II_WITH_GSL="$(usex gsl)"
118 124
		-DDEAL_II_WITH_HDF5="$(usex hdf5)"
119
		-DDEAL_II_WITH_KOKKOS="$(usex trilinos)"
120 125
		-DDEAL_II_WITH_LAPACK="$(usex lapack)"
121 126
		-DDEAL_II_WITH_METIS="$(usex metis)"
122 127
		-DDEAL_II_WITH_MPI="$(usex mpi)"
......
129 134
		-DDEAL_II_WITH_SUNDIALS="$(usex sundials)"
130 135
		-DDEAL_II_WITH_SYMENGINE="$(usex symengine)"
131 136
		-DDEAL_II_WITH_UMFPACK="$(usex sparse)"
132
		-DBUILD_SHARED_LIBS="$(usex !static-libs)"
133
		-DDEAL_II_PREFER_STATIC_LIBS="$(usex static-libs)"
134 137
		-DDEAL_II_WITH_TBB=ON
135
		-DDEAL_II_WITH_TASKFLOW=OFF
136 138
		-DDEAL_II_WITH_TRILINOS="$(usex trilinos)"
137 139
	)
138 140

  
......
154 156
		append-cxxflags "-msse2"
155 157
	fi
156 158

  
157
	# Unconditionally enable strict C++17 standard. This is necessary for
158
	# USE=cgal and USE=kokkos and safe to set for all presently supported
159
	# compilers
160
	append-cxxflags "-std=c++17"
161

  
162 159
	cmake_src_configure
163 160
}
164 161

  
Thank you!