Diff imhangul-2.1.1 with a imhangul-3.1.1

/usr/portage/app-i18n/imhangul/imhangul-3.1.1.ebuild 2023-10-09 14:52:28.760368332 +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="6"
5 5

  
6 6
inherit gnome2-utils toolchain-funcs
7 7

  
8
DESCRIPTION="GTK+ 2 Hangul Input Modules"
8
DESCRIPTION="GTK+ 3 Hangul Input Modules"
9 9
HOMEPAGE="https://github.com/libhangul/imhangul"
10 10
SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.tar.bz2"
11 11

  
12 12
LICENSE="LGPL-2.1"
13
SLOT="0"
13
SLOT="3"
14 14
KEYWORDS="amd64 ppc x86"
15 15
IUSE=""
16 16

  
17 17
RDEPEND="app-i18n/libhangul
18
	x11-libs/gtk+:2
18
	x11-libs/gtk+:3
19 19
	virtual/libintl"
20 20
DEPEND="${RDEPEND}
21 21
	virtual/pkgconfig
......
28 28
}
29 29

  
30 30
src_configure() {
31
	econf --with-gtk-im-module-dir="${EPREFIX}"/usr/$(get_libdir)/gtk-2.0/$($(tc-getPKG_CONFIG) gtk+-2.0 --variable=gtk_binary_version)/immodules
31
	econf --with-gtk-im-module-dir="${EPREFIX}"/usr/$(get_libdir)/gtk-3.0/$($(tc-getPKG_CONFIG) gtk+-3.0 --variable=gtk_binary_version)/immodules
32 32
}
33 33

  
34 34
src_install() {
......
44 44
}
45 45

  
46 46
pkg_postinst() {
47
	gnome2_query_immodules_gtk2
47
	gnome2_query_immodules_gtk3
48 48
	elog
49 49
	elog "If you want to use one of the module as a default input method, "
50 50
	elog
......
54 54
}
55 55

  
56 56
pkg_postrm() {
57
	gnome2_query_immodules_gtk2
57
	gnome2_query_immodules_gtk3
58 58
}
Thank you!