# HG changeset patch # User Hans-G?nter Theisgen # Date 1677330854 -3600 # Node ID a207ae6fc9cd83e6ec0a9b6a93f511424be4687e # Parent 97ca3cd2cfe48e2d8d435650b5d795890e249a58 created recipe for neovim-0.8.3 diff -r 97ca3cd2cfe4 -r a207ae6fc9cd neovim/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/neovim/description.txt Sat Feb 25 14:14:14 2023 +0100 @@ -0,0 +1,7 @@ +Neovim is a refactor, and sometimes redactor, +in the tradition of Vim (which itself derives from Stevie). +It is not a rewrite but a continuation and extension of Vim. +Many clones and derivatives exist, some very clever - +but none are Vim. +Neovim is built for users who want the good parts of Vim, +and more. diff -r 97ca3cd2cfe4 -r a207ae6fc9cd neovim/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/neovim/receipt Sat Feb 25 14:14:14 2023 +0100 @@ -0,0 +1,50 @@ +# SliTaz package receipt. + +PACKAGE="neovim" +VERSION="0.8.3" +CATEGORY="editors" +TAGS="text-editor" +SHORT_DESC="Vim-fork focused on extensibility and usability." +MAINTAINER="maintainer@slitaz.org" +LICENSE="Apache 2.0" +WEB_SITE="https://neovim.io/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" + +SUGGESTED="lua5.1" +DEPENDS="libluv libtermkey libuv libvterm luajit msgpack tree-sitter + unibilium" +BUILD_DEPENDS="cmake gettext gettext-tools libluv-dev libtermkey-dev + libuv-dev libvterm-dev lua5.1-lpeg lua5.1-mpack luajit-dev + msgpack-dev ninja tree-sitter-dev unibilium-dev" + +CONFIG_FILES="/usr/share/nvim/sysinit.vim" + +# Rules to configure and make the package. +compile_rules() +{ + export LDFLAGS="$LDFLAGS -lrt" + # without, cmake does not find sys/wait.h ! + + cmake -B _build \ + -G Ninja \ + -D CMAKE_BUILD_TYPE=MinSizeRel \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D ENABLE_JEMALLOC=FALSE \ + -D ENABLE_LIBICONV=FALSE \ + -D ENABLE_LIBINTL=FALSE \ + -D ENABLE_LTO=TRUE \ + -D CMAKE_VERBOSE_MAKEFILE=TRUE && + cmake --build _build + DESTDIR="$DESTDIR" cmake --install _build +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders bin + cook_copy_folders icons + cook_copy_folders runtime +}