Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions srcpkgs/vim/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'vim'
pkgname=vim
version=9.2.1031
version=9.2.1202
revision=1
create_wrksrc=required
hostmakedepends="gettext glib-devel pkg-config
Expand All @@ -16,7 +16,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Vim"
homepage="https://www.vim.org"
distfiles="https://github.com/vim/vim/archive/refs/tags/v${version}.tar.gz"
checksum=15a2cd025f92593ad6945f906ed0ae93e89b716da99633f80e95b4b6b7bf73dd
checksum=9e97414b85bdcb2d28d5264c65dd730d86b9a75319b005c63da0bc130c715a2f
python_version=3

build_options="x11 gtk3 huge"
Expand All @@ -39,6 +39,10 @@ post_patch() {
# Test_channel_lsp_mode() test fails in CI
vsed -e "/call RunServer('test_channel_lsp.py/d" -i vim-${version}/src/testdir/test_channel.vim
fi
if [ "$XBPS_TARGET_LIBC" = musl ]; then
vsed -i ${wrksrc}/${pkgname}-${version}/src/po/Makefile \
-e 's/-t EUC-JP-MS/-t EUC-JP/'
fi
}

pre_configure() {
Expand Down Expand Up @@ -113,6 +117,9 @@ do_build() {

do_check() {
cd $wrksrc/vim-normal
if [ "$XBPS_TARGET_LIBC" = musl ]; then
export TEST_MAY_FAIL="Test_cmdline_complete_languages,Test_fuzzy_completion_lang,Test_language_cmd,Test_libcall_libcallnr,Test_readdirex_sort,Test_gettext,Test_smoothscroll_marker_over_double_width,Test_termencoding_euc_jp,Test_writefile_fails_conversion"
fi
TERM=xterm make test
}

Expand Down
Loading