weechat: rebuild for ruby-3.1.0.

This commit is contained in:
Leah Neukirchen 2021-12-26 17:01:12 +01:00
parent ba02d22147
commit b5ef84e260

View file

@ -1,7 +1,7 @@
# Template file for 'weechat' # Template file for 'weechat'
pkgname=weechat pkgname=weechat
version=3.4 version=3.4
revision=1 revision=2
build_style=cmake build_style=cmake
configure_args="-DENABLE_MAN=ON -DENABLE_PERL=ON configure_args="-DENABLE_MAN=ON -DENABLE_PERL=ON
-DENABLE_LUA=ON -DENABLE_RUBY=ON -DENABLE_SPELL=ON -DENABLE_LUA=ON -DENABLE_RUBY=ON -DENABLE_SPELL=ON
@ -32,6 +32,10 @@ if [ "$CROSS_BUILD" ]; then
-DPERL_LFLAGS=-L$_perlpath" -DPERL_LFLAGS=-L$_perlpath"
fi fi
post_extract() {
vsed -i '/pkg_search_module/s/ruby-3.0/ruby-3.1 &/' cmake/FindRuby.cmake
}
weechat-aspell_package() { weechat-aspell_package() {
lib32disabled=yes lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"