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: luv-1.30.1.0
Date: Thu, 19 Sep 2019 23:46:44 +0200	[thread overview]
Message-ID: <20190919214644.qBYqMsJ1Ii3lozEaE1RXBqtMMd1TyznHpUI1Qd1T-SI@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: 469 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: luv-1.30.1.0
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: 2389 bytes --]

From 53cec812d587262b75fc506ec0f77b8f94fa1838 Mon Sep 17 00:00:00 2001
From: andry-dev <peketribal2@gmail.com>
Date: Thu, 19 Sep 2019 23:18:59 +0200
Subject: [PATCH] New package: libluv-1.30.1.0

---
 common/shlibs           |  1 +
 srcpkgs/libluv-devel    |  1 +
 srcpkgs/libluv/template | 37 +++++++++++++++++++++++++++++++++++++
 3 files changed, 39 insertions(+)
 create mode 120000 srcpkgs/libluv-devel
 create mode 100644 srcpkgs/libluv/template

diff --git a/common/shlibs b/common/shlibs
index b5b6086d24f..24ffaac9ed7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3509,3 +3509,4 @@ 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
 libmygpo-qt5.so.1 libmygpo-qt-1.1.0_1
+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..9cc67b6d4e0
--- /dev/null
+++ b/srcpkgs/libluv/template
@@ -0,0 +1,37 @@
+# Template file for 'libluv'
+pkgname=libluv
+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
+			https://raw.githubusercontent.com/luvit/luv/${_distver}/libluv.pc.in"
+checksum="420fc299f3b25aff55b839e9fe590982f45045b3e53ebeab2449eca7e23a106a
+			be2a4909c724e09a50de42b1caa3c82c1b1afee8b80abf20c6944f1df1c7fd0e"
+skip_extraction="libluv.pc.in"
+
+if [ "$CROSS_BUILD" -a "$XBPS_MACHINE" = "x86_64" ]; then
+	hostmakedepends+=" gcc-multilib"
+fi
+
+post_extract() {
+	cp ${XBPS_SRCDISTDIR}/libluv-${version}/libluv.pc.in ${wrksrc}/libluv.pc.in
+}
+
+libluv-devel_package() {
+	depends="${makedepends} libluv>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}

  parent reply	other threads:[~2019-09-19 21:46 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 ` [PR PATCH] [Updated] New package: libluv-1.30.1 voidlinux-github
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 [this message]
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=20190919214644.qBYqMsJ1Ii3lozEaE1RXBqtMMd1TyznHpUI1Qd1T-SI@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).