From cc9b5ddbdd988423d2c7e7bb9a5840de1bb7e04a Mon Sep 17 00:00:00 2001 From: John Date: Thu, 9 May 2019 18:35:45 +0200 Subject: [PATCH] range-v3: update to 0.5.0. --- srcpkgs/range-v3/template | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/srcpkgs/range-v3/template b/srcpkgs/range-v3/template index 3f14e093cb..8a504d79a0 100644 --- a/srcpkgs/range-v3/template +++ b/srcpkgs/range-v3/template @@ -1,16 +1,24 @@ # Template file for 'range-v3' pkgname=range-v3 -version=0.4.0 +version=0.5.0 revision=1 build_style=cmake -configure_args="-DRANGE_V3_EXAMPLES=OFF -DRANGE_V3_PERF=OFF -DRANGE_V3_TESTS=ON - -DRANGE_BUILD_CALENDAR_EXAMPLE=OFF -DRANGES_NATIVE=OFF" +configure_args="-DRANGE_V3_EXAMPLES=OFF -DRANGES_BUILD_CALENDAR_EXAMPLE=OFF + -DRANGES_NATIVE=OFF" short_desc="Experimental range library for C++11/14/17" maintainer="John " license="BSL-1.0" homepage="https://github.com/ericniebler/range-v3" distfiles="https://github.com/ericniebler/range-v3/archive/${version}.tar.gz" -checksum=5dbc878b7dfc500fb04b6b9f99d63993a2731ea34b0a4b8d5f670a5a71a18e39 +checksum=32e30b3be042246030f31d40394115b751431d9d2b4e0f6d58834b2fd5594280 + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DRANGE_V3_HEADER_CHECKS=ON -DRANGE_V3_TESTS=ON + -DDRANGE_V3_PERF=ON" +else + configure_args+=" -DRANGE_V3_HEADER_CHECKS=OFF -DRANGE_V3_TESTS=OFF + -DDRANGE_V3_PERF=OFF" +fi pre_configure() { sed -i -e '/Werror/d' -e '/Wextra/d' -e '/Wall/d' cmake/ranges_flags.cmake