mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
macvim.org (#2756)
* new file: projects/macvim.org/package.yml * macvim.org * invisible-island.net/ncurses * DYLD_LIBRARY_PATH * DYLD_LIBRARY_PATH * without ncurses * DYLD_LIBRARY_PATH * wip * wip * wip * wip * ncurses * move .app to libexec (so fix-machos fixes it) * libsodium > runtime * well, there can't be any more --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
cf06fcd4a1
commit
3390af6615
2 changed files with 85 additions and 0 deletions
2
projects/macvim.org/commands.vim
Normal file
2
projects/macvim.org/commands.vim
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
:python3 import vim; vim.current.buffer[0] = 'hello python3'
|
||||||
|
:wq
|
83
projects/macvim.org/package.yml
Normal file
83
projects/macvim.org/package.yml
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/macvim-dev/macvim/archive/release-{{version.major}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: macvim-dev/macvim/tags
|
||||||
|
match: /release-\d+/
|
||||||
|
strip:
|
||||||
|
- /^release-/
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- darwin
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
cscope.sourceforge.io: '*'
|
||||||
|
invisible-island.net/ncurses: '*'
|
||||||
|
lua.org: '*'
|
||||||
|
python.org: ^3.11
|
||||||
|
ruby-lang.org: '*'
|
||||||
|
libsodium.org: '*'
|
||||||
|
gnu.org/gettext: '*'
|
||||||
|
|
||||||
|
runtime:
|
||||||
|
env:
|
||||||
|
PYTHONHOME: "{{deps.python.org.prefix}}"
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
gnu.org/make: '*'
|
||||||
|
script:
|
||||||
|
- ./configure $ARGS
|
||||||
|
- make --jobs {{ hw.concurrency }}
|
||||||
|
- run: cp -a $SRCROOT/src/MacVim/build/Release/MacVim.app .
|
||||||
|
working-directory: ${{prefix}}/libexec
|
||||||
|
- run: |
|
||||||
|
for file in {g,m,}{view,vim,vimdiff,vimtutor}; do
|
||||||
|
ln -s ../libexec/MacVim.app/Contents/bin/$file $file
|
||||||
|
done
|
||||||
|
working-directory: ${{prefix}}/bin
|
||||||
|
env:
|
||||||
|
CC: "{{deps.tea.xyz/gx/cc.prefix}}/bin/clang"
|
||||||
|
ARGS:
|
||||||
|
- --with-features=huge
|
||||||
|
- --enable-multibyte
|
||||||
|
- --enable-perlinterp
|
||||||
|
- --enable-rubyinterp
|
||||||
|
- --enable-tclinterp
|
||||||
|
- --enable-terminal
|
||||||
|
- --without-x
|
||||||
|
- --with-compiledby=tea.xyz
|
||||||
|
- --without-local-dir
|
||||||
|
- --enable-cscope
|
||||||
|
- --enable-luainterp
|
||||||
|
- --with-lua-prefix={{deps.lua.org.prefix}}
|
||||||
|
- --enable-luainterp
|
||||||
|
- --enable-python3interp
|
||||||
|
- --disable-sparkle
|
||||||
|
- --disable-gpm
|
||||||
|
- --disable-canberra
|
||||||
|
- --enable-fail-if-missing
|
||||||
|
- --with-macarchs=$(uname -m)
|
||||||
|
- --with-tlib=ncurses
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/gview
|
||||||
|
- bin/gvim
|
||||||
|
- bin/gvimdiff
|
||||||
|
- bin/gvimtutor
|
||||||
|
- bin/mview
|
||||||
|
- bin/mvim
|
||||||
|
- bin/mvimdiff
|
||||||
|
- bin/mvimtutor
|
||||||
|
- bin/view
|
||||||
|
- bin/vim
|
||||||
|
- bin/vimdiff
|
||||||
|
- bin/vimtutor
|
||||||
|
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- mvim --version | grep VIM
|
||||||
|
- mvim -v -T dump -s commands.vim test.txt <<< $'\n'
|
||||||
|
- cat test.txt | grep "hello python3"
|
Loading…
Reference in a new issue