* [PR PATCH] thrift: split devel, orphan
@ 2020-05-09 0:02 renatoaguiar
2020-05-09 3:46 ` [PR PATCH] [Updated] " renatoaguiar
0 siblings, 1 reply; 2+ messages in thread
From: renatoaguiar @ 2020-05-09 0:02 UTC (permalink / raw)
To: ml
[-- 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
+ }
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Updated] thrift: split devel, orphan
2020-05-09 0:02 [PR PATCH] thrift: split devel, orphan renatoaguiar
@ 2020-05-09 3:46 ` renatoaguiar
0 siblings, 0 replies; 2+ messages in thread
From: renatoaguiar @ 2020-05-09 3:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
There is an updated 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: 1740 bytes --]
From 816266c28e2d404c00f74ab82b077438c5d9d0ed 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
---
srcpkgs/thrift-devel | 1 +
srcpkgs/thrift/template | 18 +++++++++++++++---
2 files changed, 16 insertions(+), 3 deletions(-)
create mode 120000 srcpkgs/thrift-devel
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
+ }
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-09 3:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09 0:02 [PR PATCH] thrift: split devel, orphan renatoaguiar
2020-05-09 3:46 ` [PR PATCH] [Updated] " renatoaguiar
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).