git: fd1baafab6fc - main - misc/ncnn: Update 20220701 -> 20220729
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 04:23:22 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fd1baafab6fcc07776431b26eb32df272efa19a0
commit fd1baafab6fcc07776431b26eb32df272efa19a0
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-03 04:22:08 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-03 04:23:16 +0000
misc/ncnn: Update 20220701 -> 20220729
Reported by: portscout
---
misc/ncnn/Makefile | 8 ++++++--
misc/ncnn/distinfo | 6 +++---
misc/ncnn/pkg-plist | 1 +
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/misc/ncnn/Makefile b/misc/ncnn/Makefile
index 3e4a4fa32524..9fba11e04e01 100644
--- a/misc/ncnn/Makefile
+++ b/misc/ncnn/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ncnn
-DISTVERSION= 20220701
+DISTVERSION= 20220729
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org
@@ -11,11 +11,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libprotobuf.so:devel/protobuf
-USES= cmake compiler:c11
+USES= cmake:testing
+USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= Tencent
+#CMAKE_ON= NCNN_SHARED_LIB NCNN_ENABLE_LTO # NCNN_SHARED_LIB=ON causes variability in the shared library name, see https://github.com/Tencent/ncnn/issues/4234
+CMAKE_TESTING_ON= NCNN_BUILD_TESTS # in order to run tests please disable NCNN_SHARED_LIB above; many tests fail, see https://github.com/Tencent/ncnn/issues/4233
+
OPTIONS_DEFINE= VULKAN
OPTIONS_DEFAULT= VULKAN
diff --git a/misc/ncnn/distinfo b/misc/ncnn/distinfo
index 6c12433202a5..191900aeeb6a 100644
--- a/misc/ncnn/distinfo
+++ b/misc/ncnn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1656816698
-SHA256 (Tencent-ncnn-20220701_GH0.tar.gz) = e222f2ac54cc52ed7b1f6edc83ce4bf8ea1dc729c81f6a1560e4196032ec88ca
-SIZE (Tencent-ncnn-20220701_GH0.tar.gz) = 12220010
+TIMESTAMP = 1664765781
+SHA256 (Tencent-ncnn-20220729_GH0.tar.gz) = fa337dce2db3aea82749633322c3572490a86d6f2e144e53aba03480f651991f
+SIZE (Tencent-ncnn-20220729_GH0.tar.gz) = 12235306
diff --git a/misc/ncnn/pkg-plist b/misc/ncnn/pkg-plist
index c7c590b92693..beacad414c01 100644
--- a/misc/ncnn/pkg-plist
+++ b/misc/ncnn/pkg-plist
@@ -37,3 +37,4 @@ lib/cmake/ncnn/ncnn-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/ncnn/ncnn.cmake
lib/cmake/ncnn/ncnnConfig.cmake
lib/libncnn.a
+libdata/pkgconfig/ncnn.pc