Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : leveldb | name : leveldb | ||||
| version : 1.20 | version : '1.22' | ||||
| release : 3 | release : 4 | ||||
| source : | source : | ||||
| - https://github.com/google/leveldb/archive/v1.20.tar.gz : f5abe8b5b209c2f36560b75f32ce61412f39a2922f7045ae764a2c23335b6664 | - https://github.com/google/leveldb/archive/1.22.tar.gz : 55423cac9e3306f4a9502c738a001e4a339d1a38ffbee7572d4a07d5d63949b2 | ||||
| license : BSD-3-Clause | license : BSD-3-Clause | ||||
| component : programming | component : programming | ||||
| optimize : speed | optimize : speed | ||||
| summary : Fast key-value storage library | summary : Fast key-value storage library | ||||
| description: | | description: | | ||||
| LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. | LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. | ||||
| patterns : | patterns : | ||||
| - devel : /usr/bin/db_bench | - devel : /usr/bin/db_bench | ||||
| builddeps : | builddeps : | ||||
| - snappy-devel | - snappy-devel | ||||
| setup : | | setup : | | ||||
| %patch -p1 < $pkgfiles/Use-Solus-flags.patch | %cmake_ninja -DBUILD_SHARED_LIBS=1 | ||||
JoshStrobl: You remove Peter's patch but didn't remove the file. Are you sure it's using our flags? | |||||
Done Inline ActionsI've recursively ripgrepped the leveldb sources and in any place a modification of the C/C++ flags was shown. YakoYakoYokuYoku: I've recursively ripgrepped the leveldb sources and in any place a modification of the C/C++… | |||||
| build : | | build : | | ||||
| export CXXFLAGS=${CXXFLAGS/-flto/} | %ninja_build | ||||
| %make | |||||
| install : | | install : | | ||||
| install -dm 00755 $installdir/usr/include/leveldb | %ninja_install | ||||
| install -dm 00755 $installdir/usr/lib64 | |||||
| install -dm 00755 $installdir/usr/bin | |||||
| install -Dm 00644 include/leveldb/* $installdir/usr/include/leveldb | |||||
| install -Dm 00644 out-shared/libleveldb* $installdir/usr/lib64 | |||||
| install -Dm 00755 out-static/db_bench $installdir/usr/bin/db_bench | |||||
| check : | | check : | | ||||
| %make check | %ninja_check | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
You remove Peter's patch but didn't remove the file. Are you sure it's using our flags?