From 78e41891958af62959c72e67a28c9e5345833f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alu=C3=ADsio=20Augusto=20Silva=20Gon=C3=A7alves?= Date: Mon, 16 Sep 2019 15:26:13 -0300 Subject: [PATCH 1/3] New package: libluv-1.30.1.0 --- common/shlibs | 1 + srcpkgs/libluv-devel | 1 + srcpkgs/libluv/template | 40 ++++++++++++++++++++++++++++++++++++++++ srcpkgs/libluv/update | 2 ++ 4 files changed, 44 insertions(+) create mode 120000 srcpkgs/libluv-devel create mode 100644 srcpkgs/libluv/template create mode 100644 srcpkgs/libluv/update diff --git a/common/shlibs b/common/shlibs index d15941dce29..8b77aa45223 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3509,3 +3509,4 @@ libdrumstick-file.so.1 drumstick-1.1.2_1 libdrumstick-alsa.so.1 drumstick-1.1.2_1 libdrumstick-rt.so.1 drumstick-1.1.2_1 libnozzle.so.1 libnozzle1-1.11_2 +libluv.so.1 libluv-1.30.1.0_1 diff --git a/srcpkgs/libluv-devel b/srcpkgs/libluv-devel new file mode 120000 index 00000000000..26d5f9b015d --- /dev/null +++ b/srcpkgs/libluv-devel @@ -0,0 +1 @@ +libluv \ No newline at end of file diff --git a/srcpkgs/libluv/template b/srcpkgs/libluv/template new file mode 100644 index 00000000000..63f4d0ae20b --- /dev/null +++ b/srcpkgs/libluv/template @@ -0,0 +1,40 @@ +# Template file for 'libluv' +pkgname=libluv +_distver=1.30.1 +_patchver=0 +version=${_distver}.${_patchver} +revision=1 +wrksrc="luv-${_distver}-${_patchver}" +build_style=cmake +configure_args="-DWITH_SHARED_LIBUV=ON -DLUA_BUILD_TYPE=System -DWITH_LUA_ENGINE=LuaJIT + -DBUILD_MODULE=OFF -DBUILD_SHARED_LIBS=ON" +makedepends="libuv-devel LuaJIT-devel" +short_desc="Bare libuv bindings for Lua - shared library" +maintainer="Aluísio Augusto Silva Gonçalves " +license="Apache-2.0" +homepage="https://github.com/luvit/luv/" +distfiles="https://github.com/luvit/luv/archive/${_distver}-${_patchver}.tar.gz + https://github.com/keplerproject/lua-compat-5.3/archive/daebe77a2f498817713df37f0bb316db1d82222f.tar.gz" +checksum="751b7d88b05f3d54a0be3ada37a1c7fda31b2ca2f00511bd1d2015db3cf93959 + d215d425c94b2eb1012f418ab3d135c8e0ea667929788e986c22cd04defe596a" + +post_extract() { + cd deps + rmdir lua-compat-5.3 + ln -s ../../lua-compat-5.3-* lua-compat-5.3 +} + +do_test() { + # Tests require luv to be built as a module, not as a library. Skip them. + : +} + +libluv-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc="${short_desc% - *} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +} diff --git a/srcpkgs/libluv/update b/srcpkgs/libluv/update new file mode 100644 index 00000000000..05fb1bd3853 --- /dev/null +++ b/srcpkgs/libluv/update @@ -0,0 +1,2 @@ +version="${_distver}-${_patchver}" +pattern='/archive/\K[\d.-]+(?=\.tar\.gz")' From d35dda8b47f952a707966e0a65c9fee601f2f314 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alu=C3=ADsio=20Augusto=20Silva=20Gon=C3=A7alves?= Date: Mon, 16 Sep 2019 15:26:44 -0300 Subject: [PATCH 2/3] libvterm: update to 0.1. --- srcpkgs/libvterm/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/libvterm/template b/srcpkgs/libvterm/template index 33cd7b58192..03fa38796ff 100644 --- a/srcpkgs/libvterm/template +++ b/srcpkgs/libvterm/template @@ -1,8 +1,8 @@ # Template file for 'libvterm' pkgname=libvterm -version=0.0.20151229 -revision=2 -_commit=04c0777b139cfbddb057c0cbfc007677dd9f1b4f +version=0.1 +revision=1 +_commit=f8ab54cf592b945caaaf2bc397c0da6fc8fb949b wrksrc="${pkgname}-${_commit}" build_style=gnu-makefile make_install_target="install-lib install-inc" @@ -12,7 +12,7 @@ maintainer="Steve Prybylski " license="MIT" homepage="http://www.leonerd.org.uk/code/libvterm" distfiles="https://github.com/neovim/${pkgname}/archive/${_commit}.tar.gz>${pkgname}-${version}.tar.gz" -checksum=01a28630fd46fa78b8c05e6caecc9139ef43bc40ff9f225e634326265dfcd4f4 +checksum=8b4867d915805ead37688c05ab6e82b8b204f78e9a4ffcb3066a4c4d2113e0fb post_extract() { if [ "$CROSS_BUILD" ]; then From 9a4dfa5bd376ccd0de805280fc2d6fb8a2e76213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alu=C3=ADsio=20Augusto=20Silva=20Gon=C3=A7alves?= Date: Mon, 16 Sep 2019 15:27:09 -0300 Subject: [PATCH 3/3] neovim: update to 0.4.2. --- srcpkgs/neovim/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/neovim/template b/srcpkgs/neovim/template index 3132bbe0bfb..8999955d45d 100644 --- a/srcpkgs/neovim/template +++ b/srcpkgs/neovim/template @@ -1,17 +1,18 @@ # Template file for 'neovim' pkgname=neovim -version=0.3.8 +version=0.4.2 revision=1 build_style=cmake configure_args="-DENABLE_JEMALLOC=0" hostmakedepends="pkg-config gperf LuaJIT lua51-lpeg lua51-mpack" -makedepends="libtermkey-devel libuv-devel libvterm-devel msgpack-devel LuaJIT-devel" +makedepends="libtermkey-devel libuv-devel libvterm-devel msgpack-devel LuaJIT-devel + libluv-devel" short_desc="Fork of Vim aiming to improve user experience, plugins and GUIs" maintainer="Steve Prybylski " license="Apache-2.0, custom:Vim" homepage="https://neovim.io" distfiles="https://github.com/neovim/neovim/archive/v${version}.tar.gz" -checksum=953e134568d824dad7cbf32ee3114951732f9a750c462e430e6b593f418af76c +checksum=9f874d3d2a74f33b931db62adebe28f8d2ec116270d1e13998b58a73348b6e56 alternatives=" vi:vi:/usr/bin/nvim