diff options
author | Tatsuki Makino <tatsuki_makino@hotmail.com> | 2023-01-11 08:24:48 +0000 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2023-01-11 08:31:23 +0000 |
commit | bd6e5ab3ccf890cf333093d002f7313da855e024 (patch) | |
tree | b745aacd1f036289861fe3e7529d9b38b95e3f68 /multimedia/libopenshot | |
parent | ced71bc7dfecbd21aa5b5abeb68e9ae2d5677336 (diff) | |
download | ports-bd6e5ab3ccf890cf333093d002f7313da855e024.tar.gz ports-bd6e5ab3ccf890cf333093d002f7313da855e024.zip |
multimedia/libopenshot: Add resvg option
- Add resvg (graphics/resvg-capi) build option
PR: 268853
Diffstat (limited to 'multimedia/libopenshot')
-rw-r--r-- | multimedia/libopenshot/Makefile | 12 |
1 files 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 |