From 4e73161431672d245a8d558f269a74f1ab363cc8 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Sun, 16 Mar 2025 16:29:52 -0700 Subject: [PATCH] snappy: disable checks requiring bundled gtest dependency --- srcpkgs/snappy/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/snappy/template b/srcpkgs/snappy/template index f85fcac828c..875d16fdadf 100644 --- a/srcpkgs/snappy/template +++ b/srcpkgs/snappy/template @@ -3,7 +3,10 @@ pkgname=snappy version=1.1.10 revision=1 build_style=cmake -configure_args="-DBUILD_SHARED_LIBS=1" +# Disable tests and benchmarks requiring bundled gtest dependency. +# Upstream discourages enabling those for packaging: +# https://github.com/google/snappy/pull/132 +configure_args="-DBUILD_SHARED_LIBS=1 -DSNAPPY_BUILD_TESTS=OFF -DSNAPPY_BUILD_BENCHMARKS=OFF" makedepends="zlib-devel lzo-devel gtest-devel benchmark-devel" short_desc="Fast compressor/decompressor library" maintainer="skmpz "