snappy: bump version.

* SONAME is still 1, but the earlier 1.3.1 is changed to 1.1.7.
Depending packages need a rebuild.
This commit is contained in:
Jerome Duval
2017-09-03 09:56:05 +02:00
parent 79dc04a12d
commit 5f9b885f16

View File

@@ -8,16 +8,16 @@ for most inputs, but the resulting compressed files are anywhere from 20% to \
HOMEPAGE="https://google.github.io/snappy/"
COPYRIGHT="2005-2017 Google Inc"
LICENSE="BSD (3-clause)"
REVISION="2"
SOURCE_URI="https://github.com/google/snappy/releases/download/$portVersion/snappy-$portVersion.tar.gz"
CHECKSUM_SHA256="134bfe122fd25599bb807bb8130e7ba6d9bdb851e0b16efcb83ac4f5d0b70057"
REVISION="1"
SOURCE_URI="https://github.com/google/snappy/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="3dfa02e873ff51a11ee02b9ca391807f0c8ea0529a4924afa645fbf97163f9d4"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
snappy$secondaryArchSuffix = $portVersion compat >= 1
lib:libsnappy$secondaryArchSuffix = 1.3.1 compat >= 1
lib:libsnappy$secondaryArchSuffix = $portVersion compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -25,7 +25,7 @@ REQUIRES="
PROVIDES_devel="
snappy${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libsnappy$secondaryArchSuffix = 1.3.1 compat >= 1
devel:libsnappy$secondaryArchSuffix = $portVersion compat >= 1
"
REQUIRES_devel="
snappy$secondaryArchSuffix == $portVersion base
@@ -35,34 +35,31 @@ BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:autoheader
cmd:automake
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
"
BUILD()
{
runConfigure ./configure
mkdir -p build && cd build
cmake .. $cmakeDirArgs -DBUILD_SHARED_LIBS=ON
make $jobArgs
}
INSTALL()
{
cd build
make install
rm $libDir/libsnappy.la
prepareInstalledDevelLib libsnappy
packageEntries devel \
$developDir
$developDir \
$libDir/cmake
}
TEST()
{
make check
build/snappy_unittest
}