Diff gnucash-4.13 with a gnucash-5.1

/usr/portage/app-office/gnucash/gnucash-5.1.ebuild 2023-10-09 14:52:28.832368334 +0300
5 5

  
6 6
# Please bump with app-doc/gnucash-docs
7 7

  
8
PYTHON_COMPAT=( python3_{9..11} )
8
PYTHON_COMPAT=( python3_{9..12} )
9 9

  
10
inherit cmake gnome2-utils python-single-r1 xdg-utils
10
inherit cmake gnome2-utils python-single-r1
11 11

  
12 12
DESCRIPTION="A personal finance manager"
13 13
HOMEPAGE="https://www.gnucash.org/"
......
15 15

  
16 16
LICENSE="GPL-2+"
17 17
SLOT="0"
18
KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv x86"
18
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
19 19

  
20
IUSE="aqbanking debug doc examples keyring +gui mysql nls ofx postgres python quotes register2 smartcard sqlite test"
20
IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres python quotes smartcard sqlite test"
21 21
RESTRICT="!test? ( test )"
22 22

  
23 23
# Examples doesn't build unless GUI is also built
......
40 40
	dev-libs/libxslt
41 41
	aqbanking? (
42 42
		>=net-libs/aqbanking-6[ofx?]
43
		>=sys-libs/gwenhywfar-4.20.0:=
43
		>=sys-libs/gwenhywfar-5.6.0:=
44 44
		smartcard? ( sys-libs/libchipcard )
45 45
	)
46
	keyring? ( >=app-crypt/libsecret-0.18 )
46
	gnome-keyring? ( >=app-crypt/libsecret-0.18 )
47 47
	gui? (
48 48
		>=x11-libs/gtk+-3.22.30:3
49 49
		gnome-base/dconf
......
67 67
	)
68 68
	quotes? (
69 69
		>=dev-perl/Finance-Quote-1.11
70
		dev-perl/Date-Manip
70
		dev-perl/JSON-Parse
71 71
		dev-perl/HTML-TableExtract
72 72
	)
73 73
	sqlite? (
......
99 99
"
100 100

  
101 101
PATCHES=(
102
	"${FILESDIR}/${PN}-3.8-exclude-license.patch"
102
	"${FILESDIR}/${PN}-5.0-exclude-license.patch"
103 103
	"${FILESDIR}/${PN}-4.12-drop-broken-test.patch"
104
	"${FILESDIR}/${PN}-4.13-no-werror.patch"
104
#	"${FILESDIR}/${PN}-4.13-no-werror.patch"
105 105

  
106 106
	# This is only to prevent webkit2gtk-4 from being selected.
107 107
	# https://bugs.gentoo.org/893676
108
	"${FILESDIR}/${P}-webkit2gtk-4.1.patch"
108
	"${FILESDIR}/${PN}-5.0-webkit2gtk-4.1.patch"
109 109
)
110 110

  
111 111
# guile generates ELF files without use of C or machine code
......
153 153
	local mycmakeargs=(
154 154
		-DCOMPILE_GSCHEMAS=OFF
155 155
		-DDISABLE_NLS=$(usex !nls)
156
		-DENABLE_REGISTER2=$(usex register2)
157 156
		-DWITH_AQBANKING=$(usex aqbanking)
157
		-DWITH_GNUCASH=$(usex gui)
158 158
		-DWITH_OFX=$(usex ofx)
159 159
		-DWITH_PYTHON=$(usex python)
160 160
		-DWITH_SQL=${sql_on_off}
161
		-DWITH_GNUCASH=$(usex gui)
162 161
	)
163 162

  
164 163
	cmake_src_configure
Thank you!