commit: 1e88c9903fb99952a78572cfc41cbc780c1107ff
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue May 6 16:18:39 2025 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue May 6 17:40:28 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e88c990
app-text/qpdf: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO.
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
app-text/qpdf/qpdf-12.1.0.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/app-text/qpdf/qpdf-12.1.0.ebuild b/app-text/qpdf/qpdf-12.1.0.ebuild
index 80ca83e18909..8a95070f1f09 100644
--- a/app-text/qpdf/qpdf-12.1.0.ebuild
+++ b/app-text/qpdf/qpdf-12.1.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake shell-completion verify-sig
+inherit cmake dot-a shell-completion verify-sig
DESCRIPTION="Command-line tool for structural, content-preserving
transformation of PDF files"
HOMEPAGE="
@@ -64,6 +64,7 @@ src_unpack() {
}
src_configure() {
+ lto-guarantee-fat
local crypto_provider=$(usex gnutls GNUTLS OPENSSL)
local crypto_provider_lowercase=${crypto_provider,,}
@@ -92,6 +93,7 @@ src_install() {
fi
cmake_src_install
+ strip-lto-bytecode
# Completions
dobashcomp completions/bash/qpdf