From a1f8ae96f4048535ff3d4c3dd1db7e8829a2afab Mon Sep 17 00:00:00 2001 From: Issam Maghni Date: Thu, 10 Oct 2019 23:39:17 -0400 Subject: [PATCH] flatbuffers: update to 1.11.0 --- srcpkgs/flatbuffers/patches/install.patch | 20 -------------------- srcpkgs/flatbuffers/template | 15 ++++++++------- 2 files changed, 8 insertions(+), 27 deletions(-) delete mode 100644 srcpkgs/flatbuffers/patches/install.patch diff --git a/srcpkgs/flatbuffers/patches/install.patch b/srcpkgs/flatbuffers/patches/install.patch deleted file mode 100644 index 6669eaffaa..0000000000 --- a/srcpkgs/flatbuffers/patches/install.patch +++ /dev/null @@ -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() - diff --git a/srcpkgs/flatbuffers/template b/srcpkgs/flatbuffers/template index d38db2c5b0..d437677c76 100644 --- a/srcpkgs/flatbuffers/template +++ b/srcpkgs/flatbuffers/template @@ -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 " -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}"