[crux-commits] ports/contrib (3.5): flatbuffers: initial commit, version 1.12.0

crux at crux.nu crux at crux.nu
Sun Jun 7 16:21:38 UTC 2020


commit 799d3a3f446ce80b7ffed3db2c58aad84cdacd4b
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Jun 7 14:02:34 2020 +0000

    flatbuffers: initial commit, version 1.12.0

diff --git a/flatbuffers/.footprint b/flatbuffers/.footprint
new file mode 100644
index 000000000..69259696a
--- /dev/null
+++ b/flatbuffers/.footprint
@@ -0,0 +1,31 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/flatc
+drwxr-xr-x	root/root	usr/include/
+drwxr-xr-x	root/root	usr/include/flatbuffers/
+-rw-r--r--	root/root	usr/include/flatbuffers/base.h
+-rw-r--r--	root/root	usr/include/flatbuffers/code_generators.h
+-rw-r--r--	root/root	usr/include/flatbuffers/flatbuffers.h
+-rw-r--r--	root/root	usr/include/flatbuffers/flatc.h
+-rw-r--r--	root/root	usr/include/flatbuffers/flexbuffers.h
+-rw-r--r--	root/root	usr/include/flatbuffers/grpc.h
+-rw-r--r--	root/root	usr/include/flatbuffers/hash.h
+-rw-r--r--	root/root	usr/include/flatbuffers/idl.h
+-rw-r--r--	root/root	usr/include/flatbuffers/minireflect.h
+-rw-r--r--	root/root	usr/include/flatbuffers/reflection.h
+-rw-r--r--	root/root	usr/include/flatbuffers/reflection_generated.h
+-rw-r--r--	root/root	usr/include/flatbuffers/registry.h
+-rw-r--r--	root/root	usr/include/flatbuffers/stl_emulation.h
+-rw-r--r--	root/root	usr/include/flatbuffers/util.h
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/cmake/
+drwxr-xr-x	root/root	usr/lib/cmake/flatbuffers/
+-rw-r--r--	root/root	usr/lib/cmake/flatbuffers/FlatbuffersConfig.cmake
+-rw-r--r--	root/root	usr/lib/cmake/flatbuffers/FlatbuffersConfigVersion.cmake
+-rw-r--r--	root/root	usr/lib/cmake/flatbuffers/FlatbuffersSharedTargets-noconfig.cmake
+-rw-r--r--	root/root	usr/lib/cmake/flatbuffers/FlatbuffersSharedTargets.cmake
+-rw-r--r--	root/root	usr/lib/cmake/flatbuffers/FlatcTargets-noconfig.cmake
+-rw-r--r--	root/root	usr/lib/cmake/flatbuffers/FlatcTargets.cmake
+lrwxrwxrwx	root/root	usr/lib/libflatbuffers.so -> libflatbuffers.so.1
+lrwxrwxrwx	root/root	usr/lib/libflatbuffers.so.1 -> libflatbuffers.so.1.12.0
+-rwxr-xr-x	root/root	usr/lib/libflatbuffers.so.1.12.0
diff --git a/flatbuffers/.signature b/flatbuffers/.signature
new file mode 100644
index 000000000..aa23f3d6e
--- /dev/null
+++ b/flatbuffers/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF33AyHxW+pP2ndf+RssZWDhPPAlPRJbXk5NMOCdzYn+KQWugsstUZ/GA/h2H8ixdktMTPHvPrYKvgbTuaNmtE0wM=
+SHA256 (Pkgfile) = 8d48d9af4713f4620fbfaa52d62765a0caf56487877510cda77450a85c31f24c
+SHA256 (.footprint) = c3adb3bafa7c6407301f2ccc474178450f514356bd1018f88ae8751011088dc3
+SHA256 (flatbuffers-1.12.0.tar.gz) = 62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45
diff --git a/flatbuffers/Pkgfile b/flatbuffers/Pkgfile
new file mode 100644
index 000000000..66af8c4f9
--- /dev/null
+++ b/flatbuffers/Pkgfile
@@ -0,0 +1,20 @@
+# Description: An efficient cross platform serialization library for C++, with support for Java, C# and Go
+# URL: https://google.github.io/flatbuffers/
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: cmake python3-setuptools
+
+name=flatbuffers
+version=1.12.0
+release=1
+source=(https://github.com/google/flatbuffers/archive/v$version/$name-$version.tar.gz)
+
+build() {
+  cd $name-$version
+  cmake . \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DFLATBUFFERS_BUILD_FLATLIB=OFF \
+    -DFLATBUFFERS_BUILD_SHAREDLIB=ON
+  make
+  make DESTDIR=$PKG install
+}


More information about the crux-commits mailing list