gvim: huge version
This commit is contained in:
parent
aed87f86f2
commit
bbd2b63384
|
@ -0,0 +1 @@
|
|||
../vim/template
|
|
@ -16,7 +16,7 @@ checksum=ca54acea294aa8fb5127a1a8f252fcb9cbecb1632cdf96f842ecd15f4412294b
|
|||
subpackages="xxd vim-common vim-x11 gvim"
|
||||
# XXX vim-huge cannot be cross compiled for now.
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
subpackages+=" vim-huge vim-huge-python3"
|
||||
subpackages+=" vim-huge vim-huge-python3 gvim-huge"
|
||||
fi
|
||||
|
||||
alternatives="vim:vim:/usr/bin/vim-normal"
|
||||
|
@ -72,6 +72,12 @@ do_configure() {
|
|||
--with-features=huge --enable-perlinterp \
|
||||
--disable-pythoninterp --enable-python3interp \
|
||||
--enable-rubyinterp --enable-luainterp
|
||||
|
||||
cd $wrksrc/gvim-huge
|
||||
./configure ${configure_args} ${args} \
|
||||
--enable-gui=gtk2 --with-x --with-vim-name=gvim-huge \
|
||||
--with-features=huge --enable-perlinterp --enable-pythoninterp \
|
||||
--enable-rubyinterp --enable-luainterp --enable-clientserver
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -147,6 +153,21 @@ gvim_package() {
|
|||
rm "$PKGDESTDIR"/usr/share/applications/vim.desktop
|
||||
}
|
||||
}
|
||||
gvim-huge_package() {
|
||||
depends="python vim-common-${version}_${revision} desktop-file-utils hicolor-icon-theme"
|
||||
provides="vim-${version}_${revision}"
|
||||
short_desc+=" - GTK+ GUI - Huge (all features enabled, using Python 2)"
|
||||
alternatives="vim:vim:/usr/bin/gvim-huge"
|
||||
pkg_install() {
|
||||
cd $wrksrc/gvim-huge
|
||||
sed -i "s|/locolor|/hicolor|g" src/Makefile
|
||||
for d in 16 32 48; do
|
||||
install -d ${PKGDESTDIR}/usr/share/icons/hicolor/${d}x${d}/apps
|
||||
done
|
||||
make -C src DESTDIR=${PKGDESTDIR} installvimbin install-icons
|
||||
vmove usr/share/applications/*.desktop
|
||||
}
|
||||
}
|
||||
vim-huge_package() {
|
||||
depends="python vim-common-${version}_${revision}"
|
||||
short_desc+=" - Huge (all features enabled, using Python 2)"
|
||||
|
|
Loading…
Reference in New Issue