Diff gtkspell-2.0.16-r1 with a gtkspell-3.0.10

/usr/portage/app-text/gtkspell/gtkspell-3.0.10.ebuild 2020-04-13 19:39:00.000000000 +0300
1 1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=6
5 5

  
6
inherit eutils
6
inherit gnome2 vala
7 7

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

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

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

  
25
DOCS=( AUTHORS ChangeLog README ) # NEWS file is empty
34
S="${WORKDIR}/${MY_P}"
26 35

  
27 36
src_prepare() {
28
	default
29

  
30
	# Fix intltoolize broken file, see upstream #577133
31
	sed -i -e "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" po/Makefile.in.in || die
37
	use vala && vala_src_prepare
38
	gnome2_src_prepare
32 39
}
33 40

  
34 41
src_configure() {
35
	econf --disable-static --disable-gtk-doc
36
}
37

  
38
src_install() {
39
	default
40
	find "${D}" -name '*.la' -type f -delete || die
42
	gnome2_src_configure \
43
		--disable-static \
44
		$(use_enable introspection) \
45
		$(use_enable vala)
41 46
}
Thank you!