Diff libwmf-0.2.8.4-r9 with a libwmf-0.2.13-r1

/usr/portage/media-libs/libwmf/libwmf-0.2.13-r1.ebuild 2023-10-09 14:52:31.700368406 +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
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit autotools gnome2-utils
7 7

  
8 8
DESCRIPTION="A library for reading vector images in Microsoft's Windows Metafile Format (WMF)"
9
HOMEPAGE="http://wvware.sourceforge.net/"
10
SRC_URI="mirror://sourceforge/project/wvware/${PN}/${PV}/${P}.tar.gz"
9
HOMEPAGE="https://github.com/caolanm/libwmf http://wvware.sourceforge.net/"
10
SRC_URI="https://github.com/caolanm/libwmf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
11 11

  
12
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
13 12
LICENSE="LGPL-2"
14 13
SLOT="0"
14
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
15 15
IUSE="debug doc expat X"
16 16

  
17
RDEPEND="app-text/ghostscript-gpl
17
RDEPEND="
18
	app-text/ghostscript-gpl
18 19
	media-fonts/urw-fonts
19 20
	media-libs/freetype:2=
20
	media-libs/libpng:0=
21
	media-libs/libpng:=
22
	media-libs/libjpeg-turbo
21 23
	sys-libs/zlib:=
22 24
	x11-libs/gdk-pixbuf:2
23
	virtual/jpeg:0=
24 25
	expat? ( dev-libs/expat )
25 26
	!expat? ( dev-libs/libxml2:2= )
26
	X? ( x11-libs/libX11
27
	X? (
28
		x11-libs/libX11
27 29
		x11-libs/libXt
28
		x11-libs/libXpm )"
29

  
30
		x11-libs/libXpm
31
	)
32
"
30 33
DEPEND="${RDEPEND}"
31 34
BDEPEND="virtual/pkgconfig"
32 35

  
33
DOCS=( "AUTHORS" "BUILDING" "ChangeLog" "CREDITS" "INSTALL" "NEWS" "README" "TODO" )
36
DOCS=( AUTHORS BUILDING ChangeLog CREDITS INSTALL NEWS README TODO )
34 37

  
35 38
PATCHES=(
36
	"${FILESDIR}"/${P}-build.patch
37
	"${FILESDIR}"/${P}-CVE-2015-0848+CVE-2015-4588.patch
38
	"${FILESDIR}"/${P}-CVE-2015-4695.patch
39
	"${FILESDIR}"/${P}-CVE-2015-4696.patch
40
	"${FILESDIR}"/${P}-gdk-pixbuf.patch
41
	"${FILESDIR}"/${P}-intoverflow.patch
42
	"${FILESDIR}"/${P}-libpng-1.5.patch
43
	"${FILESDIR}"/${P}-pngfix.patch
44
	"${FILESDIR}"/${P}-use-freetype2-pkg-config.patch
45
	"${FILESDIR}"/${P}-use-system-fonts.patch
46
	)
39
	"${FILESDIR}"/${PN}-0.2.8.4-build.patch
40
	"${FILESDIR}"/${PN}-0.2.8.4-libpng-1.5.patch
41
	"${FILESDIR}"/${PN}-0.2.8.4-pngfix.patch
42
)
47 43

  
48 44
src_prepare() {
49 45
	default
50 46

  
51
	# Fixes QA warning "This package has a configure.in file which has long been deprecated"
52
	# Since there is already a configure.ac, we don't need the deprecated configure.in
53
	rm configure.in || die
54

  
55
	if ! use doc ; then
56
		sed -i -e 's:doc::' Makefile.am || die
57
	fi
58

  
59 47
	eautoreconf
60 48
}
61 49

  
Thank you!