Add package snappy-static
Would it be possible to add a package
snappy-static, so that applications can statically link to the snappy library? I believe the following patch would do the trick; please verify.
See here for an example where people are currently working around the missing
snappy-static package in Alpine Linux.
This patch would also address half of #9809.
diff --git a/main/snappy/APKBUILD b/main/snappy/APKBUILD index 3ad4a42437..51e985b6ce 100644 --- a/main/snappy/APKBUILD +++ b/main/snappy/APKBUILD @@ -8,7 +8,7 @@ url="https://google.github.io/snappy/" arch="all" license="BSD-3-Clause" makedepends="cmake" -subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc" +subpackages="$pkgname-static $pkgname-dbg $pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/google/snappy/archive/$pkgver.tar.gz optimize-mips-s390x.patch "