mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
efc0546600
Some checks failed
ci/gh-actions/guix / x86_64-linux-gnu.pack (push) Has been cancelled
ci/gh-actions/guix / x86_64-linux-gnu (push) Has been cancelled
ci/gh-actions/guix / x86_64-w64-mingw32.installer (push) Has been cancelled
ci/gh-actions/guix / x86_64-w64-mingw32 (push) Has been cancelled
ci/gh-actions/build / build-ubuntu-without-scanner (push) Has been cancelled
ci/gh-actions/guix / cache-sources (push) Has been cancelled
ci/gh-actions/guix / bundle-logs (push) Has been cancelled
ci/gh-actions/guix / arm64-apple-darwin (push) Has been cancelled
ci/gh-actions/guix / riscv64-linux-gnu (push) Has been cancelled
ci/gh-actions/guix / x86_64-apple-darwin (push) Has been cancelled
ci/gh-actions/guix / x86_64-linux-gnu.no-tor-bundle (push) Has been cancelled
ci/gh-actions/guix / codesigning (map[target:x86_64-w64-mingw32.installer]) (push) Has been cancelled
ci/gh-actions/guix / codesigning (map[target:x86_64-w64-mingw32]) (push) Has been cancelled
ci/gh-actions/guix / aarch64-linux-gnu (push) Has been cancelled
ci/gh-actions/guix / arm-linux-gnueabihf (push) Has been cancelled
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
package=native_protobuf
|
|
$(package)_version=29.1
|
|
$(package)_download_path=https://github.com/protocolbuffers/protobuf/releases/download/v$($(package)_version)
|
|
$(package)_file_name=protobuf-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=3d32940e975c4ad9b8ba69640e78f5527075bae33ca2890275bf26b853c0962c
|
|
$(package)_dependencies=native_abseil
|
|
|
|
define $(package)_set_vars
|
|
$(package)_cxxflags+=-std=c++17
|
|
$(package)_config_opts=-Dprotobuf_BUILD_TESTS=OFF
|
|
$(package)_config_opts+=-Dprotobuf_ABSL_PROVIDER=package
|
|
$(package)_config_opts+=-Dprotobuf_BUILD_SHARED_LIBS=OFF
|
|
$(package)_config_opts+=-Dprotobuf_WITH_ZLIB=OFF
|
|
endef
|
|
|
|
define $(package)_preprocess_cmds
|
|
rm -rf examples docs php/src/GPBMetadata compatibility objectivec/Tests csharp/keys php/tests src/google/protobuf/testdata csharp/src/Google.Protobuf.Test
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_cmake)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm -rf lib64
|
|
endef
|