Diff libmspub-0.1.4 with a libmspub-9999

/usr/portage/app-text/libmspub/libmspub-9999.ebuild 2026-06-18 19:41:04.164387632 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=8
4
EAPI=9
5 5

  
6 6
inherit autotools flag-o-matic
7 7

  
8
if [[ ${PV} = *9999 ]]; then
8
if [[ ${PV} = *9999* ]]; then
9 9
	EGIT_REPO_URI="https://git.libreoffice.org/libmspub.git"
10 10
	inherit git-r3
11 11
else
12 12
	SRC_URI="https://dev-www.libreoffice.org/src/libmspub/${P}.tar.xz"
13
	KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
13
	KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
14 14
fi
15 15
DESCRIPTION="Library parsing Microsoft Publisher documents"
16 16
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libmspub"
17 17

  
18 18
LICENSE="LGPL-2.1"
19 19
SLOT="0"
20
IUSE="doc static-libs"
20
IUSE="doc"
21 21

  
22 22
RDEPEND="
23 23
	dev-libs/icu:=
......
33 33
	doc? ( app-text/doxygen )
34 34
"
35 35

  
36
PATCHES=(
37
	# upstream backport
38
	"${FILESDIR}/${P}-gcc10.patch"
39
	# manually backported
40
	"${FILESDIR}/${P}-gcc15.patch"
41
)
42

  
43 36
src_prepare() {
44 37
	default
45 38
	[[ -d m4 ]] || mkdir "m4"
......
55 48
	local myeconfargs=(
56 49
		--disable-werror
57 50
		$(use_with doc docs)
58
		$(use_enable static-libs static)
59 51
	)
60 52
	econf "${myeconfargs[@]}"
61 53
}
Thank you!