capnproto: update to 0.9.1

This commit is contained in:
marmeladema 2021-12-17 11:00:11 +00:00 committed by Érico Nogueira Rolim
parent e1a168ad49
commit 02cd86886d
2 changed files with 30 additions and 20 deletions

View file

@ -2909,14 +2909,15 @@ liblog4cplus-2.0.so.3 log4cplus-2.0.0_1
liblog4cplusU-2.0.so.3 log4cplus-2.0.3_1
libpng12.so.0 libpng12-1.2.56_2
libpng.so.3 libpng12-1.2.56_2
libcapnpc-0.8.0.so capnproto-0.8.0_1
libcapnp-json-0.8.0.so capnproto-0.8.0_1
libcapnp-rpc-0.8.0.so capnproto-0.8.0_1
libcapnp-0.8.0.so capnproto-0.8.0_1
libkj-http-0.8.0.so capnproto-0.8.0_1
libkj-async-0.8.0.so capnproto-0.8.0_1
libkj-test-0.8.0.so capnproto-0.8.0_1
libkj-0.8.0.so capnproto-0.8.0_1
libcapnpc-0.9.1.so capnproto-0.9.1_1
libcapnp-json-0.9.1.so capnproto-0.9.1_1
libcapnp-rpc-0.9.1.so capnproto-0.9.1_1
libcapnp-websocket-0.9.1.so capnproto-0.9.1_1
libcapnp-0.9.1.so capnproto-0.9.1_1
libkj-http-0.9.1.so capnproto-0.9.1_1
libkj-async-0.9.1.so capnproto-0.9.1_1
libkj-test-0.9.1.so capnproto-0.9.1_1
libkj-0.9.1.so capnproto-0.9.1_1
libkea-asiodns.so.12 libkea-1.9.5_2
libkea-asiolink.so.23 libkea-1.9.5_2
libkea-cc.so.22 libkea-1.9.5_2

View file

@ -1,6 +1,6 @@
# Template file for 'capnproto'
pkgname=capnproto
version=0.8.0
version=0.9.1
revision=1
wrksrc="${pkgname}-c++-${version}"
build_style=gnu-configure
@ -10,15 +10,23 @@ maintainer="eater <hello@eaterofco.de>"
license="MIT"
homepage="https://capnproto.org"
distfiles="${homepage}/capnproto-c++-${version}.tar.gz"
checksum=d1f40e47574c65700f0ec98bf66729378efabe3c72bc0cda795037498541c10d
CXXFLAGS="-std=c++14"
checksum=83680aaef8c192b884e38eab418b8482d321af6ae7ab7befa3a9370b8e716aad
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" capnproto-devel"
configure_args+=" --with-external-capnp"
fi
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
# fibers require ucontext and it'd be better to avoid libucontext dependencies
CPPFLAGS="-DKJ_USE_FIBERS=0"
fi
pre_configure() {
autoreconf -vfi
}
@ -34,14 +42,15 @@ capnproto-devel_package() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.la
vmove /usr/lib/libkj.so
vmove /usr/lib/libkj-test.so
vmove /usr/lib/libkj-http.so
vmove /usr/lib/libkj-async.so
vmove /usr/lib/libcapnpc.so
vmove /usr/lib/libcapnp.so
vmove /usr/lib/libcapnp-rpc.so
vmove /usr/lib/libcapnp-json.so
vmove usr/lib/libkj.so
vmove usr/lib/libkj-test.so
vmove usr/lib/libkj-http.so
vmove usr/lib/libkj-async.so
vmove usr/lib/libcapnpc.so
vmove usr/lib/libcapnp.so
vmove usr/lib/libcapnp-rpc.so
vmove usr/lib/libcapnp-json.so
vmove usr/lib/libcapnp-websocket.so
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}