sci-electronics/openems - 0.0.36 (vowstar)

Search

Install

Install this version:

emerge -a =sci-electronics/openems-0.0.36

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-electronics/openems-0.0.36

Or alternatively:

emerge --autounmask-write -a =sci-electronics/openems-0.0.36

Package Information

Description:
Free and open electromagnetic field solver using the FDTD method
Homepage:
https://openems.de https://github.com/thliebig/openEMS
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.0.36 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

MY_PN="openEMS"

DESCRIPTION="Free and open electromagnetic field solver using the FDTD method"
HOMEPAGE="https://openems.de https://github.com/thliebig/openEMS"
SRC_URI="https://github.com/thliebig/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="mpi"

RDEPEND="
	dev-libs/boost:=
	dev-libs/tinyxml
	sci-libs/csxcad
	sci-libs/fparser
	sci-libs/hdf5:=[mpi=]
	sci-libs/vtk:=
	mpi? ( virtual/mpi )
"
DEPEND="${RDEPEND}"

PATCHES=( "${FILESDIR}/${P}-hdf5-version-check.patch" )

src_prepare() {
	# Boost >=1.69 made the system library header-only; drop it from the
	# component list so find_package(Boost) succeeds on modern Boost.
	sed -i -e '/^[[:space:]]*system$/d' CMakeLists.txt || die
	cmake_src_prepare
}

src_configure() {
	local mycmakeargs=(
		-DBoost_NO_BOOST_CMAKE=ON
		-DWITH_MPI=$(usex mpi)
	)
	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-electronics/openems | euse -E <flag> -p sci-electronics/openems | euse -D <flag> -p sci-electronics/openems

Global/Standard Flags

mpi

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/boost:=
	dev-libs/tinyxml
	sci-libs/csxcad
	sci-libs/fparser
	sci-libs/hdf5:=[mpi=]
	sci-libs/vtk:=
	mpi? ( virtual/mpi )

RDEPEND

	dev-libs/boost:=
	dev-libs/tinyxml
	sci-libs/csxcad
	sci-libs/fparser
	sci-libs/hdf5:=[mpi=]
	sci-libs/vtk:=
	mpi? ( virtual/mpi )

Manifest for 0.0.36

Type File Size Source URLs
DIST openems-0.0.36.tar.gz 1728767 bytes https://github.com/thliebig/openEMS/archive/v0.0.36.tar.gz