snappy: disable checks requiring bundled gtest dependency

This commit is contained in:
oreo639 2025-03-16 16:29:52 -07:00
parent d7769fe6d7
commit 4e73161431

View file

@ -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 <dem.procopiou@gmail.com>"