Сравнение weechat-3.8 с weechat-4.0.2

/usr/portage/net-irc/weechat/weechat-4.0.2.ebuild 2023-10-09 14:52:34.468368476 +0300
17 17
		verify-sig? ( https://weechat.org/files/src/${P}.tar.xz.asc )"
18 18
	VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/weechat.org.asc
19 19
	BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-weechat )"
20
	KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv ~x86 ~x64-macos"
20
	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos"
21 21
fi
22 22

  
23 23
DESCRIPTION="Portable and multi-interface IRC client"
......
49 49
	sys-libs/zlib:=
50 50
	net-misc/curl[ssl]
51 51
	charset? ( virtual/libiconv )
52
	guile? ( >=dev-scheme/guile-2.0 )
52
	guile? ( >=dev-scheme/guile-2.0:12= )
53 53
	lua? ( ${LUA_DEPS} )
54 54
	nls? ( virtual/libintl )
55 55
	perl? ( dev-lang/perl:= )
......
58 58
		|| (
59 59
			dev-lang/ruby:3.1
60 60
			dev-lang/ruby:3.0
61
			dev-lang/ruby:2.7
62 61
		)
63 62
	)
64 63
	selinux? ( sec-policy/selinux-irc )
......
82 81

  
83 82
PATCHES=(
84 83
	"${FILESDIR}"/${PN}-3.3-cmake_lua_version.patch
85
	"${FILESDIR}"/${PN}-3.8-gettext-0.22.patch
86 84
)
87 85

  
88 86
DOCS="AUTHORS.adoc ChangeLog.adoc Contributing.adoc ReleaseNotes.adoc README.adoc"
......
108 106
	done
109 107

  
110 108
	# install only required documentation ; en always
111
	for i in $(grep add_subdirectory doc/CMakeLists.txt \
112
			| sed -e 's/.*add_subdirectory(\(..\)).*/\1/' -e '/en/d'); do
113
		if ! has ${i} ${LINGUAS-${i}} ; then
114
			sed -i \
115
				-e '/add_subdirectory('${i}')/d' \
116
				doc/CMakeLists.txt || die
117
		fi
109
	local j
110
	for i in $(grep -e 'set(.*en.*)$' doc/CMakeLists.txt \
111
			| sed -e 's/.*set(\(\w\+\).*/\1/'); do
112
		for j in $(grep set.${i} doc/CMakeLists.txt \
113
				| sed -e "s/.*${i}\(.*\)).*/\1/" -e 's/ en//'); do
114
			if ! has ${j} ${LINGUAS-${j}} ; then
115
				sed -i \
116
					-e "s/\(set(${i}.*\) ${j}/\1/" \
117
					doc/CMakeLists.txt || die
118
			fi
119
		done
118 120
	done
119 121

  
120 122
	# install docs in correct directory
121
	sed -i "s#\${DATAROOTDIR}/doc/\${PROJECT_NAME}#\0-${PVR}/html#" doc/*/CMakeLists.txt || die
123
	sed -i "s#\${DATAROOTDIR}/doc/\${PROJECT_NAME}#\0-${PVR}/html#" doc/CMakeLists.txt || die
122 124

  
123 125
	if [[ ${CHOST} == *-darwin* ]]; then
124 126
		# fix linking error on Darwin
......
140 142
		-DENABLE_ALIAS=$(usex alias)
141 143
		-DENABLE_BUFLIST=$(usex buflist)
142 144
		-DENABLE_CHARSET=$(usex charset)
143
		-DENABLE_DOC=$(usex doc)
145
		# -DENABLE_DOC requires all plugins (except javascript).
146
		# https://github.com/weechat/weechat/blob/v4.0.2/CMakeLists.txt#L144
147
		# Impossible since php was dropped in net-irc/weechat-3.5.r1.ebuild. bug #705702
148
		-DENABLE_DOC=OFF
149
		-DENABLE_DOC_INCOMPLETE=$(usex doc)
144 150
		-DENABLE_ENCHANT=$(usex enchant)
145 151
		-DENABLE_EXEC=$(usex exec)
146 152
		-DENABLE_FIFO=$(usex fifo)
Спасибо!