flatbuffers: update to 1.11.0

This commit is contained in:
Issam Maghni 2019-10-10 23:39:17 -04:00 committed by Piotr
parent 8eacca1e00
commit a1f8ae96f4
2 changed files with 8 additions and 27 deletions

View file

@ -1,20 +0,0 @@
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -320,7 +320,7 @@ if(FLATBUFFERS_INSTALL)
install(
TARGETS flatc EXPORT FlatcTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
- CONFIGURATIONS Release
+ CONFIGURATIONS Release RelWithDebInfo
)
install(
@@ -328,7 +328,7 @@ if(FLATBUFFERS_INSTALL)
FILE FlatcTargets.cmake
NAMESPACE flatbuffers::
DESTINATION ${FB_CMAKE_DIR}
- CONFIGURATIONS Release
+ CONFIGURATIONS Release RelWithDebInfo
)
endif()

View file

@ -1,23 +1,24 @@
# Template file for 'flatbuffers'
pkgname=flatbuffers
version=1.10.0
version=1.11.0
revision=1
build_style=cmake
short_desc="Memory Efficient Serialization Library"
maintainer="Elie ROUDNINSKI <xademax@gmail.com>"
license="GPL-3.0-or-later"
license="Apache-2.0"
homepage="https://google.github.io/flatbuffers/"
distfiles="https://github.com/google/${pkgname}/archive/v${version}.tar.gz"
checksum=3714e3db8c51e43028e10ad7adffb9a36fc4aa5b1a363c2d0c4303dd1be59a7c
# prevents building of tests on gcc9
CXXFLAGS="-Wno-error=class-memaccess"
checksum=3f4a286642094f45b1b77228656fbd7ea123964f19502f9ecfd29933fd23a50b
if [ "$CROSS_BUILD" ]; then
# Disable tests to prevent executing target binaries on host
configure_args="-DFLATBUFFERS_BUILD_TESTS=OFF"
configure_args+=" -DFLATBUFFERS_BUILD_TESTS=OFF"
fi
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" -DFLATBUFFERS_LOCALE_INDEPENDENT=0";;
esac
flatbuffers-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"