aboutsummaryrefslogtreecommitdiffstats
path: root/community/leveldb
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-05-26 20:31:45 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 08:06:52 +0000
commit19d4dca5ec0a596741d1d8b616224cb38a2859b6 (patch)
treebeeda5fef0ecb8307d089c71aca9d7a493fc32e8 /community/leveldb
parent8434c326aad43f262b9ded4b3f5dc553e9dd6471 (diff)
downloadaports-19d4dca5ec0a596741d1d8b616224cb38a2859b6.tar.bz2
aports-19d4dca5ec0a596741d1d8b616224cb38a2859b6.tar.xz
community/leveldb: upgrade to 1.22
- Upgrade - Adopt
Diffstat (limited to 'community/leveldb')
-rw-r--r--community/leveldb/APKBUILD12
-rw-r--r--community/leveldb/fix-cmakelist-soname.patch15
2 files changed, 4 insertions, 23 deletions
diff --git a/community/leveldb/APKBUILD b/community/leveldb/APKBUILD
index cb7a1d0709..ee06793af5 100644
--- a/community/leveldb/APKBUILD
+++ b/community/leveldb/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer:
+# Maintainer: TBK <alpine@jjtc.eu>
pkgname=leveldb
-pkgver=1.21
+pkgver=1.22
pkgrel=0
pkgdesc="A fast and lightweight key/value database library by Google"
url="https://github.com/google/leveldb"
@@ -9,9 +9,7 @@ arch="all"
license="BSD-3-Clause"
makedepends="cmake snappy-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/google/$pkgname/archive/$pkgver.tar.gz
- fix-cmakelist-soname.patch
- "
+source="$pkgname-$pkgver.tar.gz::https://github.com/google/$pkgname/archive/$pkgver.tar.gz"
build() {
mkdir build && cd build
@@ -22,7 +20,6 @@ build() {
-DLEVELDB_BUILD_TESTS=ON \
-DLEVELDB_INSTALL=ON \
-DBUILD_SHARED_LIBS=ON
-
make
}
@@ -38,5 +35,4 @@ package() {
cp -a ../doc "$pkgdir"/usr/share/doc/$pkgname
}
-sha512sums="c76eb7d8749ea811e37839a9b5d424b37ac096e7d01c8f29d810a29e16e8af5a284284845869a7c32de62b740ed6a3e98683a969ff4633dba1980e44b5c03c08 leveldb-1.21.tar.gz
-9aee8cce98559d277340828354c8f767398c16dcdafc445541f32b088e54d2055cf8975621da6a0ecfa74634765bed08d677729682910aecf2d69aeb2ed80309 fix-cmakelist-soname.patch"
+sha512sums="f9bbf5f466e7f707b94e19261762319ea9f65d41911690e84f59098551e2e69beccf756a414d705ade74ee96fd979bdb8b94c171c6f2cc83873cbd4a9380dbab leveldb-1.22.tar.gz"
diff --git a/community/leveldb/fix-cmakelist-soname.patch b/community/leveldb/fix-cmakelist-soname.patch
deleted file mode 100644
index 523114534b..0000000000
--- a/community/leveldb/fix-cmakelist-soname.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Already fixed in master so can be removed with next release (1.21+)
--------------
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -213,6 +213,10 @@
- $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
- )
-+
-+set_target_properties(leveldb
-+ PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
-+
- target_compile_definitions(leveldb
- PRIVATE
- # Used by include/export.h when building shared libraries.