app-text/ocrad: use dot-a.eclass

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

Closes: https://bugs.gentoo.org/958953
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz 2025-08-05 01:03:33 -04:00
parent 49e97f1cef
commit 4750d2ea12
No known key found for this signature in database
GPG Key ID: 84A7D12B700D2F57

View File

@ -3,7 +3,7 @@
EAPI=8
inherit edo unpacker toolchain-funcs
inherit dot-a edo unpacker toolchain-funcs
DESCRIPTION="OCR (Optical Character Recognition) program"
HOMEPAGE="https://www.gnu.org/software/ocrad/ocrad.html"
@ -20,6 +20,7 @@ DEPEND="${RDEPEND}"
BDEPEND="$(unpacker_src_uri_depends)"
src_configure() {
lto-guarantee-fat
# ./configure is not based on autotools
edo ./configure \
CPPFLAGS="${CPPFLAGS}" \
@ -35,6 +36,7 @@ src_compile() {
src_install() {
default
strip-lto-bytecode
doman doc/${PN}.1
doinfo doc/${PN}.info