mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
3390af6615
* 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>
84 lines
1.9 KiB
YAML
84 lines
1.9 KiB
YAML
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"
|