Github messages for voidlinux
 help / color / mirror / Atom feed
From: renatoaguiar <renatoaguiar@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] thrift: split devel, orphan
Date: Sat, 09 May 2020 02:02:28 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21772@inbox.vuxu.org> (raw)

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

There is a new pull request by renatoaguiar against master on the void-packages repository

https://github.com/renatoaguiar/void-packages thrift
https://github.com/void-linux/void-packages/pull/21772

thrift: split devel, orphan


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

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

From d741f878bbccf8b73258d058c70cf98c8dc7cab2 Mon Sep 17 00:00:00 2001
From: Renato Aguiar <renato@renatoaguiar.net>
Date: Fri, 8 May 2020 17:01:38 -0700
Subject: [PATCH] thrift: split devel, orphan

---
 common/shlibs           |  1 +
 srcpkgs/thrift-devel    |  1 +
 srcpkgs/thrift/template | 18 +++++++++++++++---
 3 files changed, 17 insertions(+), 3 deletions(-)
 create mode 120000 srcpkgs/thrift-devel

diff --git a/common/shlibs b/common/shlibs
index fa8af66f925..6fdd451763b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3875,3 +3875,4 @@ libhidrd_opt.so.0 hidrd-0.2.0_1
 libhidrd_strm.so.0 hidrd-0.2.0_1
 libhidrd_fmt.so.0 hidrd-0.2.0_1
 libjcat.so.1 libjcat-0.1.2_1
+libthrift-0.13.0.so thrift-devel-0.13.0_4
diff --git a/srcpkgs/thrift-devel b/srcpkgs/thrift-devel
new file mode 120000
index 00000000000..7ede8bc0ef9
--- /dev/null
+++ b/srcpkgs/thrift-devel
@@ -0,0 +1 @@
+thrift
\ No newline at end of file
diff --git a/srcpkgs/thrift/template b/srcpkgs/thrift/template
index 068125b377f..752be551552 100644
--- a/srcpkgs/thrift/template
+++ b/srcpkgs/thrift/template
@@ -1,11 +1,12 @@
 # Template file for 'thrift'
 pkgname=thrift
 version=0.13.0
-revision=3
+revision=4
 build_style=gnu-configure
+configure_args="--without-python"
 makedepends="boost-devel libressl-devel"
 short_desc="Apache Thrift compiler"
-maintainer="Renato Aguiar <renato@renag.me>"
+maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://thrift.apache.org/"
 distfiles="http://www-us.apache.org/dist/thrift/${version}/thrift-${version}.tar.gz"
@@ -16,7 +17,7 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 if [ "$CROSS_BUILD" ]; then
-	configure_args="--disable-tests --disable-tutorial"
+	configure_args+=" --disable-tests --disable-tutorial"
 fi
 
 post_configure() {
@@ -27,3 +28,14 @@ post_configure() {
 			;;
 	esac
 }
+
+thrift-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}

             reply	other threads:[~2020-05-09  0:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-09  0:02 renatoaguiar [this message]
2020-05-09  3:46 ` [PR PATCH] [Updated] " renatoaguiar

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21772@inbox.vuxu.org \
    --to=renatoaguiar@users.noreply.github.com \
    --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).