Diff putty-0.78 with a putty-9999

/usr/portage/net-misc/putty/putty-9999.ebuild 2023-10-09 14:52:34.676368481 +0300
17 17
LICENSE="MIT"
18 18

  
19 19
SLOT="0"
20
IUSE="debug doc +gtk gssapi"
20
IUSE="debug doc +gtk gtk2 gssapi"
21 21

  
22 22
RDEPEND="
23 23
	!net-misc/pssh
24 24
	gtk? (
25 25
		dev-libs/glib:2
26 26
		x11-libs/gdk-pixbuf
27
		x11-libs/gtk+:3[X]
28 27
		x11-libs/libX11
29 28
		x11-libs/pango
29
		gtk2? ( x11-libs/gtk+:2 )
30
		!gtk2? ( x11-libs/gtk+:3[X] )
30 31
	)
31 32
	gssapi? ( virtual/krb5 )
32 33
"
......
39 40
	doc? ( app-doc/halibut )
40 41
"
41 42

  
43
REQUIRED_USE="
44
	gtk2? ( gtk )
45
"
46

  
42 47
src_unpack() {
43 48
	[[ ${PV} == *9999 ]] && git-r3_src_unpack
44 49
	default
......
49 54
	local mycmakeargs=(
50 55
		-DPUTTY_DEBUG="$(usex debug)"
51 56
		-DPUTTY_GSSAPI="$(usex gssapi DYNAMIC OFF)"
52
		-DPUTTY_GTK_VERSION=$(usex gtk 3 '')
57
		-DPUTTY_GTK_VERSION=$(usex gtk $(usex gtk2 2 3 ) '')
53 58
		-DPUTTY_IPV6=yes
54 59
	)
55 60
	cmake_src_configure
Thank you!