git: bd6e5ab3ccf8 - main - multimedia/libopenshot: Add resvg option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Jan 2023 08:31:52 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd6e5ab3ccf890cf333093d002f7313da855e024 commit bd6e5ab3ccf890cf333093d002f7313da855e024 Author: Tatsuki Makino <tatsuki_makino@hotmail.com> AuthorDate: 2023-01-11 08:24:48 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-01-11 08:31:23 +0000 multimedia/libopenshot: Add resvg option - Add resvg (graphics/resvg-capi) build option PR: 268853 --- multimedia/libopenshot/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/multimedia/libopenshot/Makefile b/multimedia/libopenshot/Makefile index 1d0a5ff89bfe..6fd8fa9c29a7 100644 --- a/multimedia/libopenshot/Makefile +++ b/multimedia/libopenshot/Makefile @@ -1,7 +1,7 @@ PORTNAME= libopenshot DISTVERSIONPREFIX= v DISTVERSION= 0.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -27,18 +27,18 @@ USE_GITHUB= yes GH_ACCOUNT= OpenShot USE_LDCONFIG= yes USE_PYTHON= flavors -USE_QT= core gui svg widgets buildtools:build qmake:build +USE_QT= core gui widgets buildtools:build qmake:build CMAKE_ON= USE_SYSTEM_JSONCPP DISABLE_BUNDLED_JSONCPP\ USE_HW_ACCEL ENABLE_PYTHON\ CMAKE_DISABLE_FIND_PACKAGE_Catch2\ - CMAKE_DISABLE_FIND_PACKAGE_Resvg\ CMAKE_DISABLE_FIND_PACKAGE_Ruby CMAKE_OFF= ENABLE_PARALLEL_CTEST VERBOSE_TESTS ENABLE_COVERAGE\ APPIMAGE_BUILD BUILD_TESTING ENABLE_TESTS ENABLE_RUBY -OPTIONS_DEFINE= DOCS IMAGEMAGICK OPENCV +OPTIONS_DEFINE= DOCS IMAGEMAGICK OPENCV RESVG OPTIONS_DEFAULT= IMAGEMAGICK OPENCV OPTIONS_SUB= yes +RESVG_DESC?= SVG vector graphics support via resvg DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_CMAKE_BOOL= ENABLE_LIB_DOCS DOCS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Doxygen @@ -53,6 +53,10 @@ OPENCV_CMAKE_BOOL= ENABLE_OPENCV OPENCV_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenCV\ CMAKE_DISABLE_FIND_PACKAGE_Protobuf OPENCV_CMAKE_ON= -DOpenCV_DIR:STRING=${LOCALBASE:Q}/cmake/opencv4 +RESVG_LIB_DEPENDS= libresvg.so:graphics/resvg-capi +RESVG_USE_OFF= QT=svg +RESVG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Resvg +RESVG_CMAKE_ON= -DRESVGDIR:STRING=${LOCALBASE:Q} .if !exists(/usr/include/omp.h) USES+= compiler:gcc-c++11-lib