Diff gtkspell-2.0.16-r2 with a gtkspell-3.0.10-r1

/usr/portage/app-text/gtkspell/gtkspell-3.0.10-r1.ebuild 2023-10-09 14:52:28.876368335 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit gnome2 vala
7

  
8
MY_P="${PN}3-${PV}"
9

  
6 10
DESCRIPTION="Spell checking widget for GTK"
7 11
HOMEPAGE="http://gtkspell.sourceforge.net/"
8
# gtkspell doesn't use sourceforge mirroring system it seems.
9
SRC_URI="http://${PN}.sourceforge.net/download/${P}.tar.gz"
12
SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${MY_P}.tar.xz"
13
S="${WORKDIR}/${MY_P}"
10 14

  
11 15
LICENSE="GPL-2+"
12
SLOT="2"
16
SLOT="3/0"
13 17
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
18
IUSE="+introspection vala"
19
REQUIRED_USE="vala? ( introspection )"
14 20

  
15 21
RDEPEND="
16
	x11-libs/gtk+:2
17
	>=app-text/enchant-1.1.6:0"
22
	app-text/enchant:2
23
	app-text/iso-codes
24
	dev-libs/glib:2
25
	x11-libs/gtk+:3[introspection?]
26
	>=x11-libs/pango-1.8.0[introspection?]
27
	introspection? ( >=dev-libs/gobject-introspection-1.30:= )"
18 28
DEPEND="${RDEPEND}"
19 29
BDEPEND="
20
	dev-util/gtk-doc-am
30
	>=dev-util/gtk-doc-am-1.17
21 31
	>=dev-util/intltool-0.35.0
22
	virtual/pkgconfig"
23

  
24
src_prepare() {
25
	default
26

  
27
	# Fix intltoolize broken file, see upstream #577133
28
	sed -i -e "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" po/Makefile.in.in || die
29
}
32
	virtual/pkgconfig
33
	vala? ( $(vala_depend) )"
30 34

  
31 35
src_configure() {
32
	econf --disable-gtk-doc
33
}
36
	use vala && vala_setup
34 37

  
35
src_install() {
36
	default
37
	find "${ED}" -name '*.la' -type f -delete || die
38
	gnome2_src_configure \
39
		$(use_enable introspection) \
40
		$(use_enable vala)
38 41
}
Thank you!