app-text/libodfgen: update EAPI 7 -> 8

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-05-08 23:23:20 +02:00
parent dbd59de505
commit 42cc1481b5
2 changed files with 14 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit edo
@@ -31,20 +31,19 @@ BDEPEND="
doc? ( app-text/doxygen )
"
PATCHES=(
"${FILESDIR}"/${PN}-0.1.8-gcc15-cstdint.patch
)
PATCHES=( "${FILESDIR}"/${P}-gcc15-cstdint.patch )
src_prepare() {
default
[[ ${PV} == 9999 ]] && eautoreconf
[[ ${PV} == *9999* ]] && eautoreconf
}
src_configure() {
econf \
--disable-static \
$(use_with doc docs) \
local myeconfargs=(
$(use_with doc docs)
$(use_enable test)
)
econf "${myeconfargs[@]}"
}
src_test() {

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit edo
@@ -10,7 +10,7 @@ if [[ ${PV} == *9999* ]]; then
inherit autotools git-r3
else
SRC_URI="https://downloads.sourceforge.net/libwpd/${P}.tar.xz"
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
fi
DESCRIPTION="Library to generate ODF documents from libwpd and libwpg"
@@ -33,14 +33,15 @@ BDEPEND="
src_prepare() {
default
[[ ${PV} == 9999 ]] && eautoreconf
[[ ${PV} == *9999* ]] && eautoreconf
}
src_configure() {
econf \
--disable-static \
$(use_with doc docs) \
local myeconfargs=(
$(use_with doc docs)
$(use_enable test)
)
econf "${myeconfargs[@]}"
}
src_test() {