Search Criteria
Package Details: snappy-git 1.1.10_r345.g27f34a5-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/snappy-git.git (read-only, click to copy) |
---|---|
Package Base: | snappy-git |
Description: | A fast compressor/decompressor library |
Upstream URL: | https://github.com/google/snappy |
Licenses: | BSD |
Conflicts: | snappy |
Provides: | snappy |
Submitter: | GreenRaccoon23 |
Maintainer: | IslandC0der |
Last Packager: | IslandC0der |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2015-07-08 09:14 (UTC) |
Last Updated: | 2023-07-16 20:54 (UTC) |
Dependencies (6)
- benchmark (make)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gtest (googletest-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR) (check)
Required by (244)
- activinspire (requires snappy)
- apifox (requires snappy)
- avro-c (requires snappy)
- avro-cpp (requires snappy) (make)
- bitshares-wallet-bin (requires snappy)
- bittly (requires snappy)
- bsf-git (requires snappy)
- caterva (requires snappy)
- cef (requires snappy)
- ceph (requires snappy) (make)
- ceph-base (requires snappy) (make)
- ceph-bin (requires snappy)
- ceph-cephadm (requires snappy) (make)
- ceph-cephfs (requires snappy) (make)
- ceph-cli (requires snappy) (make)
- ceph-cluster (requires snappy) (make)
- ceph-common (requires snappy) (make)
- ceph-compressor (requires snappy) (make)
- ceph-compressor (requires snappy)
- ceph-crypto (requires snappy) (make)
- Show 224 more...
Latest Comments
EndlessEden commented on 2021-08-21 00:42 (UTC)
updated and tested PKGBUILD: https://gist.github.com/EndlessEden/bc53a5cfb802aac9728f9d85dde4b5b0
EndlessEden commented on 2021-08-20 23:37 (UTC) (edited on 2021-08-21 00:39 (UTC) by EndlessEden)
cmake replaced autoconf for the build system. - Needs snappy.pc from arch packaging
conflicts=("${pkgname%-*}" "${pkgname}") checkdepends=('zlib') makedepends=('git' 'benchmark-git') provides=("$pkgname" 'snappy')
source=($pkgname::"git+https://github.com/google/${pkgname%-*}.git" "https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/snappy/trunk/snappy.pc" "system_gtest.patch::https://github.com/google/snappy/commit/114df35e84ad95b6d5afbcf69aa85a14ff029000.patch" "fix_inline.patch::https://gist.githubusercontent.com/EndlessEden/9bf6e8554c9490762bffa9e08d5b1aef/raw/927d24f468d346a7b6b795785c2074f4bb39d719/fix_inline.patch")
md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')
sha256sums=('SKIP' 'd210ff4d3ffe9a987b974a8387d967af66a93bf90d72fedce94a2159d937813e' 'ca96fd9e72f35ea63af82f19ff1ca93441bf5ea6b3f53ef4b974e83c249d8e3e' '9840c787881205eabddb811e09187214b5d5b72c56a3f12e324075ec661393dd')
pkgver() { cd "$srcdir"/"$pkgname" ( set -o pipefail git describe --long --tags 2>/dev/null | sed 's/([^-]*-g)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" ) }
prepare() { cd "$srcdir"/"$pkgname" patch -p1 < ../system_gtest.patch # https://github.com/google/snappy/pull/132 patch -p1 snappy.cc < ../fix_inline.patch # https://github.com/google/snappy/pull/128 }
build() { cd $srcdir"/"$pkgname"
# compile without assertions CXXFLAGS+=\ -DNDEBUG
cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_BUILD_TYPE=RELEASE \ -DBUILD_SHARED_LIBS=ON \ -DSNAPPY_USE_BUNDLED_GTEST=OFF \ -DSNAPPY_USE_BUNDLED_BENCHMARK_LIB=OFF \ .
make }
package() { cd $srcdir"/"$pkgname"
make DESTDIR="$pkgdir" install install -m644 -D COPYING "$pkgdir/usr/share/licenses/snappy/LICENSE"
# upstream dropped the pkgconfig file and isn't interested in adding it back. # https://github.com/google/snappy/pull/55 install -Dm644 "$srcdir/snappy.pc" "$pkgdir/usr/lib/pkgconfig/snappy.pc" }