diff --git a/protobuf/.footprint b/protobuf/.footprint index 947ad8a90..22780bc63 100644 --- a/protobuf/.footprint +++ b/protobuf/.footprint @@ -1,6 +1,7 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/protoc +lrwxrwxrwx root/root usr/bin/protoc -> protoc-3.21.7.0 +-rwxr-xr-x root/root usr/bin/protoc-3.21.7.0 drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/include/google/ drwxr-xr-x root/root usr/include/google/protobuf/ @@ -100,7 +101,6 @@ drwxr-xr-x root/root usr/include/google/protobuf/io/ -rw-r--r-- root/root usr/include/google/protobuf/port_def.inc -rw-r--r-- root/root usr/include/google/protobuf/port_undef.inc -rw-r--r-- root/root usr/include/google/protobuf/reflection.h --rw-r--r-- root/root usr/include/google/protobuf/reflection_internal.h -rw-r--r-- root/root usr/include/google/protobuf/reflection_ops.h -rw-r--r-- root/root usr/include/google/protobuf/repeated_field.h -rw-r--r-- root/root usr/include/google/protobuf/repeated_ptr_field.h @@ -147,21 +147,23 @@ drwxr-xr-x root/root usr/include/google/protobuf/util/ -rw-r--r-- root/root usr/include/google/protobuf/wrappers.pb.h -rw-r--r-- root/root usr/include/google/protobuf/wrappers.proto drwxr-xr-x root/root usr/lib/ --rw-r--r-- root/root usr/lib/libprotobuf-lite.a --rwxr-xr-x root/root usr/lib/libprotobuf-lite.la -lrwxrwxrwx root/root usr/lib/libprotobuf-lite.so -> libprotobuf-lite.so.32.0.6 -lrwxrwxrwx root/root usr/lib/libprotobuf-lite.so.32 -> libprotobuf-lite.so.32.0.6 --rwxr-xr-x root/root usr/lib/libprotobuf-lite.so.32.0.6 --rw-r--r-- root/root usr/lib/libprotobuf.a --rwxr-xr-x root/root usr/lib/libprotobuf.la -lrwxrwxrwx root/root usr/lib/libprotobuf.so -> libprotobuf.so.32.0.6 -lrwxrwxrwx root/root usr/lib/libprotobuf.so.32 -> libprotobuf.so.32.0.6 --rwxr-xr-x root/root usr/lib/libprotobuf.so.32.0.6 --rw-r--r-- root/root usr/lib/libprotoc.a --rwxr-xr-x root/root usr/lib/libprotoc.la -lrwxrwxrwx root/root usr/lib/libprotoc.so -> libprotoc.so.32.0.6 -lrwxrwxrwx root/root usr/lib/libprotoc.so.32 -> libprotoc.so.32.0.6 --rwxr-xr-x root/root usr/lib/libprotoc.so.32.0.6 +drwxr-xr-x root/root usr/lib/cmake/ +drwxr-xr-x root/root usr/lib/cmake/protobuf/ +-rw-r--r-- root/root usr/lib/cmake/protobuf/protobuf-config-version.cmake +-rw-r--r-- root/root usr/lib/cmake/protobuf/protobuf-config.cmake +-rw-r--r-- root/root usr/lib/cmake/protobuf/protobuf-module.cmake +-rw-r--r-- root/root usr/lib/cmake/protobuf/protobuf-options.cmake +-rw-r--r-- root/root usr/lib/cmake/protobuf/protobuf-targets-release.cmake +-rw-r--r-- root/root usr/lib/cmake/protobuf/protobuf-targets.cmake +lrwxrwxrwx root/root usr/lib/libprotobuf-lite.so -> libprotobuf-lite.so.32 +-rwxr-xr-x root/root usr/lib/libprotobuf-lite.so.3.21.7.0 +lrwxrwxrwx root/root usr/lib/libprotobuf-lite.so.32 -> libprotobuf-lite.so.3.21.7.0 +lrwxrwxrwx root/root usr/lib/libprotobuf.so -> libprotobuf.so.32 +-rwxr-xr-x root/root usr/lib/libprotobuf.so.3.21.7.0 +lrwxrwxrwx root/root usr/lib/libprotobuf.so.32 -> libprotobuf.so.3.21.7.0 +lrwxrwxrwx root/root usr/lib/libprotoc.so -> libprotoc.so.32 +-rwxr-xr-x root/root usr/lib/libprotoc.so.3.21.7.0 +lrwxrwxrwx root/root usr/lib/libprotoc.so.32 -> libprotoc.so.3.21.7.0 drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/protobuf-lite.pc -rw-r--r-- root/root usr/lib/pkgconfig/protobuf.pc diff --git a/protobuf/.signature b/protobuf/.signature index beb3905ff..a3c6c94c7 100644 --- a/protobuf/.signature +++ b/protobuf/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/WHmvQRuryIl/mDxnNtzWIo7au8HIQXjJ2oH9lG0ZIGJUexRaUGlf/zh6XdIr+mbK5E/8afT6HJC9PSXrSElTQs= -SHA256 (Pkgfile) = 6620a920d13e1773a5d6db0058213742c1eb7a816d28015394d19f5f0ec5eae9 -SHA256 (.footprint) = 2f12e0df21fc10b3989bc8f2b5552a456853093ecc9e6006a7ef87e71bc929a4 -SHA256 (protobuf-21.6.tar.gz) = dbb16fdbca8f277c9a194d9a837395cde408ca136738d94743130dd0de015efd +RWSE3ohX2g5d/VTHwwMyq6IHDbD+dWchtfHdJBsG01KErD2/fUJ6ZdmlGBP97Ft8oIqLRVz1G5jY3JaWLjTTGI/pPN379tEcPwU= +SHA256 (Pkgfile) = 72f48f0f6da9e5d8197d75dc8a5ea195d1bc42bbdb60f351a52dd1f9f30db5c5 +SHA256 (.footprint) = 81ad509a255d2605bc4f5c369472cd864e00e4f15eb22ebe8e9bf10d21e5d20a +SHA256 (protobuf-21.7.tar.gz) = 75be42bd736f4df6d702a0e4e4d30de9ee40eac024c4b845d17ae4cc831fe4ae diff --git a/protobuf/Pkgfile b/protobuf/Pkgfile index 521b97047..c9967ef21 100644 --- a/protobuf/Pkgfile +++ b/protobuf/Pkgfile @@ -4,19 +4,21 @@ # Depends on: zlib name=protobuf -version=21.6 +version=21.7 release=1 source=(https://github.com/protocolbuffers/$name/archive/v$version/$name-$version.tar.gz) build() { - cd $name-$version + cmake -S $name-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ + -D protobuf_BUILD_SHARED_LIBS=ON \ + -D protobuf_BUILD_TESTS=OFF \ + -Wno-dev - rm -rf gmock - install -d gmock/gtest - - ./autogen.sh - ./configure --prefix=/usr - - make - make DESTDIR=$PKG install + cmake --build build + DESTDIR=$PKG cmake --install build }