gentoo/dev-libs/vc/vc-1.4.4.ebuild
Eli Schwartz 4382f5eed8
dev-libs/vc: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO.

Closes: https://bugs.gentoo.org/958415
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2025-08-05 15:53:34 -04:00

26 lines
532 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake dot-a
DESCRIPTION="SIMD Vector Class Library for C++"
HOMEPAGE="https://github.com/VcDevel/Vc"
SRC_URI="https://github.com/VcDevel/Vc/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/Vc-${PV}
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux ~x64-macos"
src_configure() {
lto-guarantee-fat
cmake_src_configure
}
src_install() {
cmake_src_install
strip-lto-bytecode
}