Diff dvisvgm-2.14-r1 with a dvisvgm-3.0.4

/usr/portage/app-text/dvisvgm/dvisvgm-3.0.4.ebuild 2023-10-09 14:52:28.872368335 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools
7

  
8 6
DESCRIPTION="Converts DVI files to SVG"
9 7
HOMEPAGE="https://dvisvgm.de/"
10 8
SRC_URI="https://github.com/mgieseki/dvisvgm/releases/download/${PV}/${P}.tar.gz"
11 9

  
12
LICENSE="GPL-3"
10
# dvisvgm: GPL-3
11
# Boost (tiny part, one header): Boost-1.0
12
# md5: || ( public-domain BSD-1 )
13
# clipper: Boost-1.0
14
# variant: Boost-1.0
15
LICENSE="GPL-3 Boost-1.0 || ( public-domain BSD-1 )"
13 16
SLOT="0"
14 17
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos"
15 18
IUSE="test"
16

  
17
# Tests don't work from ${WORKDIR}: kpathsea tries to search in relative
18
# directories from where the binary is executed.
19
# We cannot really use absolute paths in the kpathsea configuration since that
20
# would make it harder for prefix installs.
21
RESTRICT="test"
19
RESTRICT="!test? ( test )"
22 20

  
23 21
RDEPEND="
24 22
	>=app-arch/brotli-1.0.5:=
25 23
	app-text/ghostscript-gpl:=
26 24
	dev-libs/kpathsea:=
27
	dev-libs/openssl:=
28 25
	>=dev-libs/xxhash-0.8.1
29 26
	>=media-gfx/potrace-1.10-r1
30 27
	media-libs/freetype:2
......
44 41
"
45 42

  
46 43
PATCHES=(
47
	"${FILESDIR}"/${P}-ghostscript.patch
48
	"${FILESDIR}"/${P}-Add-missing-cstdint-includes-for-GCC-13.patch
49
	"${FILESDIR}"/${PN}-2.14-configure-clang16.patch
50
	"${FILESDIR}"/${PN}-2.14-configure-autoreconf.patch
44
	"${FILESDIR}"/${P}-gcc13.patch
51 45
)
52 46

  
53
src_prepare() {
54
	# Drop once configure patch merged for clang 16
55
	local macro
56
	for macro in ax_check_compile_flag.m4 ax_code_coverage.m4 ax_cxx_compile_stdcxx.m4 ; do
57
		cp "${BROOT}"/usr/share/aclocal/${macro} m4/ || die
58
	done
59

  
60
	default
61
	eautoreconf
62
}
63

  
64 47
src_configure() {
65 48
	local myargs=(
49
		--disable-bundled-libs
66 50
		--without-ttfautohint
67 51
	)
68 52

  
Thank you!