dev-libs/libical: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/492
Merges: https://codeberg.org/gentoo/gentoo/pulls/492
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2026-04-02 15:47:52 +02:00
committed by Sam James
parent d5f0fa0295
commit bf2d5d76fb

View File

@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
VALA_USE_DEPEND="vapigen"
inherit cmake python-any-r1 toolchain-funcs vala
inherit cmake dot-a python-any-r1 toolchain-funcs vala
DESCRIPTION="Implementation of basic iCAL protocols"
HOMEPAGE="https://github.com/libical/libical"
@@ -102,6 +102,8 @@ src_configure() {
touch "${GENERATOR_BIN_DIR}"/ical-glib-src-generator || die
fi
use static-libs && lto-guarantee-fat
# fix gtk-doc, see https://bugs.gentoo.org/777090
# to check w/ 4.0 and migration to gi-docgen
export LD="$(tc-getCC)"
@@ -163,4 +165,6 @@ src_install() {
rm examples/CMakeLists.txt || die
dodoc -r examples
fi
use static-libs && strip-lto-bytecode
}