x11-libs/fltk: use dot-a.eclass

(old 1.3.x has a unconditional filter-lto, so won't bother touching)

Closes: https://bugs.gentoo.org/958298
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-06-17 04:42:54 -04:00
parent c3579e6116
commit c49a4f8976

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit cmake edo xdg
inherit cmake dot-a edo xdg
DESCRIPTION="Fast Light GUI Toolkit"
HOMEPAGE="https://www.fltk.org/"
@@ -74,6 +74,8 @@ src_prepare() {
}
src_configure() {
lto-guarantee-fat
local mycmakeargs=(
-DFLTK_BACKEND_WAYLAND=$(usex wayland)
-DFLTK_BACKEND_X11=$(usex X)
@@ -111,4 +113,6 @@ src_install() {
# currently no option to disable building static libs
use static-libs || rm -- "${ED}"/usr/$(get_libdir)/*.a || die
strip-lto-bytecode
}