Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: libluv-1.30.1
Date: Mon, 16 Sep 2019 00:39:29 +0200	[thread overview]
Message-ID: <20190915223929.vcawq8ya2U47NAsB5gWOoGHdPO-zyjnNTHi9RUqQM34@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13648@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

There is an updated pull request by andry-dev against master on the void-packages repository

https://github.com/andry-dev/void-packages libluv
https://github.com/void-linux/void-packages/pull/13648

New package: libluv-1.30.1
This PR adds libluv (a Lua wrapper for libuv).
The reasoning for having this is to prepare for Neovim 0.4: it requires this library to build properly.

A patch file from https://github.com/void-linux/void-packages/pull/13648.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libluv-13648.patch --]
[-- Type: text/x-diff, Size: 2740 bytes --]

From 247183e6d1def5f1aa2a00781cbc9d63fbbb32ec Mon Sep 17 00:00:00 2001
From: andry-dev <peketribal2@gmail.com>
Date: Mon, 16 Sep 2019 00:39:01 +0200
Subject: [PATCH] New package: luv-1.30.1.0

---
 common/shlibs                  |  1 +
 srcpkgs/luv-devel              |  1 +
 srcpkgs/luv/files/libluv.pc.in | 12 ++++++++++++
 srcpkgs/luv/template           | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 48 insertions(+)
 create mode 120000 srcpkgs/luv-devel
 create mode 100644 srcpkgs/luv/files/libluv.pc.in
 create mode 100644 srcpkgs/luv/template

diff --git a/common/shlibs b/common/shlibs
index de88e754ae7..ae0c7b287a2 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 luv-1.30.1.0_1
diff --git a/srcpkgs/luv-devel b/srcpkgs/luv-devel
new file mode 120000
index 00000000000..a70af3ea7cc
--- /dev/null
+++ b/srcpkgs/luv-devel
@@ -0,0 +1 @@
+luv
\ No newline at end of file
diff --git a/srcpkgs/luv/files/libluv.pc.in b/srcpkgs/luv/files/libluv.pc.in
new file mode 100644
index 00000000000..d1544f65045
--- /dev/null
+++ b/srcpkgs/luv/files/libluv.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libluv
+Version: @LUV_VERSION@
+Description: Bare and full libuv bindings for Lua/LuaJIT.
+URL: https://github.com/luvit/luv
+
+Libs: -L${libdir} -lluv @LIBS@
+Cflags: -I${includedir}
diff --git a/srcpkgs/luv/template b/srcpkgs/luv/template
new file mode 100644
index 00000000000..3c32777f5a5
--- /dev/null
+++ b/srcpkgs/luv/template
@@ -0,0 +1,34 @@
+# Template file for 'luv'
+pkgname=luv
+version=1.30.1.0
+revision=1
+_distver="${version%.*}-${version##*.}"
+wrksrc=luv-${_distver}
+build_style=cmake
+configure_args="-DLUA_BUILD_TYPE=System -DBUILD_MODULE=OFF -DBUILD_SHARED_LIBS=ON"
+makedepends="libuv-devel LuaJIT-devel"
+depends="lua libuv LuaJIT"
+short_desc="Bare libuv bindings for lua"
+maintainer="andry-dev <peketribal2@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/luvit/luv"
+distfiles="https://github.com/luvit/luv/releases/download/${_distver}/luv-${_distver}.tar.gz"
+checksum="420fc299f3b25aff55b839e9fe590982f45045b3e53ebeab2449eca7e23a106a"
+
+if [ "$CROSS_BUILD" -a "$XBPS_MACHINE" = "x86_64" ]; then
+	hostmakedepends+=" gcc-multilib"
+fi
+
+post_extract() {
+	cp ${FILESDIR}/libluv.pc.in ${wrksrc}/libluv.pc.in
+}
+
+luv-devel_package() {
+	depends="${makedepends} libluv>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove usr/lib/*.so
+	}
+}

       reply	other threads:[~2019-09-15 22:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13648@inbox.vuxu.org>
2019-09-15 22:39 ` voidlinux-github [this message]
2019-09-15 22:39 ` voidlinux-github
2019-09-16 17:15 ` [PR PATCH] [Updated] New package: luv-1.30.1.0 voidlinux-github
2019-09-16 17:15 ` voidlinux-github
2019-09-16 19:42 ` voidlinux-github
2019-09-16 20:06 ` voidlinux-github
2019-09-16 20:08 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-16 20:08 ` voidlinux-github
2019-09-17  7:22 ` voidlinux-github
2019-09-17  8:59 ` voidlinux-github
2019-09-17 20:05 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-17 20:05 ` voidlinux-github
2019-09-19 17:10 ` voidlinux-github
2019-09-19 21:19 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-19 21:19 ` voidlinux-github
2019-09-19 21:22 ` voidlinux-github
2019-09-19 21:33 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-19 21:33 ` voidlinux-github
2019-09-19 21:46 ` voidlinux-github
2019-09-19 21:46 ` voidlinux-github
2019-09-20 17:20 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190915223929.vcawq8ya2U47NAsB5gWOoGHdPO-zyjnNTHi9RUqQM34@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).