sci-libs/spglib - 2.1.0 (stuff)

Search

Package Information

Description:
C library for finding and handling crystal symmetries.
Homepage:
https://atztogo.github.io/spglib/
License:
BSD

Ebuild Details

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

EAPI=8

inherit cmake

DESCRIPTION="C library for finding and handling crystal symmetries."
HOMEPAGE="https://atztogo.github.io/spglib/"
SRC_URI="https://github.com/spglib/spglib/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+openmp"

RESTRICT="mirror"

DEPEND="sys-devel/gcc[openmp?]"
RDEPEND=""
BDEPEND=""

src_configure() {
	local mycmakeargs=(
		-DUSE_OMP=$(usex openmp ON OFF)
	)
	cmake_src_configure
}

USE Flags

openmp
Default: Enabled (+)

Dependencies

DEPEND

sys-devel/gcc[openmp?]

Manifest for 2.1.0

Type File Size Source URLs
DIST spglib-2.1.0.tar.gz 2901649 bytes https://github.com/spglib/spglib/archive/v2.1.0.tar.gz