git: 8adfea7d5c0e - main - science/dlib-cpp: add option to be built with the FFMPEG wrappers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Dec 2024 06:06:00 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=8adfea7d5c0e492ae8e0d4f7ef09d7b428567cb6 commit 8adfea7d5c0e492ae8e0d4f7ef09d7b428567cb6 Author: Alexey Donskov <aadonsk4@mts.ru> AuthorDate: 2024-12-18 14:03:44 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-12-19 06:05:37 +0000 science/dlib-cpp: add option to be built with the FFMPEG wrappers Sponsored by: Future Crew, LLC Pull Request: https://github.com/freebsd/freebsd-ports/pull/334 --- science/dlib-cpp/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/science/dlib-cpp/Makefile b/science/dlib-cpp/Makefile index 354225f73a70..bdcd6b364edf 100644 --- a/science/dlib-cpp/Makefile +++ b/science/dlib-cpp/Makefile @@ -1,6 +1,7 @@ PORTNAME= dlib DISTVERSIONPREFIX=v DISTVERSION= 19.24.6 +PORTREVISION= 1 CATEGORIES= science devel math PKGNAMESUFFIX= -cpp @@ -23,10 +24,13 @@ GH_ACCOUNT= davisking CMAKE_ON= BUILD_SHARED_LIBS -OPTIONS_DEFINE= BLASLAPACK +OPTIONS_DEFINE= BLASLAPACK FFMPEG BLASLAPACK_DESC= Use OpenBLAS for matrix operations +FFMPEG_DESC= Build with the FFMPEG wrappers + BLASLAPACK_USES= blaslapack:openblas BLASLAPACK_CMAKE_OFF= -DDLIB_USE_BLAS=0 -DDLIB_USE_LAPACK=0 +FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg .include <bsd.port.mk>